Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml
 Wed Dec 12 17:20:31 2012
@@ -119,7 +119,7 @@ public function setup( responseDelay:int
        </setup>
        <body>
                <SetProperty target="obj1.alv" 
propertyName="createFailedItemFunction" valueExpression="value = 
FlexGlobals.topLevelApplication.obj1.errorFunction3" />
-               <AssertMethodValue method="try{ 
FlexGlobals.topLevelApplication.obj1.items.failPage(); } catch(e:Error) { value 
= e.message; }" value="Error #1063: Argument count mismatch on 
assets::PagedDataComp1/errorFunction3(). Expected 0, got 2." />
+               <AssertMethodValue method="try{ 
FlexGlobals.topLevelApplication.obj1.items.failPage(); } catch(e:Error) { value 
= e.message; }" errorArray="['Error #1063:', 
'assets::PagedDataComp1/errorFunction3()', '0', '2']" />
        </body>
 </TestCase>
 
@@ -130,7 +130,7 @@ public function setup( responseDelay:int
        </setup>
        <body>
                <SetProperty target="obj1.alv" 
propertyName="createFailedItemFunction" valueExpression="value = 
FlexGlobals.topLevelApplication.obj1.errorFunction4" />
-               <AssertMethodValue method="try{ 
FlexGlobals.topLevelApplication.obj1.items.failPage(); } catch(e:Error) { value 
= e.message; }" value="Error #1063: Argument count mismatch on 
assets::PagedDataComp1/errorFunction4(). Expected 1, got 2." />
+               <AssertMethodValue method="try{ 
FlexGlobals.topLevelApplication.obj1.items.failPage(); } catch(e:Error) { value 
= e.message; }" errorArray="['Error #1063:', 
'assets::PagedDataComp1/errorFunction4()', '1', '2']" />
        </body>
 </TestCase>
 

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,25 +20,25 @@
 <UnitTester testDir="resources/Locale/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" testSWF="LocaleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.Locale;
-               
+
                public var locale:Locale;
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" testID="Locale_country_is_read_only" 
description="Confirm that 'country' property of Locale is read-only" 
keywords="[resources,Locale,country]">
@@ -47,7 +47,7 @@
                        </setup>
                        <body>
                                <SetProperty target="script:locale" 
propertyName="country" value="DE"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property country on mx.resources.Locale."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'country', 'mx.resources.Locale']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,25 +20,25 @@
 <UnitTester testDir="resources/Locale/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" testSWF="LocaleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.Locale;
-               
+
                public var locale:Locale;
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" testID="Locale_language_is_read_only" 
description="Confirm that 'language' property of Locale is read-only" 
keywords="[resources,Locale,language]">
@@ -47,7 +47,7 @@
                        </setup>
                        <body>
                                <SetProperty target="script:locale" 
propertyName="language" value="de"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property language on mx.resources.Locale."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'language', 'mx.resources.Locale']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,25 +20,25 @@
 <UnitTester testDir="resources/Locale/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" testSWF="LocaleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.Locale;
-               
+
                public var locale:Locale;
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" testID="Locale_variant_is_read_only" 
description="Confirm that 'variant' property of Locale is read-only" 
keywords="[resources,Locale,variant]">
@@ -47,7 +47,7 @@
                        </setup>
                        <body>
                                <SetProperty target="script:locale" 
propertyName="variant" value="MAC"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property variant on mx.resources.Locale."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'variant', 'mx.resources.Locale']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,19 +20,19 @@
 <UnitTester testDir="resources/ResourceBundle/Methods/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
testSWF="ResourceBundleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                public function testGetBooleanError(key:String):String
                {
                        try
@@ -45,14 +45,14 @@
                        }
                        return null;
                }
