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/10/05 02:02:53 UTC

svn commit: r1394334 - in /incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin: Integration/ SWFs/

Author: aharui
Date: Fri Oct  5 00:02:53 2012
New Revision: 1394334

URL: http://svn.apache.org/viewvc?rev=1394334&view=rev
Log:
Refactor some RTL tests so they don't end up offscreen

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ATResource_1Locale.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ResourceBundleMetadata_3Locales.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ATResource_frFR.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ResourceBundleMetadata_frFR_jaJP_enUS.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ATResource_1Locale.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ATResource_1Locale.mxml?rev=1394334&r1=1394333&r2=1394334&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ATResource_1Locale.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ATResource_1Locale.mxml Fri Oct  5 00:02:53 2012
@@ -121,13 +121,21 @@ because everything has been set up in MX
          
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ATResource_String_Bundle1_Style_fr_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ATResource,String,Style]" > 
-           <body>
+           <setup>
+			   <SetProperty propertyName="currentState" value="setTwo" />
+			   <WaitForLayoutManager />
+		   </setup>
+		   <body>
                <AssertStyleValue target="lbl3" styleName="fontStyle" value="normal" />               
            </body>
         </TestCase> 
 
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ATResource_String_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ATResource,String,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
            <body>
                <AssertStyleValue target="lbl4" styleName="fontStyle" value="italic" />               
            </body>
@@ -135,6 +143,10 @@ because everything has been set up in MX
  
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ATResource_Number_Bundle1_Style_fr_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ATResource,Number,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body>
                 <AssertStyleValue target="lbl5" styleName="fontSize" value="12" />                
             </body>         
@@ -142,12 +154,20 @@ because everything has been set up in MX
 
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ATResource_Number_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ATResource,Number,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body>
                 <AssertStyleValue target="lbl6" styleName="fontSize" value="3" />                
             </body>         
         </TestCase> 
 
         <TestCase frequency="all" testID="RTL_ATResource_Int_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as an Int in a style." keywords="[Runtime Localization,ATResource,Int,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body>
                 <DispatchMouseEvent type="mouseDown" target="slider1" localX="50" localY="15" />
                 <WaitForEffectsToEnd />
@@ -163,6 +183,10 @@ because everything has been set up in MX
  
         <!-- Check the vertical line of the letter R and make sure it's red.. --> 
         <TestCase frequency="all" testID="RTL_ATResource_Number_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ATResource,Number,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body> 
                 <CompareBitmap target="lbl7" url="../Integration/Baselines/$testID.png" />
             </body> 
@@ -170,12 +194,20 @@ because everything has been set up in MX
 
         <!-- left's lineThrough is false, right's lineThrough is true, for French --> 
         <TestCase frequency="all" testID="RTL_ATResource_Boolean_Bundle1_Style_fr_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ATResource,Boolean,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
            <body> 
                <AssertStyleValue target="btn1" styleName="lineThrough" value="false" />
            </body> 
         </TestCase> 
 
         <TestCase frequency="all" testID="RTL_ATResource_Boolean_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ATResource,Boolean,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
            <body> 
                <AssertStyleValue target="btn2" styleName="lineThrough" value="true" />
            </body> 
@@ -183,6 +215,10 @@ because everything has been set up in MX
 
         <!-- Check that the alternating colors are green and blue. --> 
         <TestCase frequency="all" testID="RTL_ATResource_StringArray_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a style." keywords="[Runtime Localization,ATResource,StringArray,Style]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body> 
                 <AssertStyleValue target="list1" styleName="alternatingItemColors" valueExpression="value=[0x008000,0x0000ff]" />
             </body> 
@@ -190,6 +226,10 @@ because everything has been set up in MX
  
         <!-- Verify the flag as the button's skin. --> 
         <TestCase frequency="all" testID="RTL_ATResource_Class_Embed_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using Embed." keywords="[Runtime Localization,ATResource,Class,Style,Embed]" > 
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
+			</setup>
             <body> 
                 <CompareBitmap target="btn3" url="../Integration/Baselines/$testID.png" />
             </body> 
@@ -197,7 +237,9 @@ because everything has been set up in MX
  
         <!-- Verify the backwards checkmark by examining a line across the upper half of the check box.  The tail of the check should be on the left. --> 
         <TestCase frequency="all" testID="RTL_ATResource_Class_ClassReference_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using ClassReference." keywords="[Runtime Localization,ATResource,Class,Style,ClassReference]" > 
