incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1394214 - in /incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop: SparkDND/SparkDNDList_main.mxml SparkHaloDND/SparkHaloDND_list.mxml
Date Thu, 04 Oct 2012 19:05:44 GMT
Author: cframpton
Date: Thu Oct  4 19:05:44 2012
New Revision: 1394214

URL: http://svn.apache.org/viewvc?rev=1394214&view=rev
Log:
Fix tests on Windows.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkDND/SparkDNDList_main.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkHaloDND/SparkHaloDND_list.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkDND/SparkDNDList_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkDND/SparkDNDList_main.mxml?rev=1394214&r1=1394213&r2=1394214&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkDND/SparkDNDList_main.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkDND/SparkDNDList_main.mxml
Thu Oct  4 19:05:44 2012
@@ -192,23 +192,22 @@
                 <SetProperty target="l1" propertyName="selectedIndex" value="0" />
                 <SetProperty target="l1" propertyName="dragEnabled" value="true" />
                 <SetProperty target="l2" propertyName="dropEnabled" value="false" />
-             		<SetProperty target="l1.layout" propertyName="dragScrollInitialDelay" value="0"
/>
+             	<SetProperty target="l1.layout" propertyName="dragScrollInitialDelay" value="0"
/>
 	     		<SetProperty target="l2.layout" propertyName="dragScrollInitialDelay" value="0"
/>
             </setup>
             <body>
-		<RunCode code="DragManager.endDrag()" /><WaitForEffectsToEnd/>
-		<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
-		<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
-		<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="click" waitTarget="l1"/>
- 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10" localY="10"
/>
- 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50" localY="12"
waitEvent="dragStart"/>
- 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="15" localY="10"
 waitEvent="dragEnter"/>
- 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="25" localY="20"
 waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
-
-		<CompareBitmap numColorVariances="25" maxColorVariance="1" target="hg" url="../SparkDND/baselines/$testID.png"
/>
-		<DispatchMouseEvent target="hg" type="mouseUp" localX="250" localY="30"  waitTarget="l1"
waitEvent="dragComplete" />
-		<WaitForEffectsToEnd/>
-
+				<RunCode code="DragManager.endDrag()" /><WaitForEffectsToEnd/>
+				<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
+				<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
+				<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="click"
waitTarget="l1"/>
+		 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10"
localY="10" />
+		 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50"
localY="12" waitEvent="dragStart"/>
+		 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="15" localY="10"
 waitEvent="dragEnter"/>
+		 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="25" localY="20"
 waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+		
+				<CompareBitmap numColorVariances="25" maxColorVariance="1" target="hg" url="../SparkDND/baselines/$testID.png"/>
+				<DispatchMouseEvent target="hg" type="mouseUp" localX="250" localY="30"  waitTarget="l1"
waitEvent="dragComplete" />
+				<WaitForEffectsToEnd/>
             </body>
         </TestCase>
 	<TestCase testID="SparkListDefaultRenderer_dragProxy" keywords="[DragDrop, List]" description="">
@@ -777,22 +776,22 @@
                 <SetProperty target="l1" propertyName="selectedIndex" value="0" />
                 <SetProperty target="l1" propertyName="dragEnabled" value="true" />
                 <SetProperty target="l2" propertyName="dropEnabled" value="false" />
-             		<SetProperty target="l1.layout" propertyName="dragScrollInitialDelay" value="0"
/>
+             	<SetProperty target="l1.layout" propertyName="dragScrollInitialDelay" value="0"
/>
 	     		<SetProperty target="l2.layout" propertyName="dragScrollInitialDelay" value="0"
/>
             </setup>
             <body>
-		<RunCode code="DragManager.endDrag()" /><WaitForEffectsToEnd/>
-		<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
-		<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
-		<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="click" waitTarget="l1"/>
- 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10" localY="10"
/>
- 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50" localY="12"
/>
- 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="5" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
-		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="10" localY="5"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
-
-		<CompareBitmap numColorVariances="7" maxColorVariance="20" target="hg" url="../SparkDND/baselines/$testID.png"
/>
-		<DispatchMouseEvent target="hg" type="mouseUp" localX="250" localY="8"  waitTarget="l1"
waitEvent="dragComplete" />
-		<WaitForEffectsToEnd/>
+				<RunCode code="DragManager.endDrag()" /><WaitForEffectsToEnd/>
+				<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
+				<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
+				<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="click"
waitTarget="l1"/>
+		 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10"
localY="10" />
+		 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50"
localY="12" />
+		 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="5" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="10" localY="5"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+		
+				<CompareBitmap numColorVariances="10" maxColorVariance="2" target="hg" url="../SparkDND/baselines/$testID.png"
/>
+				<DispatchMouseEvent target="hg" type="mouseUp" localX="250" localY="8"  waitTarget="l1"
waitEvent="dragComplete" />
+				<WaitForEffectsToEnd/>
 
             </body>
         </TestCase>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkHaloDND/SparkHaloDND_list.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkHaloDND/SparkHaloDND_list.mxml?rev=1394214&r1=1394213&r2=1394214&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkHaloDND/SparkHaloDND_list.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ListDragDrop/SparkHaloDND/SparkHaloDND_list.mxml
