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 2012/09/05 20:49:53 UTC

svn commit: r1381294 - in /incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components: ComboBox/Styles/ DataGrid/Styles/ DataGrid/Styles/Baselines/

Author: aharui
Date: Wed Sep  5 18:49:52 2012
New Revision: 1381294

URL: http://svn.apache.org/viewvc?rev=1381294&view=rev
Log:
Fix more gumbo tests

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ComboBox/Styles/ComboBox_Styles_tester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_caretRollOverColor_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_cell1.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_row1.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_blue.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_cellgray.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionBlue.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionGreen.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgray.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgreen.png
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/DataGrid_Styles_basic.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ComboBox/Styles/ComboBox_Styles_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ComboBox/Styles/ComboBox_Styles_tester.mxml?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ComboBox/Styles/ComboBox_Styles_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/ComboBox/Styles/ComboBox_Styles_tester.mxml Wed Sep  5 18:49:52 2012
@@ -125,7 +125,7 @@
 				<DispatchKeyEvent key="TAB" waitEvent="focusIn" waitTarget="myCB" />
 				<DispatchKeyEvent key="TAB" waitEvent="focusIn" waitTarget="myCB1" />
 				<AssertStyleValue target="myCB1" styleName="focusColor" value="0xFF0000"/>												
-				<AssertPixelValue target="stage" x="65" y="51" valueExpression="value=0x696969" />								
+				<AssertPixelValue target="stage" x="65" y="51" valueExpression="value=0xFF7D7D" />								
 			</body>
 		</TestCase>		
 		

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_caretRollOverColor_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_caretRollOverColor_css.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_cell1.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_cell1.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_row1.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_rolloverColor_test001_row1.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_blue.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_blue.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_cellgray.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test001_cellgray.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionBlue.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionBlue.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionGreen.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellRegionGreen.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgray.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgray.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgreen.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/Baselines/style_selectionColor_test002_cellgreen.png?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/DataGrid_Styles_basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/DataGrid_Styles_basic.mxml?rev=1381294&r1=1381293&r2=1381294&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/DataGrid_Styles_basic.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Styles/DataGrid_Styles_basic.mxml Wed Sep  5 18:49:52 2012
@@ -342,9 +342,10 @@
 			<SetStyle target="dataGrid2" styleName="styleName" value="style4" waitEvent="updateComplete" waitTarget="dataGrid2" />
 			<RunCode code="FlexGlobals.topLevelApplication.dataGrid2.setFocus()" waitEvent="focusIn" waitTarget="dataGrid2" />
 			<DispatchMouseEvent type="{MouseEvent.MOUSE_OVER}" target="dataGrid2.grid" localX="110" localY="20" />
-			<DispatchMouseEvent type="{MouseEvent.MOUSE_MOVE}" target="dataGrid2.grid" localX="110" localY="30" waitEvent="mouseOver"/>
+			<DispatchMouseEvent type="{MouseEvent.MOUSE_MOVE}" target="dataGrid2.grid" localX="110" localY="30"/>
 
 			<AssertEvent target="dataGrid2.grid" eventName="{GridEvent.GRID_ROLL_OVER}" eventClass="spark.events::GridEvent" />
+			<WaitForLayoutManager />
 			<CompareBitmap url="../Styles/baselines/$testID.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 
 		</body>
@@ -465,6 +466,7 @@
 		    <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="4"/>
 		    <DispatchMouseEvent type="{MouseEvent.MOUSE_OVER}" target="dataGrid2.grid" localX="120" localY="20" />
 		    <DispatchMouseEvent type="{MouseEvent.MOUSE_MOVE}" target="dataGrid2.grid" localX="120" localY="30" />
+			<WaitForLayoutManager />
 		    <CompareBitmap url="../Styles/baselines/$testID_row1.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		   
 		
@@ -502,7 +504,8 @@
 		    <CompareBitmap url="../Styles/baselines/$testID_cellRegionGreen.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		    
 		    <SetStyle target="dataGrid2" styleName="selectionColor" value="0x22C2D4" waitEvent="updateComplete" waitTarget="dataGrid2" /> 
-		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.addSelectedCell(4,3)" value="true" />	  
+		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.addSelectedCell(4,3)" value="true" />	
+			<WaitForLayoutManager />
 		    <CompareBitmap url="../Styles/baselines/$testID_blue.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		</body>
 	    </TestCase>
@@ -527,16 +530,19 @@
 		
 		    <SetStyle target="dataGrid2" styleName="selectionColor" value="0x37D422" waitEvent="updateComplete" waitTarget="dataGrid2" /> 
 		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.setSelectedIndex(3)" value="true" />
+			<WaitForLayoutManager />
 		    <CompareBitmap url="../Styles/baselines/$testID_cellgreen.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		    
 		    <SetProperty target="dataGrid2" propertyName="selectionMode" value="multipleRows" waitEvent="enterFrame" waitTarget="stage" />
 		
 		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.addSelectedIndex(4)" value="true" />
 	  	    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.addSelectedIndex(5)" value="true" />
+			<WaitForLayoutManager />
 		    <CompareBitmap url="../Styles/baselines/$testID_cellRegionGreen.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		    
 		    <SetStyle target="dataGrid2" styleName="selectionColor" value="0x22C2D4" waitEvent="updateComplete" waitTarget="dataGrid2" /> 
 		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.addSelectedIndex(0)" value="true" />	  
+			<WaitForLayoutManager />
 		    <CompareBitmap url="../Styles/baselines/$testID_cellRegionBlue.png" numColorVariances="20" maxColorVariance="20" target="dataGrid2"/>
 		   <!-- clear selection -->
 		   <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid2.clearSelection()" value="true" />