incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1388320 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles: TabBar_Styles_SkinStates.mxml TabBar_Styles_SkinStates_Spark.mxml
Date Fri, 21 Sep 2012 04:22:55 GMT
Author: aharui
Date: Fri Sep 21 04:22:55 2012
New Revision: 1388320

URL: http://svn.apache.org/viewvc?rev=1388320&view=rev
Log:
Try to avoid timeouts on these tests.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates_Spark.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml?rev=1388320&r1=1388319&r2=1388320&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml
Fri Sep 21 04:22:55 2012
@@ -434,8 +434,8 @@
                 <ResetComponent target="tb" className="mx.controls.TabBar"  waitEvent="updateComplete"
waitTarget="tb"/>
                 <RunCode code="addData(0);" />
                 <SetStyle target="tb" styleName="tabStyleName" value="myTabBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tb" /> 
-                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(0).getChildAt(0).overImage"
timeout="10000"/> 
+                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(0).currentSkin.overImage"
timeout="10000"/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -448,8 +448,8 @@
                 <ResetComponent target="tb" className="mx.controls.TabBar"  waitEvent="updateComplete"
waitTarget="tb"/>
                 <RunCode code="addData(0);" />
                 <SetStyle target="tb" styleName="tabStyleName" value="myTabBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tb" /> 
-                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tb"
waitEvent="rollOver"/> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(1).getChildAt(0).overImage"/>

+                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tb"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(1).currentSkin.overImage"/>

                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -466,7 +466,7 @@
                 <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
                 <!-- don't wait for mouse up event so we don't miss the complete event
-->
                 <DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tb"/>

-                <WaitForEvent eventName="complete" target="tb.getChildAt(0).getChildAt(0).selectedUpImage"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(0).currentSkin.selectedUpImage"
/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -483,7 +483,7 @@
                 <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
                 <!-- don't wait for mouse up event so we don't miss the complete event
-->
                 <DispatchMouseEvent type="mouseDown" localX="100" localY="9" target="tb"/>

-                <WaitForEvent eventName="complete" target="tb.getChildAt(1).getChildAt(0).selectedUpImage"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(1).currentSkin.selectedUpImage"
/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates_Spark.mxml?rev=1388320&r1=1388319&r2=1388320&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates_Spark.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates_Spark.mxml
Fri Sep 21 04:22:55 2012
@@ -439,8 +439,8 @@
                 <ResetComponent target="tb" className="mx.controls.TabBar"  waitEvent="updateComplete"
waitTarget="tb"/>
                 <RunCode code="addData(0);" />
                 <SetStyle target="tb" styleName="tabStyleName" value="myTabBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tb" />
-                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(0).getChildAt(0).overImage"
timeout="10000"/> 
+                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(0).currentSkin.overImage"
timeout="10000"/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -453,8 +453,8 @@
                 <ResetComponent target="tb" className="mx.controls.TabBar"  waitEvent="updateComplete"
waitTarget="tb"/>
                 <RunCode code="addData(0);" />
                 <SetStyle target="tb" styleName="tabStyleName" value="myTabBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tb" /> 
-                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(2).getChildAt(0).overImage"
/> 
+                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tb"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(2).currentSkin.overImage"
/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -471,7 +471,7 @@
                 <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
                 <!-- don't wait for mouse up event so we don't miss the complete event
-->
                 <DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tb"
/> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(0).getChildAt(0).selectedUpImage"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(0).currentSkin.selectedUpImage"
/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>
@@ -488,7 +488,7 @@
 								 
                 <DispatchMouseEvent type="rollOver" localX="85" localY="7" target="tb"
waitEvent="rollOver" waitTarget="tb" /> 
                 <DispatchMouseEvent type="mouseDown" localX="85" localY="7" target="tb"
waitEvent="mouseDown" waitTarget="tb" /> 
-                <WaitForEvent eventName="complete" target="tb.getChildAt(1).getChildAt(0).selectedUpImage"
/> 
+                <WaitForEvent eventName="complete" target="tb.getChildAt(1).currentSkin.selectedUpImage"
/> 
                 <WaitForEffectsToEnd />
                 <WaitForLayoutManager />
             </setup>



Mime
View raw message