-       
+
                public function testGetBoolean(key:String, 
expectedValue:Boolean):Boolean
                {
                        return application.resourceBundle.getBoolean(key) === 
expectedValue;
                }
 
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_NO_SUCH_KEY" description="Tests that the 
getBoolean() method of ResourceBundle throws an Error when accessing a 
non-existent resource" keywords="[resources,ResourceBundle,getBoolean]">
@@ -135,7 +135,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_STRING_TRUE_UPPERCASE" description="Tests the 
getBoolean() method of ResourceBundle for a resource value which is the String 
'TRUE'" keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -145,7 +145,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_STRING_FALSE_LOWERCASE" description="Tests 
the getBoolean() method of ResourceBundle for a resource value which is the 
String 'false'" keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -155,7 +155,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_STRING_FALSE_MIXEDCASE" description="Tests 
the getBoolean() method of ResourceBundle for a resource value which is the 
String 'False'" keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -165,7 +165,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_STRING_FALSE_UPPERCASE" description="Tests 
the getBoolean() method of ResourceBundle for a resource value which is the 
String 'FALSE'" keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -215,7 +215,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_STRING_FIXEDPOINT" description="Tests the 
getBoolean() method of ResourceBundle for a resource value which is the String 
rep of a typical fractional Number" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -246,7 +246,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_UNDEFINED" description="Tests the 
getBoolean() method of ResourceBundle for a resource value which is undefined" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -264,7 +264,7 @@
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('TRUE')" value="TypeError: Error #1006: value 
is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('TRUE')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -301,14 +301,14 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_POSITIVE_INTEGER" description="Tests the 
getBoolean() method of ResourceBundle for a resource value which is a typical 
positive integer" keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('POSITIVE_INTEGER')" value="TypeError: Error 
#1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('POSITIVE_INTEGER')" errorArray="['TypeError: 
Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -319,7 +319,7 @@
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('NEGATIVE_INTEGER')" value="TypeError: Error 
#1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('NEGATIVE_INTEGER')" errorArray="['TypeError: 
Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -330,55 +330,55 @@
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('FIXEDPOINT')" value="TypeError: Error #1006: 
value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('FIXEDPOINT')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_FLOATINGPOINT" description="Tests the 
getBoolean() method of ResourceBundle for a resource value which is a typical 
fractional Number in exponential notation" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('FLOATINGPOINT')" value="TypeError: Error 
#1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('FLOATINGPOINT')" errorArray="['TypeError: 
Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_CLASS" description="Tests the getBoolean() 
method of ResourceBundle for a resource value which is a Class reference" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('CLASS')" value="TypeError: Error #1006: 
toLowerCase is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('CLASS')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_ARRAY" description="Tests the getBoolean() 
method of ResourceBundle for a resource value which is an Array of Strings" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('ARRAY')" value="TypeError: Error #1006: 
toLowerCase is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('ARRAY')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getBoolean_OBJECT" description="Tests the getBoolean() 
method of ResourceBundle for a resource value which is a plain Object" 
keywords="[resources,ResourceBundle,getBoolean]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
                                <!-- See Note 2 below -->
-                               <AssertMethodValue 
method="value=testGetBooleanError('OBJECT')" value="TypeError: Error #1006: 
toLowerCase is not a function."/>
+                               <AssertMethodValue 
method="value=testGetBooleanError('OBJECT')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
        </testCases>
 
        <!--

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,19 +20,19 @@
 <UnitTester testDir="resources/ResourceBundle/Methods/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
testSWF="ResourceBundleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                public function testGetStringArrayError(key:String):String
                {
                        try
@@ -45,7 +45,7 @@
                        }
                        return null;
                }
