You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/09/28 23:22:50 UTC
svn commit: r1391663 - in
/incubator/flex/sdk/branches/develop/mustella/tests:
components/ButtonBar/Styles/ containers/Panel/Styles/
containers/TitleWindow/Mirroring/ containers/form/properties/
Author: cframpton
Date: Fri Sep 28 21:22:50 2012
New Revision: 1391663
URL: http://svn.apache.org/viewvc?rev=1391663&view=rev
Log:
Fix up a few tests by adding numColorVariances and maxColorVariance or ignoreMaxColorVariance.
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/components/ButtonBar/Styles/ButtonBar_Styles_StyleName.mxml
incubator/flex/sdk/branches/develop/mustella/tests/containers/Panel/Styles/SkinImprovements_Styles_Panel_Skin_Scroll_Spark.mxml
incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester2.mxml
incubator/flex/sdk/branches/develop/mustella/tests/containers/form/properties/Form_VerifyFix_spark.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=1391663&r1=1391662&r2=1391663&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 Sep 28 21:22:50 2012
@@ -145,7 +145,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/$testID.png" timeout="5000" />
+ <CompareBitmap target="bb.getChildAt(0)" url="../Styles/baselines/$testID.png" timeout="5000" numColorVariances="4" ignoreMaxColorVariance="true" />
</body>
</TestCase>
@@ -188,7 +188,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" />
+ <CompareBitmap target="bb.getChildAt(1)" url="../Styles/baselines/$testID.png" timeout="5000" numColorVariances="8" ignoreMaxColorVariance="true" />
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/Panel/Styles/SkinImprovements_Styles_Panel_Skin_Scroll_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/Panel/Styles/SkinImprovements_Styles_Panel_Skin_Scroll_Spark.mxml?rev=1391663&r1=1391662&r2=1391663&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/Panel/Styles/SkinImprovements_Styles_Panel_Skin_Scroll_Spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/Panel/Styles/SkinImprovements_Styles_Panel_Skin_Scroll_Spark.mxml Fri Sep 28 21:22:50 2012
@@ -85,7 +85,7 @@
<WaitForEffectsToEnd />
</setup>
<body>
- <CompareBitmap target="componentPanelwithscroll" url="../Styles/Baselines/Panel_BorderSkin_scroll2_Spark.png" />
+ <CompareBitmap target="componentPanelwithscroll" url="../Styles/Baselines/Panel_BorderSkin_scroll2_Spark.png" numColorVariances="4" maxColorVariance="5"/>
</body>
</TestCase>
</testCases>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester2.mxml?rev=1391663&r1=1391662&r2=1391663&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester2.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/TitleWindow/Mirroring/TitleWindow_Mirroring_tester2.mxml Fri Sep 28 21:22:50 2012
@@ -153,7 +153,7 @@
<AssertPropertyValue target="tw4.chk2" propertyName="layoutDirection" value="ltr"/>
<AssertPropertyValue target="tw4.chk3" propertyName="layoutDirection" value="rtl"/>
- <CompareBitmap target="tw4" url="../Mirroring/baselines/$testID.png" timeout="2500" />
+ <CompareBitmap target="tw4" url="../Mirroring/baselines/$testID.png" timeout="2500" numColorVariances="2" maxColorVariance="5" />
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/properties/Form_VerifyFix_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/properties/Form_VerifyFix_spark.mxml?rev=1391663&r1=1391662&r2=1391663&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/form/properties/Form_VerifyFix_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/form/properties/Form_VerifyFix_spark.mxml Fri Sep 28 21:22:50 2012
@@ -64,7 +64,7 @@
<body>
- <CompareBitmap url="../properties/baselines/verifyfix_spark.png" target="myForm"/>
+ <CompareBitmap url="../properties/baselines/verifyfix_spark.png" target="myForm" numColorVariances="5" maxColorVariance="5"/>
</body>