-            <setup>
+			<setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <DispatchMouseEvent target="ck3" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
             </setup> 
             <body> 

Modified: incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ResourceBundleMetadata_3Locales.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ResourceBundleMetadata_3Locales.mxml?rev=1394334&r1=1394333&r2=1394334&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ResourceBundleMetadata_3Locales.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_ResourceBundleMetadata_3Locales.mxml Fri Oct  5 00:02:53 2012
@@ -171,6 +171,8 @@ The associated swf launches in the fr_FR
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_fr_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl3" className="Components.CLabelFontStyleGetStringLeft" waitEvent="updateComplete" />
            </setup>
@@ -183,6 +185,8 @@ The associated swf launches in the fr_FR
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl4" className="Components.CLabelFontStyleGetStringRight" waitEvent="updateComplete" />
            </setup>
@@ -195,6 +199,8 @@ The associated swf launches in the fr_FR
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_fr_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl5" className="Components.CLabelFontSizeGetNumberLeft" waitEvent="updateComplete" />
            </setup>
@@ -207,6 +213,8 @@ The associated swf launches in the fr_FR
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl6" className="Components.CLabelFontSizeGetNumberRight" waitEvent="updateComplete" />
            </setup>
@@ -219,6 +227,8 @@ The associated swf launches in the fr_FR
         <!-- Check the precision of the HSlider. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Int_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as an Int in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Int,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <ResetComponent target="slider1" className="Components.CSliderPrecisionGetInt" waitEvent="updateComplete" />
             </setup>
             <body>
@@ -237,6 +247,8 @@ The associated swf launches in the fr_FR
         <!-- Red letter R. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['ja_JP','fr_FR','en_US']" />
                 <ResetComponent target="lbl7" className="Components.CLabelColorGetUint" waitEvent="updateComplete" />
             </setup>
@@ -251,6 +263,8 @@ The associated swf launches in the fr_FR
         <!-- Both have lineThrough = true for Japanese. -->
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_fr_1_3Locales" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="btn1" className="Components.CFxButtonLineThroughGetBooleanLeft" waitEvent="updateComplete" />
            </setup>
@@ -262,6 +276,8 @@ The associated swf launches in the fr_FR
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_fr_2_3Locales" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="btn2" className="Components.CFxButtonLineThroughGetBooleanRight" waitEvent="updateComplete" />
            </setup>
@@ -274,6 +290,8 @@ The associated swf launches in the fr_FR
         <!-- Check that alternatingColors are green and blue. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_StringArray_Bundle1_Style_fr_3Locales" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a style." keywords="[Runtime Localization,ResourceBundleMetadata,StringArray,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['ja_JP','fr_FR','en_US']" />
                 <ResetComponent target="list1" className="Components.CListAlternatingColorsGetStringArray" waitEvent="updateComplete" />
             </setup> 
@@ -286,6 +304,8 @@ The associated swf launches in the fr_FR
         <!-- Verify the flag as the button's skin. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_Embed_Bundle1_Style_fr" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using Embed." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,Embed]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['ja_JP','fr_FR','en_US']" />
                 <ResetComponent target="btn3" className="Components.CButtonOverSkinGetClass" waitEvent="updateComplete" />
             </setup>
@@ -298,6 +318,8 @@ The associated swf launches in the fr_FR
         <!-- Verify the backwards checkmark by examining a line across the upper half of the check box.  The tail of the check should be on the left. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_ClassReference_Bundle1_Style_fr_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using ClassReference." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,ClassReference]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['ja_JP','fr_FR','en_US']" />
                 <ResetComponent target="ck3" className="Components.CCheckBoxSelectedIconsGetClass" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck3" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
@@ -316,6 +338,8 @@ Verify that things are correct when we s
      
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Framework_Property_ja" description="Test that resourceManager.getXX() can be used to specify a framework resource as a String in a property." keywords="[Runtime Localization,ResourceBundleMetadata,String,Property]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl1" className="Components.CLabelTextGetStringFramework" waitEvent="updateComplete" />
             </setup>
@@ -327,6 +351,8 @@ Verify that things are correct when we s
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a property." keywords="[Runtime Localization,ResourceBundleMetadata,String,Property]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl2" className="Components.CLabelTextGetStringCustom" waitEvent="updateComplete" />
             </setup>
