incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1394811 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles: ./ baselines/
Date Fri, 05 Oct 2012 21:03:08 GMT
Author: cframpton
Date: Fri Oct  5 21:03:07 2012
New Revision: 1394811

URL: http://svn.apache.org/viewvc?rev=1394811&view=rev
Log:
Remove mac versions of tests and make sure they run on both windows and mac.

Removed:
    incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/baselines/TB_Style_Basic_buttonStyleName_multiple_mac.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/baselines/TB_Style_Basic_firstButtonStyleName_multiple_mac.png
Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml?rev=1394811&r1=1394810&r2=1394811&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml
Fri Oct  5 21:03:07 2012
@@ -130,22 +130,7 @@
                 <DispatchKeyEvent key="TAB"  />
                 <DispatchKeyEvent key="TAB" waitTarget="bb" waitEvent="focusIn" />
                 <AssertStyleValue target="bb" styleName="firstButtonStyleName" value="fontSizeCustom
underLineStyle"/>
-                <CompareBitmap target="bb.getChildAt(0)" url="../Styles/baselines/firstButtonStyleName_multiple.png"
timeout="5000" />
-            </body>
-        </TestCase>
-        
-          <TestCase testID="TB_Style_Basic_firstButtonStyleName_multiple_mac" description="ButtonBar
Basic styles." keywords="[style, ButtonBar, firstButtonStyleName]">
-            <setup>
-                <ResetComponent target="bb" className="mx.controls.ButtonBar" />
-                <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="bb"/>
-                <SetStyle target="bb" styleName="firstButtonStyleName"  value="fontSizeCustom
underLineStyle" waitEvent="updateComplete" waitTarget="bb"/>
-            </setup>
-            <body>
-                <DispatchKeyEvent key="TAB"  />
-                <DispatchKeyEvent key="TAB"  />
-                <DispatchKeyEvent key="TAB" waitTarget="bb" waitEvent="focusIn" />
-                <AssertStyleValue target="bb" styleName="firstButtonStyleName" value="fontSizeCustom
underLineStyle"/>
-                <CompareBitmap target="bb.getChildAt(0)" url="../Styles/baselines/$testID.png"
timeout="5000" numColorVariances="4" ignoreMaxColorVariance="true" />
+                <CompareBitmap target="bb.getChildAt(0)" url="../Styles/baselines/firstButtonStyleName_multiple.png"
 numColorVariances="4" ignoreMaxColorVariance="true" />
             </body>
         </TestCase>
         
@@ -160,24 +145,10 @@
                 <DispatchKeyEvent key="TAB"  />
                 <DispatchKeyEvent key="TAB" waitTarget="bb" waitEvent="focusIn" />
                 <AssertStyleValue target="bb" styleName="lastButtonStyleName" value="fontSizeCustom
underLineStyle"/>
-                <CompareBitmap target="bb.getChildAt(2)" url="../Styles/baselines/lastButtonStyleName_multiple.png"
timeout="5000" />
-            </body>
-        </TestCase>
-        <TestCase testID="TB_Style_Basic_buttonStyleName_multiple" description="ButtonBar
Basic styles." keywords="[style, ButtonBar, buttonStyleName]">
-            <setup>
-                <ResetComponent target="bb" className="mx.controls.ButtonBar" />
-                <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="bb"/>
-                <SetStyle target="bb" styleName="buttonStyleName"  value="fontSizeCustom
underLineStyle" waitEvent="updateComplete" waitTarget="bb"/>
-            </setup>
-            <body>
-                <DispatchKeyEvent key="TAB"  />
-                <DispatchKeyEvent key="TAB"  />
-                <DispatchKeyEvent key="TAB" waitTarget="bb" waitEvent="focusIn" />
-                <AssertStyleValue target="bb" styleName="buttonStyleName" value="fontSizeCustom
underLineStyle"/>
-                <CompareBitmap target="bb.getChildAt(1)" url="../Styles/baselines/buttonStyleName_multiple.png"
timeout="5000" />
+                <CompareBitmap target="bb.getChildAt(2)" url="../Styles/baselines/lastButtonStyleName_multiple.png"
 numColorVariances="4" ignoreMaxColorVariance="true"/>
             </body>
         </TestCase>
-	 <TestCase testID="TB_Style_Basic_buttonStyleName_multiple_mac" description="ButtonBar
Basic styles." keywords="[style, ButtonBar, buttonStyleName]">
+	 <TestCase testID="TB_Style_Basic_buttonStyleName_multiple" description="ButtonBar Basic
styles." keywords="[style, ButtonBar, buttonStyleName]">
             <setup>
                 <ResetComponent target="bb" className="mx.controls.ButtonBar" />
                 <RunCode code="addData(0);"  waitEvent="updateComplete" waitTarget="bb"/>
@@ -188,7 +159,7 @@
                 <DispatchKeyEvent key="TAB"  />
                 <DispatchKeyEvent key="TAB" waitTarget="bb" waitEvent="focusIn" />
                 <AssertStyleValue target="bb" styleName="buttonStyleName" value="fontSizeCustom
underLineStyle"/>
-                <CompareBitmap target="bb.getChildAt(1)" url="../Styles/baselines/$testID.png"
timeout="5000" numColorVariances="8" ignoreMaxColorVariance="true" />
+                <CompareBitmap target="bb.getChildAt(1)" url="../Styles/baselines/buttonStyleName_multiple.png"
 numColorVariances="8" ignoreMaxColorVariance="true" />
             </body>
         </TestCase>
 



Mime
View raw message