-       
+
                public function testGetStringArray(key:String, 
expectedValue:Array):Boolean
                {
                        var a1:Array = 
application.resourceBundle.getStringArray(key);
@@ -53,7 +53,7 @@
 
                        var n1:int = a1.length;
                        var n2:int = a2.length;
-                       
+
                        if (n1 != n2)
                                return false;
 
@@ -67,7 +67,7 @@
                }
 
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_NO_SUCH_KEY" description="Tests that the 
getStringArray() method of ResourceBundle throws an Error when accessing a 
non-existent resource" keywords="[resources,ResourceBundle,getStringArray]">
@@ -150,7 +150,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_STRING_TRUE_UPPERCASE" description="Tests 
the getStringArray() method of ResourceBundle for a resource value which is the 
String 'TRUE'" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -160,7 +160,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_STRING_FALSE_LOWERCASE" 
description="Tests the getStringArray() method of ResourceBundle for a resource 
value which is the String 'false'" 
keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -170,7 +170,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_STRING_FALSE_MIXEDCASE" 
description="Tests the getStringArray() method of ResourceBundle for a resource 
value which is the String 'False'" 
keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -180,7 +180,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_STRING_FALSE_UPPERCASE" 
description="Tests the getStringArray() method of ResourceBundle for a resource 
value which is the String 'FALSE'" 
keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -230,7 +230,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_STRING_FIXEDPOINT" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is the 
String rep of a typical fractional Number" 
keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -261,7 +261,7 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_UNDEFINED" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is 
undefined" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
@@ -278,7 +278,7 @@
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('TRUE')" value="TypeError: Error #1006: 
value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('TRUE')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -315,13 +315,13 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_POSITIVE_INTEGER" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is a 
typical positive integer" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('POSITIVE_INTEGER')" value="TypeError: 
Error #1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('POSITIVE_INTEGER')" 
errorArray="['TypeError: Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -331,7 +331,7 @@
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('NEGATIVE_INTEGER')" value="TypeError: 
Error #1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('NEGATIVE_INTEGER')" 
errorArray="['TypeError: Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
@@ -341,51 +341,51 @@
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('FIXEDPOINT')" value="TypeError: Error 
#1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('FIXEDPOINT')" errorArray="['TypeError: 
Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_FLOATINGPOINT" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is a 
typical fractional Number in exponential notation" 
keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('FLOATINGPOINT')" value="TypeError: Error 
#1006: value is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('FLOATINGPOINT')" 
errorArray="['TypeError: Error #1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_CLASS" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is a Class 
reference" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('CLASS')" value="TypeError: Error #1006: 
split is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('CLASS')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_ARRAY" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is an 
Array of Strings" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('ARRAY')" value="TypeError: Error #1006: 
split is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('ARRAY')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_getStringArray_OBJECT" description="Tests the 
getStringArray() method of ResourceBundle for a resource value which is a plain 
Object" keywords="[resources,ResourceBundle,getStringArray]">
                        <setup>
                                <RunCode code="application.setup()"/>
                        </setup>
                        <body>
-                               <AssertMethodValue 
method="value=testGetStringArrayError('OBJECT')" value="TypeError: Error #1006: 
split is not a function."/>
+                               <AssertMethodValue 
method="value=testGetStringArrayError('OBJECT')" errorArray="['TypeError: Error 
#1006:']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
        </testCases>
 
        <!--

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,31 +20,31 @@
 <UnitTester testDir="resources/ResourceBundle/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
testSWF="ResourceBundleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.IResourceBundle;
                import mx.resources.ResourceBundle;
-               
+
                public var resourceBundle:IResourceBundle;
 
                public function setup():void
                {
                        resourceBundle = new ResourceBundle("qa_QA", 
"myResources");
                }
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" 
testID="ResourceBundle_bundleName_set_by_constructor" description="Confirms 
that the 'bundleName' property of ResourceBundle is properly set by 
constructor" keywords="[resources,ResourceBundle,bundleName,constructor]">
@@ -56,14 +56,14 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_bundleName_is_readonly" description="Confirms that the 
'bundleName' property of ResourceBundle is readonly" 
keywords="[resources,ResourceBundle,bundleName,readonly]">
                        <setup>
                                <RunCode code="setup()"/>
                        </setup>
                        <body>
                                <SetProperty target="script:resourceBundle" 
propertyName="bundleName" value="yourResources"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property bundleName on 
mx.resources.ResourceBundle."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'mx.resources.ResourceBundle']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,31 +20,31 @@
 <UnitTester testDir="resources/ResourceBundle/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
testSWF="ResourceBundleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.IResourceBundle;
                import mx.resources.ResourceBundle;
-               
+
                public var resourceBundle:IResourceBundle;
 
                public function setup():void
                {
                        resourceBundle = new ResourceBundle("qa_QA", 
"myResources");
                }
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" 
testID="ResourceBundle_content_set_by_constructor" description="Confirms that 
the 'content' property of ResourceBundle is properly set by constructor" 
keywords="[resources,ResourceBundle,content,constructor]">
@@ -57,14 +57,14 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_content_is_readonly" description="Confirms that the 
'content' property of ResourceBundle is readonly" 
keywords="[resources,ResourceBundle,content,readonly]">
                        <setup>
                                <RunCode code="setup()"/>
                        </setup>
                        <body>
                                <SetProperty target="script:resourceBundle" 
propertyName="content" value="foo"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property content on 
mx.resources.ResourceBundle."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'mx.resources.ResourceBundle']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml
 Wed Dec 12 17:20:31 2012
@@ -20,31 +20,31 @@
 <UnitTester testDir="resources/ResourceBundle/Properties/"  
xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
testSWF="ResourceBundleApp.mxml">
 
        <!-- this set of lines form a template that must be in each unit test 