@@ -338,6 +364,8 @@ Verify that things are correct when we s
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Number]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ti1" className="Components.CTextInputAlphaGetNumber" waitEvent="updateComplete" />
             </setup>
@@ -350,6 +378,8 @@ Verify that things are correct when we s
         <!-- Don't test that maxChars works...just check the property. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Int_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as an int in a property." keywords="[Runtime Localization,ResourceBundleMetadata,int]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ti2" className="Components.CTextInputMaxCharsGetInt" waitEvent="updateComplete" />
             </setup>
@@ -361,6 +391,8 @@ Verify that things are correct when we s
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Uint_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a uint in a property." keywords="[Runtime Localization,ResourceBundleMetadata,uint]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="cp1" className="Components.CColorPickerSelectedColorGetUint" waitEvent="updateComplete" />
             </setup>
@@ -373,6 +405,8 @@ Verify that things are correct when we s
         <!-- This checks a horizontal line through the checkbox, where the checkmark should be. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Property_True_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ck1" className="Components.CCheckBoxSelectedGetBooleanLeft" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck1" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
@@ -386,6 +420,8 @@ Verify that things are correct when we s
         <!-- This checks a horizontal line through the checkbox, where the checkmark should be. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Property_True2_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="ck2" className="Components.CCheckBoxSelectedGetBooleanRight" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck2" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
@@ -398,6 +434,8 @@ Verify that things are correct when we s
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_StringArray_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a property." keywords="[Runtime Localization,ResourceBundleMetadata,StringArray]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="dc1" className="Components.CDateChooserMonthNamesGetStringArray" waitEvent="updateComplete" />
                 <SetProperty target="dc1" propertyName="displayedMonth" valueExpression="value = monthIndex = (application.dc1.displayedMonth == 11 ? 0 : application.dc1.displayedMonth + 1);" waitEvent="updateComplete" waitTarget="dc1" />
@@ -411,6 +449,8 @@ Verify that things are correct when we s
         <!-- This checks a horizontal line through the Japanese flag image. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_Bundle1_Property_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Class]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="img1" className="Components.CImageSourceGetClass" waitEvent="updateComplete" />
             </setup>
@@ -423,6 +463,8 @@ Verify that things are correct when we s
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_ja_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl3" className="Components.CLabelFontStyleGetStringLeft" waitEvent="updateComplete" />
            </setup>
@@ -435,6 +477,8 @@ Verify that things are correct when we s
        <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_ja_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl4" className="Components.CLabelFontStyleGetStringRight" waitEvent="updateComplete" /> 
            </setup>
@@ -447,6 +491,8 @@ Verify that things are correct when we s
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_ja_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl5" className="Components.CLabelFontSizeGetNumberLeft" waitEvent="updateComplete" />
            </setup>
@@ -459,6 +505,8 @@ Verify that things are correct when we s
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_ja_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="lbl6" className="Components.CLabelFontSizeGetNumberRight" waitEvent="updateComplete" />
            </setup>
@@ -471,6 +519,8 @@ Verify that things are correct when we s
         <!-- Check the precision of the HSlider. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Int_Bundle1_Style_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as an Int in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Int,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <ResetComponent target="slider1" className="Components.CSliderPrecisionGetInt" waitEvent="updateComplete" />
             </setup>
             <body>
@@ -489,6 +539,8 @@ Verify that things are correct when we s
         <!-- Green letter R. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl7" className="Components.CLabelColorGetUint" waitEvent="updateComplete" />
             </setup>
@@ -501,6 +553,8 @@ Verify that things are correct when we s
         <!-- Check for the rounded corner of the panel on the left. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_ja_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="btn1" className="Components.CFxButtonLineThroughGetBooleanLeft" waitEvent="updateComplete" />
            </setup>
@@ -513,6 +567,8 @@ Verify that things are correct when we s
        <!-- Check for the rounded corner of the panel on the right. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_ja_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['en_US','ja_JP','fr_FR']" />
                 <ResetComponent target="btn2" className="Components.CFxButtonLineThroughGetBooleanRight" waitEvent="updateComplete" /> 
            </setup>
@@ -525,6 +581,8 @@ Verify that things are correct when we s
         <!-- Check that the list's alternatingColors are white and red. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_StringArray_Bundle1_Style_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a style." keywords="[Runtime Localization,ResourceBundleMetadata,StringArray,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="list1" className="Components.CListAlternatingColorsGetStringArray" waitEvent="updateComplete" />
             </setup> 
