incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1388545 - in /incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow: Mirroring/TitleWindow_Mirroring_tester1.mxml SWFs/TitleWindow_Mirroring_Basic.mxml
Date Fri, 21 Sep 2012 15:05:43 GMT
Author: cframpton
Date: Fri Sep 21 15:05:42 2012
New Revision: 1388545

URL: http://svn.apache.org/viewvc?rev=1388545&view=rev
Log:
This is a cheat but TitleWindow_layout_rtl1 and TitleWindow_layout_rtl2 seem to consistently
passed if moved to the top of the file.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/SWFs/TitleWindow_Mirroring_Basic.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml?rev=1388545&r1=1388544&r2=1388545&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml
Fri Sep 21 15:05:42 2012
@@ -42,6 +42,33 @@
 	<!-- end of set of lines that must be in each unit test -->
 
 	<testCases>
+	    <TestCase testID="TitleWindow_layout_rtl1" description="TitleWindow with layoutDirection=rtl
" keywords="[TitleWindow, Mirroring]">
+		<setup>
+		    <ResetComponent target="tw2" className="mx.containers.TitleWindow" waitEvent="updateComplete"
waitTarget="tw2" />
+		    <SetProperty propertyName="title" value="My Title" target="tw2" />
+		    <SetProperty propertyName="showCloseButton" value="false" target="tw2" waitEvent="updateComplete"/>
+		    <WaitForLayoutManager/>
+		    <WaitForLayoutManager/>
+		</setup>
+		<body>
+		    <CompareBitmap target="tw2" url="../Mirroring/baselines/$testID.png" timeout="2500"
/>
+		</body>
+	    </TestCase>
+	   
+	   <TestCase testID="TitleWindow_layout_rtl2" description="TitleWindow with layoutDirection=rtl,
has content with ltr layout" keywords="[TitleWindow, Mirroring]">
+		<setup>
+		    <ResetComponent target="tw3" className="mx.containers.TitleWindow" waitEvent="updateComplete"
waitTarget="tw3" />
+		    <SetProperty propertyName="title" value="My Title3" target="tw3" />
+		    <SetProperty propertyName="showCloseButton" value="false" target="tw3" waitEvent="updateComplete"
waitTarget="tw3"/>
+		    <WaitForLayoutManager/>
+		    <WaitForLayoutManager/>
+		</setup>
+		<body>
+		    <CompareBitmap target="tw3" url="../Mirroring/baselines/$testID.png" timeout="2500"
/>
+		</body>
+	    </TestCase>
+
+
 	    <TestCase testID="TitleWindow_layout_closeButtonTrue1" description="TitleWindow showCloseButton=true,
layoutDirection=rtl" keywords="[TitleWindow, Mirroring]">
 		<setup>
 		    <ResetComponent target="tw" className="mx.containers.TitleWindow" waitEvent="updateComplete"
waitTarget="tw" />
@@ -68,31 +95,6 @@
 		    <CompareBitmap target="tw" url="../Mirroring/baselines/$testID.png" timeout="2500"
/>
 		</body>
 	    </TestCase>
-	    <TestCase testID="TitleWindow_layout_rtl1" description="TitleWindow with layoutDirection=rtl
" keywords="[TitleWindow, Mirroring]">
-		<setup>
-		    <ResetComponent target="tw2" className="mx.containers.TitleWindow" waitEvent="updateComplete"
waitTarget="tw2" />
-		    <SetProperty propertyName="title" value="My Title" target="tw2" />
-		    <SetProperty propertyName="showCloseButton" value="false" target="tw2" waitEvent="updateComplete"/>
-		    <WaitForLayoutManager/>
-		    <WaitForLayoutManager/>
-		</setup>
-		<body>
-		    <CompareBitmap target="tw2" url="../Mirroring/baselines/$testID.png" timeout="2500"
/>
-		</body>
-	    </TestCase>
-	   
-	   <TestCase testID="TitleWindow_layout_rtl2" description="TitleWindow with layoutDirection=rtl,
has content with ltr layout" keywords="[TitleWindow, Mirroring]">
-		<setup>
-		    <ResetComponent target="tw3" className="mx.containers.TitleWindow" waitEvent="updateComplete"
waitTarget="tw3" />
-		    <SetProperty propertyName="title" value="My Title3" target="tw3" />
-		    <SetProperty propertyName="showCloseButton" value="false" target="tw3" waitEvent="updateComplete"
waitTarget="tw3"/>
-		    <WaitForLayoutManager/>
-		    <WaitForLayoutManager/>
-		</setup>
-		<body>
-		    <CompareBitmap target="tw3" url="../Mirroring/baselines/$testID.png" timeout="2500"
/>
-		</body>
-	    </TestCase>
 	    
 	   <TestCase testID="TitleWindow_layout_rtl3" description="TitleWindow with layoutDirection=rtl,
has content with ltr layout" keywords="[TitleWindow, Mirroring]">
 		<setup>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/SWFs/TitleWindow_Mirroring_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/SWFs/TitleWindow_Mirroring_Basic.mxml?rev=1388545&r1=1388544&r2=1388545&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/SWFs/TitleWindow_Mirroring_Basic.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/SWFs/TitleWindow_Mirroring_Basic.mxml
Fri Sep 21 15:05:42 2012
@@ -83,12 +83,12 @@
     <mx:Button id="btn" label="click" />
 </mx:TitleWindow>
 <mx:HBox>
-    <mx:TitleWindow id="tw2" showCloseButton="true" close="ta.text='close'" >
+    <mx:TitleWindow id="tw2" styleName="rtlStyle" showCloseButton="true" close="ta.text='close'"
>
     	<mx:TextInput id="ta2" />
         <mx:CheckBox id="chk1" label="test checkBox"/>
     </mx:TitleWindow>
 
-    <mx:TitleWindow id="tw3" showCloseButton="true"  >
+    <mx:TitleWindow id="tw3" styleName="rtlStyle" showCloseButton="true"  >
     	<mx:CheckBox id="chk31" label="outter checkBox"/>
     	<mx:VBox id="vbox1" styleName="ltrStyle">
     	    <mx:TextInput id="ti1" text="this is a test"/>



Mime
View raw message