You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2012/12/19 19:26:47 UTC

svn commit: r1424002 [5/7] - in /incubator/flex/sdk/branches/release4.9: ./ mustella/as3/src/mustella/ mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/ mustella/tests/Managers/Style...

Modified: incubator/flex/sdk/branches/release4.9/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/mx/collections/AsyncListView/properties/AsyncListView_createFailedItemFunction.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_country.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_language.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/Locale/Properties/Locale_Properties_variant.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getBoolean.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Methods/ResourceBundle_Methods_getStringArray.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_bundleName.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_content.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceBundle/Properties/ResourceBundle_Properties_locale.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_loadResourceModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_loadResourceModule.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_loadResourceModule.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_loadResourceModule.mxml Wed Dec 19 18:26:44 2012
@@ -208,11 +208,11 @@ General approach:
                 <RunCode code="ed4=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_enUS_bundle1_004.swf')" />
                 <RunCode code="ed4.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed4.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <RunCode code="ed5=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom2/resMod_loadResourceModule_enUS_bundle1_005.swf')" />
                 <RunCode code="ed5.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed5.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().length" value="1" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales()[0]" value="en_US" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1','SHUTDOWN')" value="Shut down" />
@@ -231,11 +231,11 @@ General approach:
                 <RunCode code="ed6=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_enUS_bundle1_006.swf')" />
                 <RunCode code="ed6.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed6.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <RunCode code="ed7=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_frFR_bundle2.swf')" />
                 <RunCode code="ed7.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed7.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().length" value="2" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('en_US') != -1" value="true" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('fr_FR') != -1" value="true" />
@@ -255,11 +255,11 @@ General approach:
                 <RunCode code="ed9=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_enUS_bundle1_007.swf')" />
                 <RunCode code="ed9.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed9.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <RunCode code="ed10=ResourceManager.getInstance().loadResourceModule('assets/bundles/custom/resMod_loadResourceModule_enUS,frFR,jaJP_bundles1,2,3.swf')" />
                 <RunCode code="ed10.addEventListener(ResourceEvent.ERROR, handleErrorEvent)" />
                 <RunCode code="ed10.addEventListener(ResourceEvent.COMPLETE, handleCompleteEvent)" />
-				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="1000" />
+				<WaitForEvent target="mx.resources::ResourceManager.getInstance()" eventName="change" timeout="2000" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().length" value="3" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('en_US') != -1" value="true" />
                 <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('fr_FR') != -1" value="true" />