@@ -537,6 +595,8 @@ Verify that things are correct when we s
         <!-- Verify the flag as the button's skin. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_Embed_Bundle1_Style_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using Embed." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,Embed]" >             
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="btn3" className="Components.CButtonOverSkinGetClass" waitEvent="updateComplete" />
             </setup>
@@ -549,6 +609,8 @@ Verify that things are correct when we s
         <!-- Verify the box by examining a line across the middle of the check box. (The checkmark is a square.) --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_ClassReference_Bundle1_Style_ja" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using ClassReference." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,ClassReference]" > 
             <setup> 
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ck3" className="Components.CCheckBoxSelectedIconsGetClass" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck3" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" /> 
@@ -568,6 +630,8 @@ Verify that things are right when we swi
      
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Framework_Property_en" description="Test that resourceManager.getXX() can be used to specify a framework resource as a String in a property." keywords="[Runtime Localization,ResourceBundleMetadata,String,Property]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl1" className="Components.CLabelTextGetStringFramework" waitEvent="updateComplete" />
             </setup>
@@ -579,6 +643,8 @@ Verify that things are right when we swi
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a property." keywords="[Runtime Localization,ResourceBundleMetadata,String,Property]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl2" className="Components.CLabelTextGetStringCustom" waitEvent="updateComplete" />
             </setup>
@@ -590,6 +656,8 @@ Verify that things are right when we swi
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Number]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ti1" className="Components.CTextInputAlphaGetNumber" waitEvent="updateComplete" />
             </setup>
@@ -602,6 +670,8 @@ Verify that things are right when we swi
         <!-- Don't test that maxChars works...just check the property. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Int_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as an int in a property." keywords="[Runtime Localization,ResourceBundleMetadata,int]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ti2" className="Components.CTextInputMaxCharsGetInt" waitEvent="updateComplete" />
             </setup>
@@ -613,6 +683,8 @@ Verify that things are right when we swi
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Uint_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a uint in a property." keywords="[Runtime Localization,ResourceBundleMetadata,uint]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="cp1" className="Components.CColorPickerSelectedColorGetUint" waitEvent="updateComplete" />
             </setup>
@@ -625,6 +697,8 @@ Verify that things are right when we swi
         <!-- This checks a horizontal line through the checkbox, where the checkmark should be. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Property_en_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ck1" className="Components.CCheckBoxSelectedGetBooleanLeft" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck1" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
@@ -638,6 +712,8 @@ Verify that things are right when we swi
         <!-- This checks a horizontal line through the checkbox, where the checkmark should not be. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Property_en_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ck2" className="Components.CCheckBoxSelectedGetBooleanRight" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck2" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />
@@ -650,6 +726,8 @@ Verify that things are right when we swi
  
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_StringArray_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a property." keywords="[Runtime Localization,ResourceBundleMetadata,StringArray]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="dc1" className="Components.CDateChooserMonthNamesGetStringArray" waitEvent="updateComplete" />
                 <SetProperty target="dc1" propertyName="displayedMonth" valueExpression="value = monthIndex = (application.dc1.displayedMonth == 11 ? 0 : application.dc1.displayedMonth + 1);" waitEvent="updateComplete" waitTarget="dc1" />
@@ -663,6 +741,8 @@ Verify that things are right when we swi
         <!-- US flag. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_Bundle1_Property_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a property." keywords="[Runtime Localization,ResourceBundleMetadata,Class]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setOne" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="img1" className="Components.CImageSourceGetClass" waitEvent="updateComplete" />
             </setup>
@@ -675,6 +755,8 @@ Verify that things are right when we swi
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_en_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl3" className="Components.CLabelFontStyleGetStringLeft" waitEvent="updateComplete" />
            </setup>
