incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1425118 - /incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml
Date Fri, 21 Dec 2012 20:01:58 GMT
Author: pent
Date: Fri Dec 21 20:01:58 2012
New Revision: 1425118

URL: http://svn.apache.org/viewvc?rev=1425118&view=rev
Log:
Tuned test to handle timing issue.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml?rev=1425118&r1=1425117&r2=1425118&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml
Fri Dec 21 20:01:58 2012
@@ -148,6 +148,7 @@
                 <DispatchMouseEvent type="mouseDown" stageX="127" stageY="21" target=""/-->
             </setup>
             <body>
+            	<WaitForLayoutManager />
                 <CompareBitmap url="../properties/baselines" target="propertiesRoot.button1">
 					<ConditionalValue deviceDensity="160" os="win" />
 					<ConditionalValue deviceDensity="240" os="android" />
@@ -516,7 +517,8 @@
             </setup>        
             <body>
                 <AssertPropertyValue propertyName="maxWidth" target="propertiesRoot.button1"
value="10"/>
-                <SetProperty target="propertiesRoot.button1" propertyName="maxWidth" value="100"
waitEvent="explicitMaxWidthChanged" waitTarget="propertiesRoot.button1"/>								
+                <SetProperty target="propertiesRoot.button1" propertyName="maxWidth" value="100"
waitEvent="explicitMaxWidthChanged" waitTarget="propertiesRoot.button1"/>	
+                <WaitForLayoutManager />							
                 <AssertPropertyValue propertyName="maxWidth" target="propertiesRoot.button1"
value="100"/>
                 <CompareBitmap url="../properties/baselines" target="propertiesRoot.button1">
 					<ConditionalValue deviceDensity="160" os="win" />



Mime
View raw message