You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/04/16 06:48:47 UTC
[13/50] [abbrv] git commit: [flex-sdk] - merge develop branch
mustella test fixes to release4.9 branch (except mobile fixes). Rev #'s:
1419339, 1419596, 1420380, 1420405, 1420426, 1420445, 1420836, 1420842,
1420852, 1420905, 1420927, 1420973, 1421673. m
merge develop branch mustella test fixes to release4.9 branch (except mobile fixes). Rev #'s: 1419339, 1419596, 1420380, 1420405, 1420426, 1420445, 1420836, 1420842, 1420852, 1420905, 1420927, 1420973, 1421673. mini_run -all passed on FP11.1
git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/sdk/branches/release4.9@1424002 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/54c3e9f1
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/54c3e9f1
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/54c3e9f1
Branch: refs/heads/develop
Commit: 54c3e9f185ea7a93e07afe61057ea9fb3b706f55
Parents: b26a117
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 19 18:26:44 2012 +0000
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 19 18:26:44 2012 +0000
----------------------------------------------------------------------
mustella/as3/src/mustella/Assert.as | 24 +-
mustella/as3/src/mustella/AssertError.as | 18 +-
mustella/as3/src/mustella/AssertMethodValue.as | 26 +-
mustella/as3/src/mustella/AssertPropertyValue.as | 24 +-
mustella/as3/src/mustella/ErrorArray.as | 23 +
.../SWFs/ClassSelectors_main_runtimeCSS.mxml | 15 +
.../SWFs/IDSelectors_main_runtimeCSS.mxml | 15 +
.../AdvancedCSS_ClassSelectors_RuntimeCSS.mxml | 35 +-
.../AdvancedCSS_ClassSelectors_Source.mxml | 4 +-
.../baselines/id_classSelector_basic_style2.png | Bin 0 -> 711 bytes
.../baselines/id_classSelector_basic_style2_2.png | Bin 0 -> 4176 bytes
.../id_classSelector_basic_style_neg2.png | Bin 0 -> 702 bytes
.../id_classSelector_basic_style_neg2_2.png | Bin 0 -> 4324 bytes
.../AdvancedCSS_IDSelectors_RuntimeCSS.mxml | 13 +-
.../RTL_Compiler_LocaleParams_2_Tester.mxml | 114 ++-
.../Properties/Baselines/columnspan.png | Bin 6942 -> 6891 bytes
.../Properties/Baselines/currency.png | Bin 6806 -> 6757 bytes
.../datagrid_columnspanning_withcolgroups.png | Bin 12608 -> 12195 bytes
...datagrid_customheaderrenderer_withcolgroups.png | Bin 3650 -> 3637 bytes
.../datagrid_draggablecolumns_false_state1.png | Bin 6843 -> 6809 bytes
.../datagrid_draggablecolumns_false_state2.png | Bin 7388 -> 7107 bytes
.../Baselines/datagrid_draggablecolumns_state1.png | Bin 6843 -> 6809 bytes
.../Baselines/datagrid_draggablecolumns_state2.png | Bin 6825 -> 6789 bytes
.../Properties/Baselines/datagrid_enabled2.png | Bin 6698 -> 6658 bytes
.../Baselines/datagrid_focusenabledfalse.png | Bin 7994 -> 7957 bytes
.../Baselines/datagrid_focusenabledtrue.png | Bin 8028 -> 7988 bytes
.../datagrid_formatting_withcolgroups.png | Bin 12193 -> 11749 bytes
.../datagrid_groupeditable_withcolgroups.png | Bin 10389 -> 9799 bytes
.../Properties/Baselines/datagrid_groupedview.png | Bin 2083 -> 2040 bytes
.../datagrid_groupedview_withcolgroups.png | Bin 10389 -> 9799 bytes
.../datagrid_headerrenderer_withcolgroups.png | Bin 10541 -> 10311 bytes
.../Properties/Baselines/datagrid_height_120.png | Bin 4782 -> 4854 bytes
.../Properties/Baselines/datagrid_height_200.png | Bin 7193 -> 7186 bytes
.../Properties/Baselines/datagrid_height_30.png | Bin 1133 -> 1084 bytes
.../Baselines/datagrid_hierarch_data_colgroups.png | Bin 10953 -> 10444 bytes
.../datagrid_horizontalscrollpolicy_off.png | Bin 6843 -> 6809 bytes
.../datagrid_horizontalscrollpolicy_on.png | Bin 7466 -> 7434 bytes
.../datagrid_insertcolumn_withcolgroups.png | Bin 12539 -> 12186 bytes
.../Baselines/datagrid_insertcolumngroups.png | Bin 12763 -> 12409 bytes
.../datagrid_itemeditable_withcolgroups.png | Bin 11581 -> 11083 bytes
.../Baselines/datagrid_multicellselection.png | Bin 6944 -> 6908 bytes
.../Baselines/datagrid_rowcount_withcolgroups.png | Bin 3523 -> 3352 bytes
.../Baselines/datagrid_singlecellselection.png | Bin 6843 -> 6809 bytes
.../datagrid_tree_displayitemsexpanded.png | Bin 10134 -> 10235 bytes
.../Baselines/datagrid_tree_multicellselection.png | Bin 10164 -> 10271 bytes
.../datagrid_tree_singlecellselection.png | Bin 10134 -> 10235 bytes
.../Properties/Baselines/datagrid_treeview.png | Bin 3623 -> 3696 bytes
.../Baselines/datagrid_verticalscrollpolicy.png | Bin 6179 -> 6146 bytes
.../datagrid_verticalscrollpolicy_auto.png | Bin 6843 -> 6809 bytes
.../Baselines/datagrid_verticalscrollpolicy_on.png | Bin 6873 -> 6840 bytes
.../Baselines/datagrid_verticalscrollposition.png | Bin 6684 -> 6642 bytes
.../Baselines/datagrid_visible_withcolgroups.png | Bin 8951 -> 8909 bytes
.../Properties/Baselines/datagrid_width_200.png | Bin 6038 -> 6004 bytes
.../Properties/Baselines/datagrid_width_30.png | Bin 972 -> 961 bytes
.../Properties/Baselines/datagrid_width_700.png | Bin 6298 -> 6212 bytes
.../Properties/Baselines/datagrid_x_50.png | Bin 6843 -> 6809 bytes
.../Properties/Baselines/datagrid_x_minus10.png | Bin 8009 -> 7972 bytes
.../Properties/Baselines/datagrid_y_50.png | Bin 7997 -> 7960 bytes
.../Properties/Baselines/datagrid_y_minus10.png | Bin 7843 -> 7765 bytes
.../AdvancedDataGrid/Properties/Baselines/date.png | Bin 7731 -> 7681 bytes
.../Properties/Baselines/groupview.png | Bin 8473 -> 8433 bytes
.../Properties/Baselines/number.png | Bin 6839 -> 6787 bytes
.../Properties/Baselines/phone.png | Bin 6689 -> 6641 bytes
.../property_layoutDirection_application.png | Bin 6843 -> 6809 bytes
.../property_layoutDirection_application_ltr.png | Bin 6925 -> 6882 bytes
.../Baselines/property_layoutDirection_ltr.png | Bin 6843 -> 6809 bytes
.../Baselines/property_layoutDirection_rtl.png | Bin 6925 -> 6882 bytes
.../Properties/Baselines/style1.png | Bin 6721 -> 6665 bytes
.../Properties/Baselines/style2.png | Bin 6655 -> 6597 bytes
.../Properties/Baselines/style3.png | Bin 6656 -> 6598 bytes
.../Baselines/use_grouped_data_mirroring.png | Bin 10526 -> 9959 bytes
.../Properties/Baselines/zipcode.png | Bin 6541 -> 6495 bytes
.../Properties/adg_mirroring_test.mxml | 10 +-
.../Properties/advanceddatagrid_columngroup.mxml | 36 +-
.../Properties/advanceddatagrid_properties.mxml | 44 +-
...anceddatagrid_properties_scrollcontrolbase.mxml | 64 +-
.../advanceddatagrid_properties_uicomponent.mxml | 114 ++--
.../AdvancedDataGrid/Properties/formatters.mxml | 2 +-
.../SWFs/AdvancedDataGridColumnGroupMain.mxml | 29 +-
.../SWFs/AdvancedDataGridMain.mxml | 79 ++-
.../AdvancedDataGrid/SWFs/Formatters_Main.mxml | 29 +-
.../Baselines/datagrid_alternatingitemcolors.png | Bin 5531 -> 5504 bytes
.../Styles/Baselines/datagrid_bordersides_all.png | Bin 5736 -> 5700 bytes
.../Styles/Baselines/datagrid_bordersides_lr.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_borderstyle_inset.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_borderstyle_outset.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_dropShadowEnabled_true.png | Bin 5736 -> 5700 bytes
.../Styles/Baselines/datagrid_fontfamily_arial.png | Bin 9130 -> 0 bytes
.../Styles/Baselines/datagrid_fontsize_16.png | Bin 7809 -> 7772 bytes
.../Styles/Baselines/datagrid_fontstyle_italic.png | Bin 5997 -> 6071 bytes
.../Styles/Baselines/datagrid_fontweight_bold.png | Bin 6143 -> 5924 bytes
.../Styles/Baselines/datagrid_headercolors.png | Bin 5204 -> 5198 bytes
.../Styles/Baselines/datagrid_paddingLeft.png | Bin 5736 -> 5700 bytes
.../Styles/Baselines/datagrid_paddingRight.png | Bin 5736 -> 5700 bytes
.../Styles/Baselines/datagrid_paddingTop.png | Bin 6199 -> 6185 bytes
.../Styles/Baselines/datagrid_paddingbottom.png | Bin 6187 -> 6156 bytes
.../Baselines/datagrid_shadowdirection_right.png | Bin 5736 -> 5700 bytes
.../Styles/Baselines/datagrid_shadowdistance_8.png | Bin 5736 -> 5700 bytes
.../datagrid_textdecoration_underline.png | Bin 5823 -> 5804 bytes
.../Styles/Baselines/datagrid_userollover.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_verticalalign_bottom.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_verticalalign_top.png | Bin 5736 -> 5700 bytes
.../Baselines/datagrid_verticalgridlinestrue.png | Bin 5384 -> 5339 bytes
.../style_fontFamily_AS_EmbeddedArial.png | Bin 0 -> 5788 bytes
.../style_fontFamily_AS_EmbeddedVerdana.png | Bin 0 -> 5700 bytes
.../style_fontFamily_mxml_EmbeddedArial.png | Bin 0 -> 5788 bytes
.../style_fontFamily_mxml_EmbeddedVerdana.png | Bin 0 -> 5700 bytes
.../Styles/advanceddatagrid_styles_listbase.mxml | 5 -
.../advanceddatagrid_styles_scrollcontrolbase.mxml | 18 +-
.../Integration/ButtonBar_VS_Methods.mxml | 16 +-
.../Integration/ButtonBar_VS_Methods2.mxml | 2 +-
.../Properties/DropDownList_Properties_Images.mxml | 3 +-
.../Integration/TabBar_ViewStack_Methods.mxml | 16 +-
.../core/Group/methods/Group_Methods_main.mxml | 638 +++++++-------
.../Properties/properties_hostComponent.mxml | 10 +-
.../AsyncListView_createFailedItemFunction.mxml | 4 +-
.../Properties/Locale_Properties_country.mxml | 18 +-
.../Properties/Locale_Properties_language.mxml | 18 +-
.../Properties/Locale_Properties_variant.mxml | 18 +-
.../Methods/ResourceBundle_Methods_getBoolean.mxml | 54 +-
.../ResourceBundle_Methods_getStringArray.mxml | 56 +-
.../ResourceBundle_Properties_bundleName.mxml | 20 +-
.../ResourceBundle_Properties_content.mxml | 20 +-
.../ResourceBundle_Properties_locale.mxml | 20 +-
...ResourceManager_Methods_loadResourceModule.mxml | 12 +-
...sourceManager_Methods_removeResourceBundle.mxml | 56 +-
.../resources/ResourceManager/SWFs/pre_compile.sh | 8 +-
.../Sort/Properties/SF_Sort_fields_tester.mxml | 4 +-
.../Fallback/NF_Fallback_parseNumber_tester.mxml | 52 +-
.../Fallback/NF_Fallback_parse_tester.mxml | 726 +++++++-------
.../Methods/NF_parseNumber_tester.mxml | 60 +-
.../NumberFormatter/Methods/NF_parse_tester.mxml | 248 +++---
...CV_validate_error_message_localized_tester.mxml | 2 +-
133 files changed, 1519 insertions(+), 1303 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/as3/src/mustella/Assert.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/Assert.as b/mustella/as3/src/mustella/Assert.as
index e57d320..7e7fcd8 100644
--- a/mustella/as3/src/mustella/Assert.as
+++ b/mustella/as3/src/mustella/Assert.as
@@ -42,14 +42,14 @@ public class Assert extends TestStep
{
// list of properties we don't examine in determining equivalence
private static var excludeList:Array = [
- "stage",
- "systemManager",
- "parent",
- "owner",
- "target",
+ "stage",
+ "systemManager",
+ "parent",
+ "owner",
+ "target",
"currentTarget"
];
-
+
/**
* Called by the test case in case you need to set up before execute()
*/
@@ -150,7 +150,7 @@ public class Assert extends TestStep
if (value == null)
return "null";
var s:String;
-
+
if (value is Number)
{
if ((value is int) || (value is uint))
@@ -165,6 +165,16 @@ public class Assert extends TestStep
s = ObjectUtil.toString(value, null, excludeList);
return s;
}
+
+ protected function contains(value:*, expectedError:ErrorArray):Boolean {
+ if (expectedError && expectedError.parts && expectedError.parts.length)
+ for (var i:uint = 0; i < expectedError.parts.length; i++) {
+ if (valueToString(value).indexOf(valueToString(expectedError.parts[i])) == -1)
+ return false;
+ }
+
+ return true;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/as3/src/mustella/AssertError.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/AssertError.as b/mustella/as3/src/mustella/AssertError.as
index c87d23d..59fd925 100644
--- a/mustella/as3/src/mustella/AssertError.as
+++ b/mustella/as3/src/mustella/AssertError.as
@@ -54,7 +54,7 @@ public class AssertError extends Assert
catch (e1:Error)
{
TestOutput.logResult("Exception thrown evaluating value expression.");
- testResult.doFail (e1.getStackTrace());
+ testResult.doFail (e1.getStackTrace());
return;
}
value = context.value;
@@ -62,16 +62,20 @@ public class AssertError extends Assert
TestOutput.logResult("WARNING: value was not set by valueExpression. 'value=' missing from expression?");
}
- if (valueToString(testCase.lastError) != valueToString(value))
- {
- testResult.doFail ( "Expected Error " + valueToString(value) + ", got " + valueToString(testCase.lastError));
- }
+ if (errorArray) {
+ var errors:ErrorArray = new ErrorArray(errorArray);
+ if (!contains(testCase.lastError, errors))
+ testResult.doFail("Expected Error contains " + valueToString(errors) + ", got " + valueToString(testCase.lastError));
+ } else if (valueToString(testCase.lastError) != valueToString(value))
+ testResult.doFail("Expected Error " + valueToString(value) + ", got " + valueToString(testCase.lastError));
}
/**
- * The value the property should have
+ * The value the property should have.
*/
- public var value:Object;
+ public var value:*;
+
+ public var errorArray:Array;
/**
* customize string representation
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/as3/src/mustella/AssertMethodValue.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/AssertMethodValue.as b/mustella/as3/src/mustella/AssertMethodValue.as
index a7063a1..96b7cfb 100644
--- a/mustella/as3/src/mustella/AssertMethodValue.as
+++ b/mustella/as3/src/mustella/AssertMethodValue.as
@@ -60,7 +60,7 @@ use namespace mx_internal;
public class AssertMethodValue extends Assert
{
public var conditionalValues:Vector.<ConditionalValue> = null;
-
+
/**
* Test the value of a property, log result if failure.
*/
@@ -68,9 +68,9 @@ public class AssertMethodValue extends Assert
{
var cv:ConditionalValue = null;
var dispatcher:EventDispatcher = this;
-
+
context.resetValue();
-
+
// Use MultiResult to determine the proper value (or valueExpression, below).
if(conditionalValues){
cv = new MultiResult().chooseCV(conditionalValues);
@@ -81,9 +81,9 @@ public class AssertMethodValue extends Assert
}
// Execute the method.
- try
+ try
{
- dispatchEvent(new RunCodeEvent("method", root["document"], context, testCase, testResult));
+ dispatchEvent(new RunCodeEvent("method", root["document"], context, testCase, testResult));
}
catch (e:Error)
{
@@ -106,7 +106,7 @@ public class AssertMethodValue extends Assert
catch (e1:Error)
{
TestOutput.logResult("Exception thrown evaluating value expression.");
- testResult.doFail (e1.getStackTrace());
+ testResult.doFail (e1.getStackTrace());
return;
}
value = context.value;
@@ -114,16 +114,20 @@ public class AssertMethodValue extends Assert
TestOutput.logResult("WARNING: value was not set by valueExpression. 'value=' missing from expression?");
}
- if (valueToString(methodValue) != valueToString(value))
- {
- testResult.doFail ( "method returned " + valueToString(methodValue) + ", expected " + valueToString(value));
- }
+ if (errorArray) {
+ var errors:ErrorArray = new ErrorArray(errorArray);
+ if (!contains(methodValue, errors))
+ testResult.doFail("method returned " + valueToString(methodValue) + ", expected it contains " + valueToString(errors));
+ } else if (valueToString(methodValue) != valueToString(value))
+ testResult.doFail("method returned " + valueToString(methodValue) + ", expected " + valueToString(value));
}
/**
* The value the method should return
*/
- public var value:Object;
+ public var value:*;
+
+ public var errorArray:Array;
/**
* customize string representation
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/as3/src/mustella/AssertPropertyValue.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/AssertPropertyValue.as b/mustella/as3/src/mustella/AssertPropertyValue.as
index 3c7d34f..dd65076 100644
--- a/mustella/as3/src/mustella/AssertPropertyValue.as
+++ b/mustella/as3/src/mustella/AssertPropertyValue.as
@@ -48,7 +48,7 @@ use namespace mx_internal;
public class AssertPropertyValue extends Assert
{
public var conditionalValues:Vector.<ConditionalValue> = null;
-
+
/**
* See if the property has the correct value
*/
@@ -58,7 +58,7 @@ public class AssertPropertyValue extends Assert
var multiResultResult:String = "";
var cv:ConditionalValue = null;
var dispatcher:EventDispatcher = this;
-
+
if (!actualTarget)
{
testResult.doFail("Target " + target + " not found");
@@ -90,21 +90,23 @@ public class AssertPropertyValue extends Assert
catch (e1:Error)
{
TestOutput.logResult("Exception thrown evaluating value expression.");
- testResult.doFail (e1.getStackTrace());
+ testResult.doFail (e1.getStackTrace());
return;
}
-
+
value = context.value;
-
+
if (!context.valueChanged)
TestOutput.logResult("WARNING: value was not set by valueExpression. 'value=' missing from expression?");
}
- if (valueToString(actualTarget[propertyName]) != valueToString(value))
- {
- testResult.doFail ( target + "." + propertyName + " " + valueToString(actualTarget[propertyName]) + " != " + valueToString(value));
- }
+ if (errorArray) {
+ var errors:ErrorArray = new ErrorArray(errorArray);
+ if (!contains(actualTarget[propertyName], errors))
+ testResult.doFail(target + "." + propertyName + " " + valueToString(actualTarget[propertyName]) + " should contain " + valueToString(errors));
+ } else if (valueToString(actualTarget[propertyName]) != valueToString(value))
+ testResult.doFail(target + "." + propertyName + " " + valueToString(actualTarget[propertyName]) + " != " + valueToString(value));
}
/**
@@ -115,7 +117,9 @@ public class AssertPropertyValue extends Assert
/**
* The value the property should have
*/
- public var value:Object;
+ public var value:*;
+
+ public var errorArray:Array;
/**
* customize string representation
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/as3/src/mustella/ErrorArray.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/ErrorArray.as b/mustella/as3/src/mustella/ErrorArray.as
new file mode 100644
index 0000000..d37506e
--- /dev/null
+++ b/mustella/as3/src/mustella/ErrorArray.as
@@ -0,0 +1,23 @@
+package {
+ public class ErrorArray {
+ private var _parts:Array;
+
+ public function ErrorArray(parts:Array) {
+ _parts = parts;
+ }
+
+ public function get parts():Array {
+ return _parts;
+ }
+
+ /**
+ * customize string representation
+ */
+ public function toString():String {
+ var s:String;
+ if (parts && parts.length > 0)
+ s = '"' + parts.join('"..."') + '"';
+ return s;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ClassSelectors_main_runtimeCSS.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ClassSelectors_main_runtimeCSS.mxml b/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ClassSelectors_main_runtimeCSS.mxml
index d2ae81d..46f634e 100644
--- a/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ClassSelectors_main_runtimeCSS.mxml
+++ b/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/ClassSelectors_main_runtimeCSS.mxml
@@ -26,6 +26,7 @@
<![CDATA[
import mx.core.IFlexDisplayObject;
+ import mx.events.StyleEvent;
import mx.managers.PopUpManager;
import mx.styles.StyleManager;
import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
@@ -47,8 +48,22 @@
public function loadCSS(): void
{
+ if (moduleLoaded)
+ {
+ dispatchEvent(new Event("moduleReady"));
+ return;
+ }
eventDispatcher = StyleManager.loadStyleDeclarations("assets/classStyles.swf");
+ eventDispatcher.addEventListener(StyleEvent.COMPLETE, completeHandler);
}
+
+ private var moduleLoaded:Boolean = false;
+
+ private function completeHandler(event:Event):void
+ {
+ moduleLoaded = true;
+ dispatchEvent(new Event("moduleReady"));
+ }
]]>
</fx:Script>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/IDSelectors_main_runtimeCSS.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/IDSelectors_main_runtimeCSS.mxml b/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/IDSelectors_main_runtimeCSS.mxml
index d567287..b35a01d 100644
--- a/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/IDSelectors_main_runtimeCSS.mxml
+++ b/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/IDSelectors_main_runtimeCSS.mxml
@@ -27,6 +27,7 @@
import mx.managers.PopUpManager;
import mx.core.IFlexDisplayObject;
import comps.*;
+ import mx.events.StyleEvent;
import mx.styles.StyleManager;
import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
@@ -46,7 +47,21 @@
public function loadCSS(): void
{
+ if (moduleLoaded)
+ {
+ dispatchEvent(new Event("moduleReady"));
+ return;
+ }
eventDispatcher = StyleManager.loadStyleDeclarations("assets/idStyles.swf");
+ eventDispatcher.addEventListener(StyleEvent.COMPLETE, completeHandler);
+ }
+
+ private var moduleLoaded:Boolean = false;
+
+ private function completeHandler(event:Event):void
+ {
+ moduleLoaded = true;
+ dispatchEvent(new Event("moduleReady"));
}
]]>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml
index 0b2f874..e282cea 100644
--- a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml
+++ b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml
@@ -42,7 +42,7 @@
<TestCase testID="classTypeSelector_basic_style" keywords="[CSS, type selector, class selector]"
description="Does a basic Type selector with a class selector work defined within the Style tag?">
<setup>
- <Pause timeout="1000" />
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
</setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox1" />
@@ -50,18 +50,27 @@
</TestCase>
<TestCase testID="classTypeSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
description="Be sure that a style on HBox.pinkButton doesn't affect a VBox with pinkButton styleName">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="vbox1" />
</body>
</TestCase>
<TestCase testID="classTypeSelector_basic_style_neg2" keywords="[CSS, type selector, class selector]"
description="Be sure that a style on HBox.pinkButton doesn't affect a HBox with no styleName">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" />
</body>
</TestCase>
<TestCase testID="classTypeSelector_basic_style_nested" keywords="[CSS, type selector, class selector]"
description="Does a basic Type selector with a class selector work even if the type is nested in containers?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox3" />
</body>
@@ -96,6 +105,9 @@
</TestCase>
<TestCase testID="descendant_classSelector_basic_style" keywords="[CSS, type selector, class selector]"
description="Test descendant type selector with a class selector within the Style tag?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="button2" />
<AssertStyleValue target="button2" styleName="color" value="0x697493" />
@@ -105,6 +117,9 @@
</TestCase>
<TestCase testID="descendant_classSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
description="Test descendant type selector with a class selector within the Style tag?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="button1" />
<AssertStyleValue target="button1" styleName="color" value="0x000000" />
@@ -114,6 +129,9 @@
</TestCase>
<TestCase testID="id_classSelector_basic_style" keywords="[CSS, class selector, id selector]"
description="Test id selectors, with a class selector within the Style tag">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField" numColorVariances="5" ignoreMaxColorVariance="true"/>
<DispatchMouseClickEvent target="myDateField.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField" waitEvent="open" />
@@ -125,7 +143,8 @@
</TestCase>
<TestCase testID="id_classSelector_basic_style_neg" keywords="[CSS, class selector, id selector]"
description="Test id selectors, with a class selector within the Style tag">
- <setup>
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
<ResetComponent target="myDateField" className="mx.controls.DateField" waitTarget="myDateField" waitEvent="updateComplete" />
</setup>
<body>
@@ -138,6 +157,9 @@
</TestCase>
<TestCase testID="descendant_anyType_classSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
description="Test descendant type selector with any type and a class selector within the Style tag?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<AssertPixelValue target="greenCanvas" x="3" y="3" value="0x00DD00" />
<AssertPixelValue target="greenBox" x="3" y="3" value="0x00DD00" />
@@ -152,6 +174,9 @@
</TestCase>
<TestCase testID="descendant_anyType_classSelector_style_neg" keywords="[CSS, descendant selector, type selector, class selector]"
description="Test descendant type selector with any type and a class selector within the Style tag?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<AssertPixelValue target="whiteVBox" x="3" y="4" value="0xFFFFFF" />
<AssertPixelValue target="canvas2" x="3" y="4" value="0x99FFCC" />
@@ -168,6 +193,9 @@
</TestCase>
<TestCase testID="descendantWithClassSelector_typeSelector_style_precedence" keywords="[CSS, descendant selector, type selector, class selector]"
description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button2" />
</body>
@@ -186,6 +214,9 @@
</TestCase>
<TestCase testID="TypeWithClassSelector_separatedByCommas_style_neg" keywords="[CSS, type selector, class selector]"
description="Test a style like: Label,Text.redTheme">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<AssertStyleValue target="label1" styleName="color" value="0x000000" />
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="label1" />
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml
index edbfdea..d048061 100644
--- a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml
+++ b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml
@@ -109,7 +109,7 @@
<AssertStyleValue target="main_button2" styleName="color" value="0x000000" />
</body>
</TestCase>
- <TestCase testID="id_classSelector_basic_style" keywords="[CSS, class selector, id selector]"
+ <TestCase testID="id_classSelector_basic_style2" keywords="[CSS, class selector, id selector]"
description="Test id selectors, with a class selector within the Style tag">
<body>
<CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField" numColorVariances="5" ignoreMaxColorVariance="true"/>
@@ -120,7 +120,7 @@
<AssertStyleValue target="myDateField" styleName="color" value="0xFF0000" />
</body>
</TestCase>
- <TestCase testID="id_classSelector_basic_style_neg" keywords="[CSS, class selector, id selector]"
+ <TestCase testID="id_classSelector_basic_style_neg2" keywords="[CSS, class selector, id selector]"
description="Test id selectors, with a class selector within the Style tag">
<setup>
<ResetComponent target="myDateField" className="mx.controls.DateField" waitTarget="myDateField" waitEvent="updateComplete" />
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2.png b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2.png
new file mode 100644
index 0000000..8d2a0f3
Binary files /dev/null and b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2_2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2_2.png b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2_2.png
new file mode 100644
index 0000000..b8aa259
Binary files /dev/null and b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style2_2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2.png b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2.png
new file mode 100644
index 0000000..7235620
Binary files /dev/null and b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2_2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2_2.png b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2_2.png
new file mode 100644
index 0000000..5376bc4
Binary files /dev/null and b/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/id_classSelector_basic_style_neg2_2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/Managers/StyleManager/AdvancedCSS/idSelectors/AdvancedCSS_IDSelectors_RuntimeCSS.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Managers/StyleManager/AdvancedCSS/idSelectors/AdvancedCSS_IDSelectors_RuntimeCSS.mxml b/mustella/tests/Managers/StyleManager/AdvancedCSS/idSelectors/AdvancedCSS_IDSelectors_RuntimeCSS.mxml
index 65d570e..345cdd6 100644
--- a/mustella/tests/Managers/StyleManager/AdvancedCSS/idSelectors/AdvancedCSS_IDSelectors_RuntimeCSS.mxml
+++ b/mustella/tests/Managers/StyleManager/AdvancedCSS/idSelectors/AdvancedCSS_IDSelectors_RuntimeCSS.mxml
@@ -40,9 +40,9 @@
<TestCase testID="idSelector_basic_style" keywords="[CSS, id selector]"
description="Does a basic id selector work defined within the Style tag?">
- <setup>
- <Pause timeout="500" />
- </setup>
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../idSelectors/baselines/$testID.png" target="redBackground" />
<CompareBitmap url="../idSelectors/baselines/$testID_2.png" target="noBackground" />
@@ -50,6 +50,9 @@
</TestCase>
<TestCase testID="idSelector_basic_PopUp_style" keywords="[CSS, id selector, PopUpManager]"
description="Does a basic id selector work for component added to a popUp when defined within the Style tag?">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<DispatchMouseClickEvent target="open_btn" localX="10" localY="10" waitTarget="iPopUp" waitEvent="updateComplete" />
<AssertPropertyValue propertyName="y" value="10" target="iPopUp.label1" />
@@ -59,6 +62,7 @@
<TestCase testID="idSelector_basic_module_style" keywords="[CSS, id selector, Modules]"
description="(Module) Does a basic id selector work defined within the Style tag?">
<setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
<DispatchMouseClickEvent target="close_btn" localX="10" localY="10" />
<!--ResetComponent target="boxComp" className="comps.BoxComp" waitTarget="boxComp" waitEvent="updateComplete" /-->
</setup>
@@ -189,6 +193,9 @@
</TestCase>
<TestCase testID="id_multipleTypeSelector_style" keywords="[CSS, id selector]"
description="Ensure that the selector FxButton,DateField#redTheme matches any only a DateField with id=redTheme">
+ <setup>
+ <RunCode code="application.loadCSS()" waitTarget="" waitEvent="moduleReady" timeout="3000" />
+ </setup>
<body>
<CompareBitmap url="../idSelectors/baselines/$testID.png" target="redTheme" />
<CompareBitmap url="../idSelectors/baselines/$testID_neg.png" target="noTheme" />
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester.mxml b/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester.mxml
index 970b432..2b00e45 100644
--- a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester.mxml
+++ b/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester.mxml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,71 +17,89 @@
limitations under the License.
-->
-<UnitTester testDir="RuntimeLocalization/RTL_SparkSkin/Integration/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="RTL_Compiler_LocaleParams_2.mxml" >
-
- <!-- this set of lines form a template that must be in each unit test -->
- <mx:Script><![CDATA[
- public static function init(o:DisplayObject):void{}
- ]]></mx:Script>
-
- <mx:Metadata><![CDATA[
- [Mixin]
- ]]></mx:Metadata>
- <!-- end of set of lines that must be in each unit test -->
-
- <mx:Script><![CDATA[
+<UnitTester testDir="RuntimeLocalization/RTL_SparkSkin/Integration/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="RTL_Compiler_LocaleParams_2.mxml" >
+
+ <!-- this set of lines form a template that must be in each unit test -->
+ <mx:Script><![CDATA[
+ public static function init(o:DisplayObject):void {
+ }
+
+ private function get localizedLocalChain():String {
+ var lang:String = Capabilities.language;
+
+ switch (lang) {
+ case "fr":
+ return "fr_FR,en_US,ja_JP";
+ case "ja":
+ return "ja_JP,en_US,fr_FR";
+ default:
+ return "en_US,fr_FR,ja_JP";
+ }
+ }
+ ]]></mx:Script>
+
+ <mx:Metadata><![CDATA[
+ [Mixin]
+ ]]></mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script><![CDATA[
import mx.resources.ResourceManager;
- ]]></mx:Script>
-
- <testCases>
-
-<!--
-========================================================
+ ]]></mx:Script>
+
+ <testCases>
+
+<!--
+========================================================
Verify -locale[=]en_US[,]fr_FR[,]ja_JP combinations:
1) Verify the locale chain.
2) Verify resources were included by changing the locale
- chain and checking resources.
-========================================================
--->
-
+ chain and checking resources.
+========================================================
+-->
+
<TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_LocaleChain_AIR_Mac" description="Be sure that the locale chain was set correctly." keywords="[Localization,Compiler,locale]" >
- <body>
- <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()" value="en_US,fr_FR,ja_JP" />
+ <body>
+ <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()" value="en_US,fr_FR,ja_JP" />
<Pause timeout="1" />
- </body>
- </TestCase>
+ </body>
+ </TestCase>
<TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_LocaleChain_NOT_AIR_Mac" description="Be sure that the locale chain was set correctly." keywords="[Localization,Compiler,locale]" >
- <body>
- <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()" value="en_US,fr_FR,ja_JP" />
+ <body>
+ <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()" value="{localizedLocalChain}" />
<Pause timeout="1" />
- </body>
- </TestCase>
-
+ </body>
+ </TestCase>
+
<TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_EnglishPresent" description="Be sure that the English resources are present." keywords="[Localization,Compiler,locale]" >
- <body>
- <AssertPropertyValue target="lbl1" propertyName="text" value="View Source" />
+ <setup>
+ <RunCode code="ResourceManager.getInstance().localeChain=['en_US','fr_FR','ja_JP']"/>
+ <WaitForLayoutManager />
+ </setup>
+ <body>
+ <AssertPropertyValue target="lbl1" propertyName="text" value="View Source" />
<Pause timeout="1" />
- </body>
- </TestCase>
+ </body>
+ </TestCase>
- <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_JapanesePresent" description="Be sure that the Japanese resources are present." keywords="[Localization,Compiler,locale]" >
+ <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_FrenchPresent" description="Be sure that the French resources are present." keywords="[Localization,Compiler,locale]" >
<setup>
<RunCode code="ResourceManager.getInstance().localeChain=['fr_FR','ja_JP','en_US']" waitTarget="lbl1" waitEvent="updateComplete" />
</setup>
- <body>
- <AssertPropertyValue target="lbl1" propertyName="text" value="French View Source" />
- </body>
- </TestCase>
+ <body>
+ <AssertPropertyValue target="lbl1" propertyName="text" value="French View Source" />
+ </body>
+ </TestCase>
- <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_JapanesePresent_2" description="Be sure that the Japanese resources are present." keywords="[Localization,Compiler,locale]" >
+ <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_JapanesePresent_2" description="Be sure that the Japanese resources are present." keywords="[Localization,Compiler,locale]" >
<setup>
<RunCode code="ResourceManager.getInstance().localeChain=['ja_JP','en_US']" waitTarget="lbl1" waitEvent="updateComplete" />
</setup>
- <body>
- <AssertPropertyValue target="lbl1" propertyName="text" value="ソースの表示" />
- </body>
- </TestCase>
+ <body>
+ <AssertPropertyValue target="lbl1" propertyName="text" value="ソースの表示" />
+ </body>
+ </TestCase>
- </testCases>
+ </testCases>
</UnitTester>
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/columnspan.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/columnspan.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/columnspan.png
index 5a5f7a9..97c2cc7 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/columnspan.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/columnspan.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/currency.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/currency.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/currency.png
index 972baea..2780244 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/currency.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/currency.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_columnspanning_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_columnspanning_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_columnspanning_withcolgroups.png
index 983aef0..3e8ecab 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_columnspanning_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_columnspanning_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_customheaderrenderer_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_customheaderrenderer_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_customheaderrenderer_withcolgroups.png
index 58eb24b..1ec6465 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_customheaderrenderer_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_customheaderrenderer_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state1.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state1.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state1.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state1.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state1.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state2.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state2.png
index c8859bc..2648c7f 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state2.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_false_state2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state1.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state1.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state1.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state1.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state1.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state2.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state2.png
index e90ab64..355fc40 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state2.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_draggablecolumns_state2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_enabled2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_enabled2.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_enabled2.png
index bc0e15e..33138fb 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_enabled2.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_enabled2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledfalse.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledfalse.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledfalse.png
index d26f00d..0cb9358 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledfalse.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledfalse.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledtrue.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledtrue.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledtrue.png
index afffb69..697dcb7 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledtrue.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_focusenabledtrue.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_formatting_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_formatting_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_formatting_withcolgroups.png
index 5993e46..9ce494e 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_formatting_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_formatting_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupeditable_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupeditable_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupeditable_withcolgroups.png
index 141d97c..a688dde 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupeditable_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupeditable_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview.png
index 8b5a649..14d9fa2 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview_withcolgroups.png
index 141d97c..a688dde 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_groupedview_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_headerrenderer_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_headerrenderer_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_headerrenderer_withcolgroups.png
index 5524c68..ee10525 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_headerrenderer_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_headerrenderer_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_120.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_120.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_120.png
index ad99cef..f20ee0c 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_120.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_120.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_200.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_200.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_200.png
index 3a4a4aa..def79db 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_200.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_200.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_30.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_30.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_30.png
index 97d5e5c..5d0eb2d 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_30.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_height_30.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_hierarch_data_colgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_hierarch_data_colgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_hierarch_data_colgroups.png
index a8f6803..b24acc2 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_hierarch_data_colgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_hierarch_data_colgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_off.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_off.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_off.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_off.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_off.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_on.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_on.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_on.png
index bf10d82..16ee9e3 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_on.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_horizontalscrollpolicy_on.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumn_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumn_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumn_withcolgroups.png
index b7b0ea3..f8f0640 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumn_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumn_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumngroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumngroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumngroups.png
index 3b52647..e2015b8 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumngroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_insertcolumngroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_itemeditable_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_itemeditable_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_itemeditable_withcolgroups.png
index 599b063..25eb1af 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_itemeditable_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_itemeditable_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_multicellselection.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_multicellselection.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_multicellselection.png
index d171c8b..48c9e0d 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_multicellselection.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_multicellselection.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_rowcount_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_rowcount_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_rowcount_withcolgroups.png
index a338101..ea66423 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_rowcount_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_rowcount_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_singlecellselection.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_singlecellselection.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_singlecellselection.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_singlecellselection.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_singlecellselection.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_displayitemsexpanded.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_displayitemsexpanded.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_displayitemsexpanded.png
index c8f6bb0..f95aabe 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_displayitemsexpanded.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_displayitemsexpanded.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_multicellselection.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_multicellselection.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_multicellselection.png
index 961785c..8727ea5 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_multicellselection.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_multicellselection.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_singlecellselection.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_singlecellselection.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_singlecellselection.png
index c8f6bb0..f95aabe 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_singlecellselection.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_tree_singlecellselection.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_treeview.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_treeview.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_treeview.png
index 6c79f4a..534521c 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_treeview.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_treeview.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy.png
index e4b45b0..d16da48 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_auto.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_auto.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_auto.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_auto.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_auto.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_on.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_on.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_on.png
index 655cb97..01d76a0 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_on.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollpolicy_on.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollposition.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollposition.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollposition.png
index 82851c5..5fd0ace 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollposition.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_verticalscrollposition.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_visible_withcolgroups.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_visible_withcolgroups.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_visible_withcolgroups.png
index 90c4b8a..b1e0c2c 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_visible_withcolgroups.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_visible_withcolgroups.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_200.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_200.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_200.png
index 180f43d..e5711ec 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_200.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_200.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_30.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_30.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_30.png
index c64c2f6..bb86eb8 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_30.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_30.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_700.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_700.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_700.png
index 1d77af4..4e45a74 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_700.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_width_700.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_50.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_50.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_50.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_50.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_50.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_minus10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_minus10.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_minus10.png
index a611c7f..f37da8c 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_minus10.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_x_minus10.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_50.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_50.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_50.png
index 101fd92..ecc3d8c 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_50.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_50.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_minus10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_minus10.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_minus10.png
index fa05e83..4f97af1 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_minus10.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/datagrid_y_minus10.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/date.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/date.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/date.png
index 35cf8ee..082b261 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/date.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/date.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/groupview.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/groupview.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/groupview.png
index d520d39..ee3ac7f 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/groupview.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/groupview.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/number.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/number.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/number.png
index b091b0a..6cb16ab 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/number.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/number.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/phone.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/phone.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/phone.png
index 2cd5c4b..ec0de2e 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/phone.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/phone.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application_ltr.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application_ltr.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application_ltr.png
index 37c8d0f..6246745 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application_ltr.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_application_ltr.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_ltr.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_ltr.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_ltr.png
index 8c2c4f5..8a9dc90 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_ltr.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_ltr.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_rtl.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_rtl.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_rtl.png
index 37c8d0f..6246745 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_rtl.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/property_layoutDirection_rtl.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style1.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style1.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style1.png
index 5867fbc..25b19b1 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style1.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style1.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style2.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style2.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style2.png
index 7d819ec..cbbcdc1 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style2.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style2.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style3.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style3.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style3.png
index ee84fa5..f712965 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style3.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/style3.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/use_grouped_data_mirroring.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/use_grouped_data_mirroring.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/use_grouped_data_mirroring.png
index 2db9046..314a428 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/use_grouped_data_mirroring.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/use_grouped_data_mirroring.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/zipcode.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/zipcode.png b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/zipcode.png
index 3803cad..dafe0f6 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/zipcode.png and b/mustella/tests/components/AdvancedDataGrid/Properties/Baselines/zipcode.png differ
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/54c3e9f1/mustella/tests/components/AdvancedDataGrid/Properties/adg_mirroring_test.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Properties/adg_mirroring_test.mxml b/mustella/tests/components/AdvancedDataGrid/Properties/adg_mirroring_test.mxml
index f5ba5ce..efe6a41 100644
--- a/mustella/tests/components/AdvancedDataGrid/Properties/adg_mirroring_test.mxml
+++ b/mustella/tests/components/AdvancedDataGrid/Properties/adg_mirroring_test.mxml
@@ -121,8 +121,8 @@
</setup>
<body>
<SetStyle styleName="layoutDirection" value="ltr" target="mydatagrid" waitTarget="mydatagrid" waitEvent="updateComplete"/>
- <WaitForEffectsToEnd/>
- <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_ltr.png" timeout="5000"/>
+ <WaitForEffectsToEnd/>
+ <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_ltr.png" timeout="5000" numColorVariances="1" maxColorVariance="2"/>
</body>
</TestCase>
@@ -138,7 +138,7 @@
<SetStyle styleName="layoutDirection" value="rtl" target="mydatagrid" waitTarget="mydatagrid" waitEvent="updateComplete"/>
<WaitForEffectsToEnd/>
- <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_rtl.png" timeout="5000"/>
+ <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_rtl.png" timeout="5000" numColorVariances="1" maxColorVariance="2"/>
</body>
</TestCase>
@@ -154,7 +154,7 @@
<SetStyle styleName="layoutDirection" value="ltr" target="mydatagrid" waitTarget="mydatagrid" waitEvent="updateComplete"/>
<RunCode code="mirroringApplication()"/>
<WaitForEffectsToEnd/>
- <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_application.png" timeout="5000"/>
+ <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_application.png" timeout="5000" numColorVariances="1" maxColorVariance="2"/>
</body>
@@ -172,7 +172,7 @@
<RunCode code="mirroringApplication_ltr()"/>
<WaitForEffectsToEnd/>
- <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_application_ltr.png" timeout="5000"/>
+ <CompareBitmap target="mydatagrid" url="../Properties/Baselines/property_layoutDirection_application_ltr.png" timeout="5000" numColorVariances="1" maxColorVariance="2"/>
</body>
</TestCase>