flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1394058 - /incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
Date Thu, 04 Oct 2012 13:26:27 GMT
Author: cframpton
Date: Thu Oct  4 13:26:26 2012
New Revision: 1394058

URL: http://svn.apache.org/viewvc?rev=1394058&view=rev
Log:
Add some timeouts to Slider tests that are loading swfs.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml?rev=1394058&r1=1394057&r2=1394058&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
Thu Oct  4 13:26:26 2012
@@ -46,6 +46,9 @@
 	public var styleDecl:Object;
 	public var styleObj:Object;
 
+	[Bindable]
+	private var loadTimeout:int = 6000;
+		
 	]]>
 	</mx:Script>
 	<testCases>
@@ -58,7 +61,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="false"
/>
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -79,7 +82,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="false"
/>
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -100,7 +103,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="false"
/>
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -121,7 +124,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -142,7 +145,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -163,7 +166,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
 		   	   <SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content"
waitEvent="applicationComplete"/>
@@ -184,7 +187,7 @@
 			   <Pause timeout="100" />
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<WaitForSandboxApp target="swf1" />
@@ -206,7 +209,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="false"
/>
 		   	   <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			    <WaitForSandboxApp target="swf1" />
@@ -229,7 +232,7 @@
                <SetProperty target="swf1" propertyName="autoLoad" value="false" />
 		   	   <SetProperty target="swf1" propertyName="loadForCompatibility" value="false"
/>
 		   	   <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf"
waitTarget="swf1" waitEvent="updateComplete"/>
-			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete"/>
+			   <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1"
waitEvent="complete" timeout="{loadTimeout}"/>
 			</setup>
 			<body>
 			  	<WaitForSandboxApp target="swf1" />



Mime
View raw message