-->
-       
+
        <mx:Script><![CDATA[
                public static function init(o:DisplayObject):void{}
        ]]></mx:Script>
 
        <mx:Metadata><![CDATA[
                [Mixin]
-       ]]></mx:Metadata>       
-       
+       ]]></mx:Metadata>
+
        <!-- end of set of lines that must be in each unit test -->
-       
+
        <mx:Script><![CDATA[
-       
+
                import mx.resources.IResourceBundle;
                import mx.resources.ResourceBundle;
-               
+
                public var resourceBundle:IResourceBundle;
 
                public function setup():void
                {
                        resourceBundle = new ResourceBundle("qa_QA", 
"myResources");
                }
-       
+
        ]]></mx:Script>
-       
+
        <testCases>
 
                <TestCase frequency="all" 
testID="ResourceBundle_locale_set_by_constructor" description="Confirms that 
the 'locale' property of ResourceBundle is properly set by constructor" 
keywords="[resources,ResourceBundle,locale,constructor]">
@@ -56,14 +56,14 @@
                                <Pause timeout="1"/>
                        </body>
                </TestCase>
-               
+
                <TestCase frequency="all" 
testID="ResourceBundle_locale_is_readonly" description="Confirms that the 
'locale' property of ResourceBundle is readonly" 
keywords="[resources,ResourceBundle,locale,readonly]">
                        <setup>
                                <RunCode code="setup()"/>
                        </setup>
                        <body>
                                <SetProperty target="script:resourceBundle" 
propertyName="locale" value="xy_XY"/>
-                               <AssertError value="ReferenceError: Error 
#1074: Illegal write to read-only property locale on 
mx.resources.ResourceBundle."/>
+                               <AssertError errorArray="['ReferenceError: 
Error #1074:', 'locale', 'mx.resources.ResourceBundle']"/>
                                <Pause timeout="1"/>
                        </body>
                </TestCase>

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml
 Wed Dec 12 17:20:31 2012
@@ -36,11 +36,11 @@
 
             [Mixin]
 
-        ]]></mx:Metadata>   
+        ]]></mx:Metadata>
 
     <!-- end of set of lines that must be in each unit test -->
 
