incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1389570 - /incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml
Date Mon, 24 Sep 2012 20:56:25 GMT
Author: cframpton
Date: Mon Sep 24 20:56:24 2012
New Revision: 1389570

URL: http://svn.apache.org/viewvc?rev=1389570&view=rev
Log:
Fix a timing issue and while I was in there replace the Pause with WaitForLayoutManager tags.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml?rev=1389570&r1=1389569&r2=1389570&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/primitives/Graphic/integration/GraphicTags_IntegrationTests.mxml
Mon Sep 24 20:56:24 2012
@@ -43,12 +43,13 @@
 		 <setup>
 			<RunCode code="application.openPopUp(true)" waitEvent="validateDisplayListComplete"
waitTarget="" />
 			<WaitForEffectsToEnd />
-			 <Pause timeout="200" />
+			<WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <CompareBitmap url="../Integration/baselines/$testID.png" target="GraphicPopUp.getChildAt(0)"
timeout="2000" />
 		    <RunCode code="application.closePopUp()" />
 		    <WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</body>
 	  </TestCase>
           <TestCase testID="GraphicTags_PopUpManager_Ellipse" description="Test a Ellipse
in a PopUp" keywords="[Ellipse, PopUpManager, Graphic]">
@@ -56,12 +57,13 @@
 		    <ResetComponent target="text1" className="mx.controls.TextInput" waitTarget="text1"
waitEvent="updateComplete" />
 			<RunCode code="application.openPopUp(true)" waitEvent="validateDisplayListComplete"
waitTarget="" />
 			<WaitForEffectsToEnd />
-			<Pause timeout="200" />
+			<WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <CompareBitmap url="../Integration/baselines/$testID.png" target="GraphicPopUp.getChildAt(0)"
timeout="2000" />
 		    <RunCode code="application.closePopUp()" />
 		    <WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</body>
 	  </TestCase>
 	  <TestCase testID="GraphicTags_PopUpManager_Line" description="Test a Line in a PopUp"
keywords="[Line, PopUpManager, Graphic]">
@@ -69,12 +71,13 @@
 		    <ResetComponent target="text1" className="mx.controls.TextInput" waitTarget="text1"
waitEvent="updateComplete" />
 			<RunCode code="application.openPopUp(true)" waitEvent="validateDisplayListComplete"
waitTarget="" />
 			<WaitForEffectsToEnd />
-			<Pause timeout="200" />
+			<WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <CompareBitmap url="../Integration/baselines/$testID.png" target="GraphicPopUp.getChildAt(1)"
timeout="2000" />
 		    <RunCode code="application.closePopUp()" />
 		    <WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</body>
 	   </TestCase>
 	   <TestCase testID="GraphicTags_PopUpManager_BitmapGraphic" description="Test a BitmapImage
in a PopUp" keywords="[BitmapGraphic, PopUpManager, Graphic]">
@@ -82,11 +85,13 @@
 		    <ResetComponent target="text1" className="mx.controls.TextInput" waitTarget="text1"
waitEvent="updateComplete" />
 			<RunCode code="application.openPopUp(true)" waitEvent="validateDisplayListComplete"
waitTarget="" />
 			<WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <CompareBitmap url="../Integration/baselines/$testID.png" target="GraphicPopUp.getChildAt(1)"
timeout="2000" />
 		    <RunCode code="application.closePopUp()" />
 		    <WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</body>
 	   </TestCase>
 	   <TestCase testID="GraphicTags_PopUpManager_Path" description="Test a Path in a PopUp"
keywords="[Path, PopUpManager, Graphic]">
@@ -94,12 +99,13 @@
 		    <ResetComponent target="text1" className="mx.controls.TextInput" waitTarget="text1"
waitEvent="updateComplete" />
 			<RunCode code="application.openPopUp(true)" waitEvent="validateDisplayListComplete"
waitTarget="" />
 			<WaitForEffectsToEnd />
-			<Pause timeout="200" />
+			<WaitForLayoutManager/>
 		</setup>
 		<body>
 		    <CompareBitmap url="../Integration/baselines/$testID.png" target="GraphicPopUp.getChildAt(0)"
timeout="2000" />
 		    <RunCode code="application.closePopUp()" />
 		    <WaitForEffectsToEnd />
+			<WaitForLayoutManager/>
 		</body>
 	    </TestCase>
 



Mime
View raw message