You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/09/17 20:31:58 UTC

svn commit: r1386762 - in /incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring: TitleWindow_Mirroring_tester1.mxml baselines/TitleWindow_layout_rtl2.png

Author: cframpton
Date: Mon Sep 17 18:31:58 2012
New Revision: 1386762

URL: http://svn.apache.org/viewvc?rev=1386762&view=rev
Log:
Fix timing issue.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester1.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/baselines/TitleWindow_layout_rtl2.png

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=1386762&r1=1386761&r2=1386762&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 Mon Sep 17 18:31:58 2012
@@ -73,6 +73,8 @@
 		    <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" />
@@ -84,6 +86,8 @@
 		    <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" />
@@ -94,13 +98,13 @@
 		<setup>
 		    <ResetComponent target="tw4" className="MyLayoutTestTW" waitEvent="updateComplete" waitTarget="tw4" />
 		    <SetProperty propertyName="title" value="My Title4" target="tw4" />
-		    <Pause timeout="300"/>
+		    <WaitForLayoutManager/>
+		    <WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <AssertPropertyValue target="chk1" propertyName="layoutDirection" value="rtl"/>
 		    <AssertPropertyValue target="chk2" propertyName="layoutDirection" value="ltr"/>
 		    <AssertPropertyValue target="chk31" propertyName="layoutDirection" value="rtl"/>
-		    <Pause timeout="200"/>
 		    <CompareBitmap target="tw4" url="../Mirroring/baselines/$testID.png" timeout="2500" />
 		</body>
 	    </TestCase>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/baselines/TitleWindow_layout_rtl2.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/baselines/TitleWindow_layout_rtl2.png?rev=1386762&r1=1386761&r2=1386762&view=diff
==============================================================================
Binary files - no diff available.