You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/01/22 21:41:13 UTC

svn commit: r1437153 - in /flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration: List_Integration_iconIR.mxml List_Integration_labelIR.mxml

Author: aharui
Date: Tue Jan 22 20:41:13 2013
New Revision: 1437153

URL: http://svn.apache.org/viewvc?rev=1437153&view=rev
Log:
Fix some list tests.  Touch interactions currently require pauses.

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_iconIR.mxml
    flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_labelIR.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_iconIR.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_iconIR.mxml?rev=1437153&r1=1437152&r2=1437153&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_iconIR.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_iconIR.mxml Tue Jan 22 20:41:13 2013
@@ -571,8 +571,8 @@
                 <DispatchMouseEvent type="rollOver" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="rollOver" />
                 <DispatchMouseEvent type="mouseOver" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseOver" />
                 <DispatchMouseEvent type="mouseDown" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseDown" />
-				<WaitForLayoutManager />
-                <AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0xCD0000" /><!-- pure red plus a little black gradient -->
+				<Pause timeout="500" /><!-- wait for touch interaction timer -->
+                <AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0xCE0000" /><!-- pure red plus a little black gradient -->
             </body>
         </TestCase>
         
@@ -590,8 +590,8 @@
                 <DispatchMouseEvent type="mouseDown" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseDown" />
                 <DispatchMouseEvent type="mouseUp" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseUp" />
                 <DispatchMouseEvent type="click" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="click" />
-				<WaitForLayoutManager />
-                <AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0x0000CD" />
+				<Pause timeout="500" /><!-- wait for touch interaction timer -->
+                <AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0x0000CE" />
             </body>
         </TestCase>
         
@@ -610,7 +610,7 @@
                 <DispatchMouseEvent type="mouseDown" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseDown" />
                 <DispatchMouseEvent type="mouseUp" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseUp" />
                 <DispatchMouseEvent type="click" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="click" />
-				<WaitForLayoutManager />
+				<Pause timeout="500" /><!-- wait for touch interaction timer -->
                 <AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0xCE0000">
                     <ConditionalValue screenDPI="326" value="0xCD0000" />
                 </AssertPixelValue>

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_labelIR.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_labelIR.mxml?rev=1437153&r1=1437152&r2=1437153&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_labelIR.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/List/integration/List_Integration_labelIR.mxml Tue Jan 22 20:41:13 2013
@@ -222,7 +222,7 @@
                 <DispatchMouseEvent type="rollOver" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="rollOver" />
                 <DispatchMouseEvent type="mouseOver" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseOver" />
                 <DispatchMouseEvent type="mouseDown" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseDown" />
-				<WaitForLayoutManager />
+				<Pause timeout="500" /><!-- wait for touch interaction timer -->
 				<AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0xCE0000"><!-- pure red plus a bit of gradient -->
                     <ConditionalValue screenDPI="170" value="0xCF0000" /><!-- PlayBook is slightly different size so the gradient is slightly different -->
                 </AssertPixelValue>
@@ -243,7 +243,7 @@
                 <DispatchMouseEvent type="mouseDown" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseDown" />
                 <DispatchMouseEvent type="mouseUp" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="mouseUp" />
                 <DispatchMouseEvent type="click" target="navigator.activeView.target.dataGroup.getElementAt(1)" localX="5" localY="5" waitEvent="click" />
-				<WaitForLayoutManager />
+				<Pause timeout="500" /><!-- wait for touch interaction timer -->
 				<AssertPixelValue target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" value="0x0000CE"><!-- pure blue plus a bit of gradient -->
                     <ConditionalValue screenDPI="170" value="0x0000CF" /><!-- PlayBook is slightly different size so the gradient is slightly different -->
                 </AssertPixelValue>