You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2012/12/21 21:01:58 UTC

svn commit: r1425118 - /incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/Button/properties/button_properties.mxml

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" />