Modified: incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/Methods/ResourceManager_Methods_removeResourceBundle.mxml Wed Dec 19 18:26:44 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/release4.9/mustella/tests/resources/ResourceManager/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/SWFs/pre_compile.sh?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/SWFs/pre_compile.sh (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/resources/ResourceManager/SWFs/pre_compile.sh Wed Dec 19 18:26:44 2012
@@ -41,19 +41,19 @@ cp bundles/framework/resMod_events_001.s
 cp bundles/framework/resMod_events_001.swf bundles/framework/resMod_events_003.swf
 
 echo "Compiling resource module SWFs for loadResourceModule..."
-$SDK_DIR/bin/mxmlc -locale=en_US -source-path=bundles/custom/{locale} -include-resource-bundles bundle1 -o bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf
+$SDK_DIR/bin/mxmlc -locale=en_US -static-rsls=true -source-path=bundles/custom/{locale} -include-resource-bundles bundle1 -o bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundle1_002.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundle1_003.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundle1_004.swf
-$SDK_DIR/bin/mxmlc -locale=en_US -source-path=bundles/custom2/{locale} -include-resource-bundles bundle1 -o bundles/custom2/resMod_loadResourceModule_enUS_bundle1_005.swf
+$SDK_DIR/bin/mxmlc -locale=en_US -static-rsls=true -source-path=bundles/custom2/{locale} -include-resource-bundles bundle1 -o bundles/custom2/resMod_loadResourceModule_enUS_bundle1_005.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundle1_006.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundle1_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundle1_007.swf
 
 $SDK_DIR/bin/mxmlc -locale=en_US -source-path=bundles/custom/{locale} -include-resource-bundles bundle2 -o bundles/custom/resMod_loadResourceModule_enUS_bundle2.swf
 $SDK_DIR/bin/mxmlc -locale=en_US -source-path=bundles/custom/{locale} -include-resource-bundles bundle1 bundle2 bundle3 -o bundles/custom/resMod_loadResourceModule_enUS_bundles1,2,3_001.swf
 cp bundles/custom/resMod_loadResourceModule_enUS_bundles1,2,3_001.swf bundles/custom/resMod_loadResourceModule_enUS_bundles1,2,3_002.swf
-$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=fr_FR -static-rsls=true -source-path=bundles/custom/{locale} -include-resource-bundles bundle2 -o bundles/custom/resMod_loadResourceModule_frFR_bundle2.swf
-$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=en_US,fr_FR,ja_JP -static-rsls=true -source-path=bundles/custom/{locale} -include-resource-bundles bundle1 bundle2 bundle3 -o bundles/custom/resMod_loadResourceModule_enUS,frFR,jaJP_bundles1,2,3.swf
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -static-rsls=true -locale=fr_FR -source-path bundles/custom/{locale} bundles/framework/{locale} -include-resource-bundles bundle2 collections containers controls core effects formatters logging SharedResources skins states styles validators components layout sparkEffects -o bundles/custom/resMod_loadResourceModule_frFR_bundle2.swf
+$SDK_DIR/bin/mxmlc -locale=en_US,fr_FR,ja_JP -static-rsls=true -source-path=bundles/custom/{locale} -include-resource-bundles bundle1 bundle2 bundle3 -o bundles/custom/resMod_loadResourceModule_enUS,frFR,jaJP_bundles1,2,3.swf
 $SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=ja_JP -static-rsls=true -source-path=bundles/framework/{locale} -include-resource-bundles collections containers controls core effects formatters logging SharedResources skins states styles validators components layout sparkEffects -o bundles/framework/resMod_loadResourceModule_jaJP_framework.swf
 
 $SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=ja_JP,fr_FR,de_DE -source-path=bundles/framework/{locale} -include-resource-bundles collections containers controls core effects formatters logging SharedResources skins states styles validators components layout sparkEffects -o bundles/framework/resMod_loadResourceModule_jaJP,frFR,deDE_framework_001.swf

Modified: incubator/flex/sdk/branches/release4.9/mustella/tests/spark/collections/Sort/Properties/SF_Sort_fields_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/spark/collections/Sort/Properties/SF_Sort_fields_tester.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/spark/collections/Sort/Properties/SF_Sort_fields_tester.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/spark/collections/Sort/Properties/SF_Sort_fields_tester.mxml Wed Dec 19 18:26:44 2012
@@ -145,7 +145,7 @@
                 <ResetComponent target="uiCustomListComp" className="newComps.CustomListComp" waitEvent="updateComplete" waitTarget="uiCustomListComp"/>
                 <SetStyle target="uiCustomListComp.mySort" styleName="locale" valueExpression="value=''"/>
                 <SetProperty target="uiCustomListComp" propertyName="listDataProvider" valueExpression="value=application.uiCustomListComp.dataComp.myAddressStrArr"/>
-                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="en"/>
+                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="{flash.system.Capabilities.language}"/>
                 <SetProperty target="uiCustomListComp.listDataProvider" propertyName="sort" valueExpression="value=application.uiCustomListComp.mySort"/>
                 <RunCode code="application.uiCustomListComp.listDataProvider.refresh()" waitEvent="collectionChange" waitTarget="uiCustomListComp.listDataProvider"/>
             </setup>
@@ -154,7 +154,7 @@
                 <AssertMethodValue method="value=SFConstant.getArrayOfField(application.uiCustomListComp.listValueField, application.uiCustomListComp.listDataProvider);" valueExpression="value=application.uiCustomListComp.flashSortedArray"/>
                 <SetStyle target="uiCustomListComp.mySort" styleName="locale" valueExpression="value='notLocale'"/>
                 <RunCode code="application.uiCustomListComp.listDataProvider.refresh()" waitEvent="collectionChange" waitTarget="uiCustomListComp.listDataProvider"/>
-                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="en"/>
+                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="{flash.system.Capabilities.language}"/>
                 <AssertMethodValue method="value=SFConstant.getArrayOfField(application.uiCustomListComp.listValueField, application.uiCustomListComp.listDataProvider);" valueExpression="value=application.uiCustomListComp.flashSortedArray"/>
             </body>
         </TestCase>

Modified: incubator/flex/sdk/branches/release4.9/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/release4.9/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml?rev=1424002&r1=1424001&r2=1424002&view=diff
==============================================================================
--- incubator/flex/sdk/branches/release4.9/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml (original)
+++ incubator/flex/sdk/branches/release4.9/mustella/tests/spark/formatters/NumberFormatter/Fallback/NF_Fallback_parseNumber_tester.mxml Wed Dec 19 18:26:44 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>