incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1381718 - in /incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles: FxContainer_styles_tester.mxml baselines/FxContainerStyle_FxToggleButton_runtimeCSS_unselected.png
Date Thu, 06 Sep 2012 19:03:19 GMT
Author: aharui
Date: Thu Sep  6 19:03:18 2012
New Revision: 1381718

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

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/FxContainer_styles_tester.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/baselines/FxContainerStyle_FxToggleButton_runtimeCSS_unselected.png

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/FxContainer_styles_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/FxContainer_styles_tester.mxml?rev=1381718&r1=1381717&r2=1381718&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/FxContainer_styles_tester.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/FxContainer_styles_tester.mxml
Thu Sep  6 19:03:18 2012
@@ -134,6 +134,7 @@
                 <AssertStyleValue target="togglebutton1" styleName="chromeColor" value="0xFFCC99"/>
                 <AssertStyleValue target="togglebutton1" styleName="focusColor" value="0xB80000"/>
                 <AssertStyleValue target="togglebutton1" styleName="symbolColor" value="0xFF0066"/>
+				<WaitForLayoutManager />
                 <CompareBitmap numColorVariances="7" maxColorVariance="20"  url="../styles/baselines/$testID.png"
target="togglebutton_box"/>
             </body>
         </TestCase>
@@ -301,6 +302,7 @@
             <setup>
 				<RunCode code="application.loadCSS()" waitTarget="eventDispatcher" waitEvent="complete"
/>
                 <ResetComponent target="togglebutton1" className="spark.components.ToggleButton"
waitTarget="togglebutton1" waitEvent="updateComplete" />
+				<SetProperty propertyName="label" target="togglebutton1" value="FxToggleButton" waitEvent="updateComplete"
waitTarget="togglebutton1" />
                 <RunCode code="application.buttona.setFocus()" waitEvent="focusIn" waitTarget="buttona"
/>
                 <DispatchKeyEvent key="TAB" waitTarget="button1" waitEvent="focusIn" />
                 <DispatchKeyEvent key="TAB" waitTarget="radiobutton1" waitEvent="focusIn"
/>
@@ -316,6 +318,8 @@
         <TestCase testID="FxContainerStyle_FxToggleButton_runtimeCSS_selected" keywords="[FxToggleButton]"
description="Ensure that ToggleButton looks correct when global styles are set.">
             <setup>
 				<RunCode code="application.loadCSS()" waitTarget="eventDispatcher" waitEvent="complete"
/>
+				<ResetComponent target="togglebutton1" className="spark.components.ToggleButton" waitTarget="togglebutton1"
waitEvent="updateComplete" />
+				<SetProperty propertyName="label" target="togglebutton1" value="FxToggleButton" waitEvent="updateComplete"
waitTarget="togglebutton1" />
                 <RunCode code="application.buttona.setFocus()" waitEvent="focusIn" waitTarget="buttona"
/>
                 <DispatchKeyEvent key="TAB" waitTarget="button1" waitEvent="focusIn" />
                 <DispatchKeyEvent key="TAB" waitTarget="radiobutton1" waitEvent="focusIn"
/>
@@ -326,6 +330,7 @@
                 <AssertStyleValue target="togglebutton1" styleName="chromeColor" value="0x9999FF"/>
                 <AssertStyleValue target="togglebutton1" styleName="focusColor" value="0x009900"/>
                 <AssertStyleValue target="togglebutton1" styleName="symbolColor" value="0x66FF00"/>
+				<WaitForLayoutManager />
                 <CompareBitmap numColorVariances="7" maxColorVariance="20"  url="../styles/baselines/$testID.png"
target="togglebutton_box"/>
             </body>
         </TestCase>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/baselines/FxContainerStyle_FxToggleButton_runtimeCSS_unselected.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/SkinnableContainer/styles/baselines/FxContainerStyle_FxToggleButton_runtimeCSS_unselected.png?rev=1381718&r1=1381717&r2=1381718&view=diff
==============================================================================
Binary files - no diff available.



Mime
View raw message