@@ -687,6 +769,8 @@ Verify that things are right when we swi
        <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_String_Bundle1_Style_en_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a String in a style." keywords="[Runtime Localization,ResourceBundleMetadata,String,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl4" className="Components.CLabelFontStyleGetStringRight" waitEvent="updateComplete" />
            </setup>
@@ -699,6 +783,8 @@ Verify that things are right when we swi
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_en_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl5" className="Components.CLabelFontSizeGetNumberLeft" waitEvent="updateComplete" />
            </setup>
@@ -711,6 +797,8 @@ Verify that things are right when we swi
         <!-- Just check the style. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_en_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl6" className="Components.CLabelFontSizeGetNumberRight" waitEvent="updateComplete" />
            </setup>
@@ -723,6 +811,8 @@ Verify that things are right when we swi
         <!-- Check the precision of the HSlider. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Int_Bundle1_Style_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as an Int in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Int,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <ResetComponent target="slider1" className="Components.CSliderPrecisionGetInt" waitEvent="updateComplete" />
             </setup>
             <body>
@@ -741,6 +831,8 @@ Verify that things are right when we swi
         <!-- Blue letter R. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Number_Bundle1_Style_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Number in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Number,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="lbl7" className="Components.CLabelColorGetUint" waitEvent="updateComplete" />
             </setup>
@@ -755,6 +847,8 @@ Verify that things are right when we swi
         <!-- Both have lineThrough = true for Japanese. -->
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_en_1" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="btn1" className="Components.CFxButtonLineThroughGetBooleanLeft" waitEvent="updateComplete" />
            </setup>
@@ -767,6 +861,8 @@ Verify that things are right when we swi
        <!-- Check for the square corner of the panel on the right. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Boolean_Bundle1_Style_en_2" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Boolean in a style." keywords="[Runtime Localization,ResourceBundleMetadata,Boolean,Style]" > 
             <setup>	
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="btn2" className="Components.CFxButtonLineThroughGetBooleanRight" waitEvent="updateComplete" />
            </setup>
@@ -779,6 +875,8 @@ Verify that things are right when we swi
         <!-- Check that the alternatingColors are red and blue. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_StringArray_Bundle1_Style_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a StringArray in a style." keywords="[Runtime Localization,ResourceBundleMetadata,StringArray,Style]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="list1" className="Components.CListAlternatingColorsGetStringArray" waitEvent="updateComplete" />
             </setup> 
@@ -791,6 +889,8 @@ Verify that things are right when we swi
         <!-- Verify the US flag as the button's skin --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_Embed_Bundle1_Style_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using Embed." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,Embed]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="btn3" className="Components.CButtonOverSkinGetClass" waitEvent="updateComplete" />
             </setup>
@@ -804,6 +904,8 @@ Verify that things are right when we swi
         <!-- Verify the standard checkmark by examining a line across the upper half of the check box.  The tail of the check should be on the right. --> 
         <TestCase frequency="all" testID="RTL_ResourceBundleMetadata_Class_ClassReference_Bundle1_Style_en" description="Test that resourceManager.getXX() can be used to specify a custom resource as a Class in a style, using ClassReference." keywords="[Runtime Localization,ResourceBundleMetadata,Class,Style,ClassReference]" > 
             <setup>
+				<SetProperty propertyName="currentState" value="setTwo" />
+				<WaitForLayoutManager />
                 <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" />
                 <ResetComponent target="ck3" className="Components.CCheckBoxSelectedIconsGetClass" waitEvent="updateComplete" />
                 <DispatchMouseEvent target="ck3" localX="10" localY="10" type="rollOver" waitEvent="updateComplete" />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ATResource_frFR.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ATResource_frFR.mxml?rev=1394334&r1=1394333&r2=1394334&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ATResource_frFR.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ATResource_frFR.mxml Fri Oct  5 00:02:53 2012
@@ -88,7 +88,11 @@
 <s:layout>
     <s:VerticalLayout/>
 </s:layout>
-
+<s:states>
+	<s:State name="setOne" />
+	<s:State name="setTwo" />
+</s:states>
+	
 <!-- Fields needed by RTL_ResourceManager_Methods_ATResource_1Locale.mxml -->
 
     <mx:DateField visible="@Resource(bundle='bundle1', key='TESTBOOL_TRUE')" />
@@ -104,7 +108,7 @@
     
     </fx:Declarations>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Feel free to change the locale chain manually here." />
         <mx:TextInput id="tiLocaleChain" width="100" />
         <mx:Button label="Apply!" click="{resourceManager.localeChain=tiLocaleChain.text.split(',')}" />
@@ -116,45 +120,45 @@
 ===================================================================
 -->
 
-    <mx:Label color="0xffffff" text="Property @Resource Tests:" />
+    <mx:Label color="0xffffff" text="Property @Resource Tests:" includeIn="setOne"/>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Framework string:" />
         <Components:CLabelTextGetStringFramework_ATResource id="lbl1" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Non-framework string, as a property:" />
         <Components:CLabelTextGetStringCustom_ATResource id="lbl2" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Number (alpha=0.3 for French, 0.7 for English, 0.5 for Japanese):"  />
         <Components:CTextInputAlphaGetNumber_ATResource id="ti1" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="int (maxChars=7 for French, 12 for English, 3 for Japanese):"  />
         <Components:CTextInputMaxCharsGetInt_ATResource id="ti2" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="uint (selectedColor=blue for French, green for English, red for Japanese):"  />
         <Components:CColorPickerSelectedColorGetUint_ATResource id="cp1" />
     </mx:HBox>
     
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Boolean (unchecked/checked for French, checked/unchecked for English, both checked for Japanese):"  />
         <Components:CCheckBoxSelectedGetBooleanLeft_ATResource id="ck1" />
         <Components:CCheckBoxSelectedGetBooleanRight_ATResource id="ck2" />
     </mx:HBox>    
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="StringArray (month names begin with fr, en, or ja):"  />
         <Components:CDateChooserMonthNamesGetStringArray_ATResource id="dc1" />
     </mx:HBox>
 
-    <mx:HBox id="img1Container">
+    <mx:HBox id="img1Container" includeIn="setOne">
         <mx:Label text="Class with Embed (image is the country's flag.):"  />
         <Components:CImageSourceGetClass_ATResource id="img1"  />
     </mx:HBox>
@@ -164,31 +168,31 @@
 @Resource Styles
 ===================================================================
 -->
-    <mx:Label color="0xffffff" text="Style @Resource Tests:" />
+    <mx:Label color="0xffffff" text="Style @Resource Tests:" includeIn="setTwo"/>
     
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="String (right italicized for French, left one for English, both for Japanese):"  />
         <Components:CLabelFontStyleGetStringLeft_ATResource id="lbl3" />
         <Components:CLabelFontStyleGetStringRight_ATResource id="lbl4" />
     </mx:HBox>    
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Number (right tiny for French, left tiny for English, both tiny for Japanese):"  />
         <Components:CLabelFontSizeGetNumberLeft_ATResource id="lbl5" />
         <Components:CLabelFontSizeGetNumberRight_ATResource id="lbl6" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="int (3 zeroes for French, 4 for English, 6 for Japanese):"  />
         <Components:CSliderPrecisionGetInt id="slider1" />
     </mx:HBox>
    
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="uint (Red for French, blue for English, green for Japanese):"  />
         <Components:CLabelColorGetUint_ATResource id="lbl7" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Boolean (left's lineThrough is false, right's lineThrough is true, for French):"  />
         <mx:HBox>
             <Components:CFxButtonLineThroughGetBooleanLeft_ATResource id="btn1" />
@@ -196,17 +200,17 @@
         </mx:HBox>
     </mx:HBox>
 
-     <mx:HBox>
+     <mx:HBox includeIn="setTwo">
          <mx:Label text="StringArray (alternating colors are green and blue for French, red and blue for English, white and red for Japanese):"  />
          <Components:CListAlternatingColorsGetStringArray_ATResource id="list1" />
     </mx:HBox>    
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
          <mx:Label text="Class style using Embed (Button skins are the country's flag):"  />
          <Components:CButtonOverSkinGetClass_ATResource id="btn3" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Class style using ClassReference (French has a backwards check, English has a forwards one, Japanese has a square):"  />
         <Components:CCheckBoxSelectedIconsGetClass_ATResource id="ck3" />
     </mx:HBox>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ResourceBundleMetadata_frFR_jaJP_enUS.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ResourceBundleMetadata_frFR_jaJP_enUS.mxml?rev=1394334&r1=1394333&r2=1394334&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ResourceBundleMetadata_frFR_jaJP_enUS.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_ResourceBundleMetadata_frFR_jaJP_enUS.mxml Fri Oct  5 00:02:53 2012
@@ -103,8 +103,12 @@
 <s:layout>
     <s:VerticalLayout />
 </s:layout>
+<s:states>
+	<s:State name="setOne" />
+	<s:State name="setTwo" />
+</s:states>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Feel free to change the locale chain manually here." />
         <mx:TextInput id="tiLocaleChain" width="100" />
         <mx:Button label="Apply!" click="{resourceManager.localeChain=tiLocaleChain.text.split(',')}" />
@@ -123,45 +127,45 @@ ResourceBundle Metadata Properties
 ===================================================================
 -->
 
-    <mx:Label color="0xffffff" text="Property ResourceBundle Metadata tests (resourceManager.getXX()):" />
+    <mx:Label includeIn="setOne" color="0xffffff" text="Property ResourceBundle Metadata tests (resourceManager.getXX()):" />
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Framework string:" />
         <Components:CLabelTextGetStringFramework id="lbl1" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Non-framework string, as a property:" />
         <Components:CLabelTextGetStringCustom id="lbl2" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Number (alpha=0.3 for French, 0.7 for English, 0.5 for Japanese):"  />
         <Components:CTextInputAlphaGetNumber id="ti1" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="int (maxChars=7 for French, 12 for English, 3 for Japanese):"  />
         <Components:CTextInputMaxCharsGetInt id="ti2" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="uint (selectedColor=blue for French, green for English, red for Japanese):"  />
         <Components:CColorPickerSelectedColorGetUint id="cp1" />
     </mx:HBox>
     
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="Boolean (unchecked/checked for French, checked/unchecked for English, both checked for Japanese):"  />
         <Components:CCheckBoxSelectedGetBooleanLeft id="ck1" />
         <Components:CCheckBoxSelectedGetBooleanRight id="ck2" />
     </mx:HBox>    
 
-    <mx:HBox>
+    <mx:HBox includeIn="setOne">
         <mx:Label text="StringArray (month names begin with fr, en, or ja):"  />
         <Components:CDateChooserMonthNamesGetStringArray id="dc1" />
     </mx:HBox>
 
-    <mx:HBox id="img1Container">
+    <mx:HBox id="img1Container" includeIn="setOne">
         <mx:Label text="Class with Embed (image is the country's flag.):"  />
         <Components:CImageSourceGetClass id="img1"  />
     </mx:HBox>
@@ -171,26 +175,26 @@ ResourceBundle Metadata Properties
 ResourceBundle Metadata Styles
 ===================================================================
 -->
-    <mx:Label color="0xffffff" text="Style ResourceBundle Metadata tests (resourceManager.getXX()):" />
+    <mx:Label includeIn="setTwo" color="0xffffff" text="Style ResourceBundle Metadata tests (resourceManager.getXX()):" />
     
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="String (right italicized for French, left one for English, both for Japanese):"  />
         <Components:CLabelFontStyleGetStringLeft id="lbl3" />
         <Components:CLabelFontStyleGetStringRight id="lbl4" />
     </mx:HBox>    
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Number (right tiny for French, left tiny for English, both tiny for Japanese):"  />
         <Components:CLabelFontSizeGetNumberLeft id="lbl5" />
         <Components:CLabelFontSizeGetNumberRight id="lbl6" />
     </mx:HBox>
 
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="int (3 zeroes for French, 4 for English, 6 for Japanese):"  />
         <Components:CSliderPrecisionGetInt id="slider1" />
     </mx:HBox>
    
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="uint (Red for French, blue for English, green for Japanese):"  />
         <Components:CLabelColorGetUint id="lbl7" />
     </mx:HBox>
@@ -198,7 +202,7 @@ ResourceBundle Metadata Styles
     <!-- Left's lineThrough is false, right's lineThrough is true, for French. -->
     <!-- Left's lineThrough is true, right's lineThrough is false, for English. -->
     <!-- Both have lineThrough = true for Japanese. -->
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Boolean:."  />
         <mx:HBox>
             <Components:CFxButtonLineThroughGetBooleanLeft id="btn1" />
@@ -206,17 +210,17 @@ ResourceBundle Metadata Styles
         </mx:HBox>
     </mx:HBox>
 
-     <mx:HBox>
+     <mx:HBox includeIn="setTwo">
          <mx:Label text="StringArray (alternating colors are green/blue for French, red/blue for English, white/red for Japanese):"  />
          <Components:CListAlternatingColorsGetStringArray id="list1" />
     </mx:HBox>    
  
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
          <mx:Label text="Class style using Embed (Button skins are the country's flag):"  />
          <Components:CButtonOverSkinGetClass id="btn3" />
     </mx:HBox>
     
-    <mx:HBox>
+    <mx:HBox includeIn="setTwo">
         <mx:Label text="Class style using ClassReference (French has a backwards check, English has a forwards one, Japanese has a square):"  />
         <Components:CCheckBoxSelectedIconsGetClass id="ck3" />
     </mx:HBox>