incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1387027 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar: SWFs/comps/ Styles/ Styles/baselines/
Date Tue, 18 Sep 2012 07:53:36 GMT
Author: aharui
Date: Tue Sep 18 07:53:36 2012
New Revision: 1387027

URL: http://svn.apache.org/viewvc?rev=1387027&view=rev
Log:
Fix ToggleButton tests

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_NonselectedTab.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_selectedTab.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_NonselectedTab.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_selectedTab.png

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
Tue Sep 18 07:53:36 2012
@@ -25,37 +25,37 @@
 		<mx:State name="up" />
 		<mx:State name="over" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonOver.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonOver.swf" id="overImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="down" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDown.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDown.swf" id="downImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="disabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDisabled.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDisabled.swf" id="disabledImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedUp" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.swf" id="selectedUpImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedOver" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.swf" id="selectedOverImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDown" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" id="selectedDownImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDisabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" maintainAspectRatio="false"
width="100%" height="100%"/> 
+				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" id="selectedDisabledImage"
maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 	</mx:states>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
Tue Sep 18 07:53:36 2012
@@ -469,8 +469,10 @@
                 <ResetComponent target="tbb" className="mx.controls.ToggleButtonBar" 
waitEvent="updateComplete" waitTarget="tbb"/>   
                 <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="tbb"/>
                 <SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tbb" /> 
-                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb"
waitEvent="rollOver" waitTarget="tbb" /> 
+                <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb"
/> 
+				<WaitForEvent eventName="complete" target="tbb.getChildAt(0).currentSkin.overImage"
/> 
                 <WaitForEffectsToEnd />
+				<WaitForLayoutManager />
             </setup>
             <body>
                 <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_selectedTab.png"
timeout="5000" />
@@ -481,8 +483,10 @@
                 <ResetComponent target="tbb" className="mx.controls.ToggleButtonBar" 
waitEvent="updateComplete" waitTarget="tbb"/>   
                 <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="tbb"/>
                 <SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tbb" /> 
-                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb"
waitEvent="rollOver" waitTarget="tbb" /> 
+                <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb"
/> 
+				<WaitForEvent eventName="complete" target="tbb.getChildAt(1).currentSkin.overImage"
/> 
                 <WaitForEffectsToEnd />
+				<WaitForLayoutManager />
             </setup>
             <body>
                 <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_NonselectedTab.png"
timeout="5000" />
@@ -492,10 +496,12 @@
             <setup>
                 <ResetComponent target="tbb" className="mx.controls.ToggleButtonBar" 
waitEvent="updateComplete" waitTarget="tbb"/>   
                 <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="tbb"/>
-                <SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tbb" /> 
+                <SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarSWFRunTime"
waitEvent="updateComplete" /> 
                 <DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb"
waitEvent="rollOver" waitTarget="tbb" /> 
-                <DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tbb"
waitEvent="mouseDown" waitTarget="tbb" /> 
+                <DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tbb"
/> 
+				<WaitForEvent eventName="complete" target="tbb.getChildAt(0).currentSkin.downImage"
/> 
                 <WaitForEffectsToEnd />
+				<WaitForLayoutManager /> 
             </setup>
             <body>
                 <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_selectedTab.png"
timeout="5000" />
@@ -507,8 +513,10 @@
                 <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="tbb"/>
                 <SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarSWFRunTime"
waitEvent="updateComplete" waitTarget="tbb" /> 
                 <DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb"
waitEvent="rollOver" waitTarget="tbb" /> 
-                <DispatchMouseEvent type="mouseDown" localX="100" localY="10" target="tbb"
waitEvent="mouseDown" waitTarget="tbb" /> 
+                <DispatchMouseEvent type="mouseDown" localX="100" localY="10" target="tbb"
/> 
+				<WaitForEvent eventName="complete" target="tbb.getChildAt(1).currentSkin.downImage"
/> 
                 <WaitForEffectsToEnd />
+				<WaitForLayoutManager />
             </setup>
             <body>
                 <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_NonselectedTab.png"
timeout="5000" />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_NonselectedTab.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_NonselectedTab.png?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_selectedTab.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseDown_selectedTab.png?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_NonselectedTab.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_NonselectedTab.png?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_selectedTab.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_SWF_mouseOver_selectedTab.png?rev=1387027&r1=1387026&r2=1387027&view=diff
==============================================================================
Binary files - no diff available.



Mime
View raw message