-    
+
 
     <mx:Script><![CDATA[
 
@@ -68,25 +68,25 @@
 
                 <RunCode code="application.doAddResourceBundle('fr_FR', 
'bundle1')" />
 
-                <RunCode 
code="ResourceManager.getInstance().localeChain=['fr_FR']" />                
+                <RunCode 
code="ResourceManager.getInstance().localeChain=['fr_FR']" />
 
             </setup>
 
             <body>
 
-                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1')" 
/>    
+                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1')" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="0" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getLocales().length" value="0" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().localeChain.toString()" 
value="fr_FR" />    
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().localeChain.toString()" 
value="fr_FR" />
 
             </body>
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_1Locale3Bundles_Remove1st" 
description="Use removeResourceBundle() to remove the 1st of three bundles for 
a locale." keywords="[Runtime 
Localization,ResourceManager,removeResourceBundle]" >
 
@@ -104,7 +104,7 @@
 
             <body>
 
-                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1')" 
/>    
+                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1')" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="2" />
 
@@ -118,7 +118,7 @@
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_1Locale3Bundles_Remove2nd" 
description="Use removeResourceBundle() to remove the 2nd of three bundles for 
a locale." keywords="[Runtime 
Localization,ResourceManager,removeResourceBundle]" >
 
@@ -136,7 +136,7 @@
 
             <body>
 
-                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle2')" 
/>    
+                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle2')" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="2" />
 
@@ -150,7 +150,7 @@
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_1Locale3Bundles_Remove3rd" 
description="Use removeResourceBundle() to remove the 3rd of three bundles for 
a locale." keywords="[Runtime 
Localization,ResourceManager,removeResourceBundle]" >
 
@@ -168,7 +168,7 @@
 
             <body>
 
-                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle3')" 
/>    
+                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle3')" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="2" />
 
@@ -182,7 +182,7 @@
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_3LocalesVariousBundles_RemoveOnlyBundleFromOne"
 description="Be sure removeResourceBundle() removes from the correct locale 
when there are several." keywords="[Runtime 
Localization,ResourceManager,removeResourceBundle]" >
 
@@ -220,7 +220,7 @@
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle1_jaJP')
 != -1" value="true" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle2_jaJP')
 != -1" value="true" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle2_jaJP')
 != -1" value="true" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').length"
 value="3" />
 
@@ -228,13 +228,13 @@
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle2_deDE')
 != -1" value="true" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle3_deDE')
 != -1" value="true" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle3_deDE')
 != -1" value="true" />
 
             </body>
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_3LocalesVariousBundles_RemoveOneOfSeveralFromOne"
 description="Be sure removeResourceBundle() removes from the correct locale 
when there are several." keywords="[Runtime 
Localization,ResourceManager,removeResourceBundle]" >
 
@@ -268,7 +268,7 @@
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getLocales().indexOf('fr_FR') != 
-1" value="true" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="1" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="1" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').indexOf('bundle1_frFR')
 != -1" value="true" />
 
@@ -276,21 +276,21 @@
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle1_jaJP')
 != -1" value="true" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle2_jaJP')
 != -1" value="true" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('ja_JP').indexOf('bundle2_jaJP')
 != -1" value="true" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').length"
 value="2" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle1_deDE')
 != -1" value="true" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle2_deDE')"
 value="-1" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle2_deDE')"
 value="-1" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle3_deDE')
 != -1" value="true" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('de_DE').indexOf('bundle3_deDE')
 != -1" value="true" />
 
             </body>
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_NonexistantBundle" 
description="Call removeResourceBundle() for a nonexistant bundle." 
keywords="[Runtime Localization,ResourceManager,removeResourceBundle]" >
 
@@ -304,17 +304,17 @@
 
             <body>
 
-                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle2')" 
/>    
+                <RunCode 
code="ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle2')" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="1" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR')[0]"
 value="bundle1" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR')[0]"
 value="bundle1" />
 
             </body>
 
         </TestCase>
 
-        
+
 
         <TestCase frequency="all" 
testID="ResourceManager_removeResourceBundle_NonexistantLocale" 
description="Call removeResourceBundle() for a nonexistant locale." 
keywords="[Runtime Localization,ResourceManager,removeResourceBundle]" >
 
@@ -328,19 +328,19 @@
 
             <body>
 
-                <AssertMethodValue method="try{ 
ResourceManager.getInstance().removeResourceBundle('aa_BB', 'bundle1'); } 
catch(e:Error){ value=e.message; }" value="Error #1010: A term is undefined and 
has no properties." />
+                <AssertMethodValue method="try{ 
ResourceManager.getInstance().removeResourceBundle('aa_BB', 'bundle1'); } 
catch(e:Error){ value=e.message; }" errorArray="['Error #1010:']" />
 
                 <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR').length"
 value="1" />
 
-                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR')[0]"
 value="bundle1" />        
+                <AssertMethodValue 
method="value=ResourceManager.getInstance().getBundleNamesForLocale('fr_FR')[0]"
 value="bundle1" />
 
             </body>
 
         </TestCase>
 
-        
 
-        <!-- 
+
+        <!--
 
             Call this mainly to be sure something crazy doesn't happen.
 
@@ -356,7 +356,7 @@
 
             <body>
 
-                <AssertMethodValue method="try{ 
ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1'); } 
catch(e:Error){ value=e.message; }" value="Error #1010: A term is undefined and 
has no properties." />
+                <AssertMethodValue method="try{ 
ResourceManager.getInstance().removeResourceBundle('fr_FR', 'bundle1'); } 
catch(e:Error){ value=e.message; }" errorArray="['Error #1010:']" />
 
             </body>
 

Modified: 
incubator/flex/sdk/branches/develop/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml
URL: 
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml?rev=1420842&r1=1420841&r2=1420842&view=diff
==============================================================================
--- 
incubator/flex/sdk/branches/develop/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml
 (original)
+++ 
incubator/flex/sdk/branches/develop/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml
 Wed Dec 12 17:20:31 2012
@@ -17,30 +17,30 @@
   limitations under the License.
 
 -->
-<UnitTester testDir="spark/formatters/NumberFormatter/Fallback/"  
-                       xmlns:mx="http://www.adobe.com/2006/mxml"; 
-                       xmlns:s="library://ns.adobe.com/flex/spark" 
-                       xmlns="*" 
+<UnitTester testDir="spark/formatters/NumberFormatter/Fallback/"
+                       xmlns:mx="http://www.adobe.com/2006/mxml";
+                       xmlns:s="library://ns.adobe.com/flex/spark"
+                       xmlns="*"
                        testSWF="NF_Fallback_parseNumber.mxml">
