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/10/04 17:36:30 UTC

svn commit: r1394116 - in /incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties: Baselines/Border_Properties_borderStroke_RGS4_1@win.png Baselines/Border_Properties_borderStroke_RGS4_2@win.png Border_Properties.mxml

Author: cframpton
Date: Thu Oct  4 15:36:29 2012
New Revision: 1394116

URL: http://svn.apache.org/viewvc?rev=1394116&view=rev
Log:
Fix Border borderStoke test on Windows.

Added:
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_1@win.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_2@win.png   (with props)
Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Border_Properties.mxml

Added: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_1@win.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_1%40win.png?rev=1394116&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_1@win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_2@win.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_2%40win.png?rev=1394116&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Baselines/Border_Properties_borderStroke_RGS4_2@win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Border_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Border_Properties.mxml?rev=1394116&r1=1394115&r2=1394116&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Border_Properties.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Border/Properties/Border_Properties.mxml Thu Oct  4 15:36:29 2012
@@ -322,11 +322,15 @@
 		</setup>
 		<body>						
 			<SetProperty target="myBorderGrpRGS.myBorder.borderStroke" propertyName="weight" value="80" waitEvent="updateComplete" waitTarget="myBorderGrpRGS.myBorder"/>
-			<CompareBitmap url="../Properties/Baselines/$testID_1.png" numColorVariances="5" ignoreMaxColorVariance="true" target="myBorderGrpRGS" />
+			<CompareBitmap url="../Properties/Baselines/$testID_1.png" numColorVariances="5" ignoreMaxColorVariance="true" target="myBorderGrpRGS">
+				<ConditionalValue os="win" url="../Properties/Baselines/$testID_1@win.png"/>
+			</CompareBitmap>
 			<SetProperty target="myBorderGrpRGS.myBorder" propertyName="height" value="300" waitEvent="updateComplete" />
 			<SetProperty target="myBorderGrpRGS.myBorder" propertyName="width" value="300" waitEvent="updateComplete" />
-			<CompareBitmap url="../Properties/Baselines/$testID_2.png" numColorVariances="5" ignoreMaxColorVariance="true" target="myBorderGrpRGS" />
-			<ResetComponent target="myBorderGrpRGS" className="comps.customBorderRGS" waitEvent="updateComplete" />
+			<CompareBitmap url="../Properties/Baselines/$testID_2.png" numColorVariances="5" ignoreMaxColorVariance="true" target="myBorderGrpRGS">
+				<ConditionalValue os="win" url="../Properties/Baselines/$testID_2@win.png"/>
+			</CompareBitmap>
+			<ResetComponent target="myBorderGrpRGS" className="comps.customBorderRGS" waitEvent="updateComplete"/>
 		</body>
 	</TestCase>