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/12/07 21:38:43 UTC

svn commit: r1418465 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/Charts: Line/Properties/LineProperties.mxml Pie/Properties/PieProperties.mxml Plot/Properties/PlotProperties.mxml

Author: cframpton
Date: Fri Dec  7 20:38:42 2012
New Revision: 1418465

URL: http://svn.apache.org/viewvc?rev=1418465&view=rev
Log:
Fix up a few of the Chart tests so they also run on Windows.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/Properties/LineProperties.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/Properties/LineProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/Properties/LineProperties.mxml?rev=1418465&r1=1418464&r2=1418465&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/Properties/LineProperties.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/Properties/LineProperties.mxml Fri Dec  7 20:38:42 2012
@@ -348,7 +348,7 @@
 				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndex" value="3" />
 			</setup>
 			<body>
-				<CompareBitmap target="comp"   url="../Properties/Baselines/LineSeries_selectionMode_Single.png"  timeout="5000"/>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/LineSeries_selectionMode_Single.png" timeout="5000" ignoreMaxColorVariance="true" numColorVariances="2"/>
 			</body> 
 		</TestCase>
 
@@ -379,7 +379,7 @@
 				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndices" value="[3,15,9,20]" />
 			</setup>
 			<body>
-				<CompareBitmap target="comp"   url="../Properties/Baselines/LineSeries_selectionMode_Multiple.png"  timeout="5000"/>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/LineSeries_selectionMode_Multiple.png" timeout="5000" ignoreMaxColorVariance="true" numColorVariances="2"/>
 			</body> 
 		</TestCase> 
 

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml?rev=1418465&r1=1418464&r2=1418465&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml Fri Dec  7 20:38:42 2012
@@ -117,7 +117,7 @@
 				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndex" value="15"  />
 			</setup>
 			<body>
-				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Single.png"  timeout="5000"/>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Single.png"  timeout="5000" maxColorVariance="5" numColorVariances="1"/>
 			</body> 
 		</TestCase>
 
@@ -129,10 +129,9 @@
 				<SetProperty target="comp" waitTarget="comp" propertyName="selectionMode" value="none" />				
 				<SetProperty target="comp.series.0" waitTarget="comp.series.0" propertyName="selectable" value="true" /> 
 				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndex" value="3" />
-
 			</setup>
 			<body>
-				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_None.png"  timeout="5000"/> 
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_None.png" timeout="5000" maxColorVariance="5" numColorVariances="1"/> 
 			</body> 
 		</TestCase> 
 
@@ -146,7 +145,7 @@
 				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndices" value="[3,15,9,20]" />
 			</setup>
 			<body>
-				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Multiple.png"  timeout="5000"/>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Multiple.png"  timeout="5000" maxColorVariance="5" numColorVariances="1"/>
 			</body> 
 		</TestCase>
 

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml?rev=1418465&r1=1418464&r2=1418465&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml Fri Dec  7 20:38:42 2012
@@ -418,7 +418,7 @@
                 <RunCode code="MultipleAxesUtils.AxisRenderers('axisAtSeries', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>            
             </setup>
             <body>
-                <CompareBitmap target="comp"   url="../Properties/Baselines/PlotSeries_axisAtSeriesLevel.png" />
+                <CompareBitmap target="comp" url="../Properties/Baselines/PlotSeries_axisAtSeriesLevel.png" ignoreMaxColorVariance="true" numColorVariances="25" />
             </body> 
         </TestCase>
     </testCases>