-       
+
        <mx:Script>
                <![CDATA[
                        import assets.NFConstants;
-                       
+
                        public static function init(o:DisplayObject):void
                        {
-                               
+
                        }
                ]]>
        </mx:Script>
-       
+
        <mx:Metadata>
                <![CDATA[
                [Mixin]
                ]]>
        </mx:Metadata>
-       
-       
+
+
        <testCases>
                <TestCase testID="NF_Fallback_parseNumber_inline_test1" 
description="using inline NumberFormatter instance to parse normal number 
string " keywords="[NumberFormatter, parseNumber]">
                        <setup>
@@ -54,13 +54,13 @@
                                <AssertPropertyValue  target="nf_inline" 
propertyName="lastOperationStatus" value="noError"/>
                        </body>
                </TestCase>
-               
+
                <TestCase testID="NF_Fallback_parseNumber_inline_test2" 
description="using inline NumberFormatter instance to parse normal number 
string with white space" keywords="[NumberFormatter, parseNumber]">
                        <setup>
                                <ResetComponent target="nf_inline" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf_inline.initialized(null,'nf_inline')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf_inline)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
@@ -79,7 +79,7 @@
                                <ResetComponent target="nf_inline" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf_inline.initialized(null,'nf_inline')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf_inline)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
@@ -100,26 +100,26 @@
                                <AssertPropertyValue  target="nf_inline" 
propertyName="lastOperationStatus" value="parseError"/>
                        </body>
                </TestCase>
-               
+
                <TestCase testID="NF_Fallback_parseNumber_inline_test4" 
description="using inline NumberFormatter instance to parse null string" 
keywords="[NumberFormatter, parseNumber]">
                        <setup>
                                <ResetComponent target="nf_inline" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf_inline.initialized(null,'nf_inline')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf_inline)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.testTypeError(application.nf_inline)" />
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
                        <body>
                                <AssertPropertyValue target="nf_inline" 
propertyName="lastOperationStatus" value="noError"/>
                                <AssertPropertyValue propertyName="text" 
target="testError"
-                                                                        
value="TypeError: Error #1009: Cannot access a property or method of a null 
object reference."/>
+                                                                        
errorArray="['TypeError: Error #1009:']"/>
                        </body>
                </TestCase>
-               
+
                <TestCase testID="NF_Fallback_parseNumber_script_test5" 
description="using script NumberFormatter instance to parse normal number 
string " keywords="[NumberFormatter, parseNumber]">
                        <setup>
                                <RunCode 
code="application.addStyleClient(application.nf)"/>
@@ -134,13 +134,13 @@
                                <AssertPropertyValue  target="nf" 
propertyName="lastOperationStatus" value="noError"/>-->
                        </body>
                </TestCase>
-               
+
                <TestCase testID="NF_Fallback_parseNumber_script_test6" 
description="using script NumberFormatter instance to parse normal number 
string with white space" keywords="[NumberFormatter, parseNumber]">
                        <setup>
                                <ResetComponent target="nf" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf.initialized(null,'nf')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
@@ -153,13 +153,13 @@
                                <AssertPropertyValue  target="nf" 
propertyName="lastOperationStatus" value="noError"/>
                        </body>
                </TestCase>
-               
+
                <TestCase testID="NF_Fallback_parseNumber_scirpt_test7" 
description="using scirpt NumberFormatter instance to parse invalid string" 
keywords="[NumberFormatter, parseNumber]">
                        <setup>
                                <ResetComponent target="nf" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf.initialized(null,'nf')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
@@ -186,19 +186,19 @@
                                <ResetComponent target="nf" 
className="assets.FallbackNF"/>
                                <RunCode 
code="application.nf.initialized(null,'nf')"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.addStyleClient(application.nf)"/>
                                <Pause timeout="{NFConstants.pauseTime}"/>
-                               
+
                                <RunCode 
code="application.testTypeError(application.nf)" />
                                <Pause timeout="{NFConstants.pauseTime}"/>
                        </setup>
                        <body>
                                <AssertPropertyValue target="nf" 
propertyName="lastOperationStatus" value="noError"/>
                                <AssertPropertyValue propertyName="text" 
target="testError"
-                                                                        
value="TypeError: Error #1009: Cannot access a property or method of a null 
object reference."/>
+                                                                        
errorArray="['TypeError: Error #1009:']"/>
                        </body>
                </TestCase>
-               
+
        </testCases>
 </UnitTester>


Reply via email to