Thu Oct  4 19:05:44 2012
@@ -137,17 +137,17 @@
                 <SetProperty target="l1" propertyName="dragMoveEnabled" value="true" />
              </setup>
             <body>
-		<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
-		<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
-		<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="updateComplete"
waitTarget="l1"/>
- 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10" localY="10"
/>
- 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50" localY="12"
/>
- 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="15" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
-		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="50" localY="30"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
-		<DispatchMouseEvent target="l2" type="mouseUp" localX="50" localY="30"  waitTarget="l1"
waitEvent="dragComplete" />
-		<WaitForEffectsToEnd/>
-		<Pause timeout="100"/>
-		<CompareBitmap numColorVariances="35" maxColorVariance="1" target="hg" url="../SparkHaloDND/baselines/$testID.png"
/>
+				<DispatchMouseEvent target="l1"  type="mouseUp"  localX="10" localY="10" />
+				<DispatchMouseEvent target="l1"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
+				<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="updateComplete"
waitTarget="l1"/>
+		 		<DispatchMouseEvent target="l1"  type="mouseDown" buttonDown="true"  localX="10"
localY="10" />
+		 		<DispatchMouseEvent target="l1"  type="mouseMove" buttonDown="true"  localX="50"
localY="12" />
+		 		<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="15" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="l2" type="mouseMove" buttonDown="true" localX="50" localY="30"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="l2" type="mouseUp" localX="50" localY="30"  waitTarget="l1"
waitEvent="dragComplete" />
+				<WaitForEffectsToEnd/>
+				<Pause timeout="100"/>
+				<CompareBitmap numColorVariances="35" maxColorVariance="1" target="hg" url="../SparkHaloDND/baselines/$testID.png"
/>
             </body>
         </TestCase>
 	<TestCase testID="SparkToHaloListDND1_rejectDrop2" keywords="[DragDrop, List]" description="">
@@ -308,18 +308,18 @@
                 <SetProperty target="l2" propertyName="dragMoveEnabled" value="true" />
              </setup>
             <body>
-		<DispatchMouseEvent target="l2"  type="mouseUp"  localX="10" localY="10" />
-		<DispatchMouseEvent target="l2"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
-		<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="updateComplete"
waitTarget="l1"/>
- 		<DispatchMouseEvent target="l2"  type="mouseDown" buttonDown="true"  localX="10" localY="10"
/>
- 		<DispatchMouseEvent target="l2"  type="mouseMove" buttonDown="true"  localX="50" localY="12"
/>
- 		<DispatchMouseEvent target="l1" type="mouseMove" buttonDown="true" localX="60" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
-		<DispatchMouseEvent target="l1" type="mouseMove" buttonDown="true" localX="50" localY="30"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
-		<WaitForEffectsToEnd/>
-		<Pause timeout="100"/>
-		<CompareBitmap numColorVariances="7" maxColorVariance="20" target="hg" url="../SparkHaloDND/baselines/$testID.png"
/>
-		<DispatchMouseEvent target="l1" type="mouseUp" localX="50" localY="30"  />
-		<WaitForEffectsToEnd/>
+				<DispatchMouseEvent target="l2"  type="mouseUp"  localX="10" localY="10" />
+				<DispatchMouseEvent target="l2"  type="mouseOver" buttonDown="false" localX="10" localY="10"
/>
+				<DispatchMouseClickEvent target="l1"    localX="20" localY="10" waitEvent="updateComplete"
waitTarget="l1"/>
+		 		<DispatchMouseEvent target="l2"  type="mouseDown" buttonDown="true"  localX="10"
localY="10" />
+		 		<DispatchMouseEvent target="l2"  type="mouseMove" buttonDown="true"  localX="50"
localY="12" />
+		 		<DispatchMouseEvent target="l1" type="mouseMove" buttonDown="true" localX="60" localY="10"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="l1" type="mouseMove" buttonDown="true" localX="50" localY="30"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<WaitForEffectsToEnd/>
+				<WaitForLayoutManager/>
+				<CompareBitmap numColorVariances="10" maxColorVariance="2" target="hg" url="../SparkHaloDND/baselines/$testID.png"
/>
+				<DispatchMouseEvent target="l1" type="mouseUp" localX="50" localY="30"  />
+				<WaitForEffectsToEnd/>
 
             </body>
         </TestCase>



Mime
View raw message