incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [40/43] - in /incubator/flex/trunk/mustella/tests/mx: ./ binding/ binding/utils/ binding/utils/BindingUtils/ binding/utils/BindingUtils/SWFs/ binding/utils/BindingUtils/SWFs/assets/ binding/utils/BindingUtils/method/ binding/utils/...
Date Tue, 07 Aug 2012 17:13:35 GMT
Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_GlobalSelector_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_GlobalSelector_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_GlobalSelector_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_GlobalSelector_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_GlobalSelector_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>		
+		<!--test with local style setting: Global Selector-->
+		<TestCase testID="ADV_localStyle_global_selector_test1" 
+				  description="test with local style setting: Global Selector" 
+				  keywords="[ADVStyleTestClass, local, Global Selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--noninherited style should have default value-->
+				<AssertStyleValue target="advStyleTest_Local_Global" styleName="teststyle_2_number_noinh" valueExpression="value=111"/>
+				<!--inherited style should have default value-->
+				<AssertStyleValue target="advStyleTest_Local_Global" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_localStyle_global_selector_component_test2" 
+				  description="test with local style setting: Global Selector in component" 
+				  keywords="[ADVStyleTestClass, local, Global Selector, component]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--noninherited style should have default value-->
+				<AssertStyleValue target="mycomp.componentADV" styleName="teststyle_2_number_noinh" valueExpression="value=111"/>
+				<!--inherited style should have default value-->
+				<AssertStyleValue target="mycomp.componentADV" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_localStyle_global_selector_module_loader_test4" 
+				  description="test with local style setting: Global Selector in module with directly used" 
+				  keywords="[ADVStyleTestClass, local, Global Selector, module, moduleLoader]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--noninherited style should have default value-->
+				<AssertStyleValue target="myLoadedModule.child.moduleADV" styleName="teststyle_2_number_noinh" valueExpression="value=111"/>
+				<!--inherited style should have default value-->
+				<AssertStyleValue target="myLoadedModule.child.moduleADV" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_TypeSelector_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_TypeSelector_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_TypeSelector_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_TypeSelector_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_TypeSelector_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>		
+		<!--test local style setting: Type Selector-->
+		<TestCase testID="ADV_localStyle_type_selector_test1" 
+				  description="test local style setting: Type Selector" 
+				  keywords="[ADVStyleTestClass, local, Type Selector]">
+			<setup>
+				<ChangeState toState="heavy" waitEvent="changeEventDone" />
+			</setup>
+			<body>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_1_string_noinh" value="typeString"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_2_number_noinh" valueExpression="value=111"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_4_date_inh" valueExpression="value=application.localDate"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x556677"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.localArray"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.localList"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.localXmlList"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_11_boolean_noinh" valueExpression="value=false"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_12_enum_string_inh" value="secondType"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_13_enum_int_noinh" valueExpression="value=99"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_14_object_noinh" valueExpression="value=application.localVo"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_15_state_string_noinh" value="localStateString"/>
+			</body>
+		</TestCase>
+		
+		<!--test local style setting: pseudo Selector-->
+		<TestCase testID="ADV_extStyle_pseudo_selector_test2" 
+				  description="test local style setting: pseudo Selector" 
+				  keywords="[ADVStyleTestClass, local, Type Selector, pseudo selector]">
+			<setup>
+				<ChangeState toState="medium" waitEvent="changeEventDone" />
+			</setup>
+			<body>
+				<!--state doesn't set-->
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_2_number_noinh" valueExpression="value=111"/>
+				
+				<!--state set-->
+				<!-- Notice that AdvancedStyleClient don't support state, so value will not changed! -->
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_1_string_noinh" value="typeString"/>
+				<AssertStyleValue target="advStyleTest_Local_Type" styleName="teststyle_15_state_string_noinh" value="localStateString"/>		
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_classTypeCompound_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_classTypeCompound_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_classTypeCompound_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_classTypeCompound_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_classTypeCompound_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>			
+		<!--test style compound/overwrite between class selector and type selector-->
+		<TestCase testID="ADV_localStyle_compound_class_type_test1" 
+				  description="test style compound/overwrite between class selector and type selector" 
+				  keywords="[ADVStyleTestClass, local, compound, class selector, type selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--class selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_1_string_noinh" value="classString"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_4_date_inh" valueExpression="value=application.localDate"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				
+				<!--type selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_14_object_noinh" valueExpression="value=application.myVo_heavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_15_state_string_noinh" value="inlineStringHeavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_17_skin_state_noinh" valueExpression="value=assets.styleTest.ADVStyleTestSkin"/>			
+				
+				<!--compound style between class selector and type selector using class style value-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.localXmlList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_11_boolean_noinh" valueExpression="value=false"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_12_enum_string_inh" value="secondType"/>
+				
+				<!--default setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_2_number_noinh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_3_uint_inh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x112233"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.defaultColorArray"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.defaultDateList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_13_enum_int_noinh" valueExpression="value=15"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_16_skin_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls"/>
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>		
+		<!--test with local style setting: Class Selector-->
+		<TestCase testID="ADV_localStyle_class_selector_test1" 
+				  description="test with local style setting: Class Selector" 
+				  keywords="[ADVStyleTestClass, local, Class Selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_1_string_noinh" value="localString"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_2_number_noinh" valueExpression="value=6666789"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_3_uint_inh" valueExpression="value=34"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_4_date_inh" valueExpression="value=application.localDate"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x776655"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.localArray"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.localList"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.localXmlList"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_11_boolean_noinh" valueExpression="value=false"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_12_enum_string_inh" value="secondType"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_13_enum_int_noinh" valueExpression="value=99"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_14_object_noinh" valueExpression="value=application.localVo"/>
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_15_state_string_noinh" value="localStateString"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Class" styleName="teststyle_17_skin_state_noinh" valueExpression="value=assets.styleTest.ADVStyleTestSkin"/>			
+			</body>
+		</TestCase>
+		
+		<!--test with local style setting: ID Selector-->	
+		<TestCase testID="ADV_localStyle_id_selector_test2" 
+				  description="test with local style setting: ID Selector" 
+				  keywords="[ADVStyleTestClass, local, ID Selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_1_string_noinh" value="idString"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_2_number_noinh" valueExpression="value=6666666"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_3_uint_inh" valueExpression="value=43"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_4_date_inh" valueExpression="value=application.idDate"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x556677"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.localArray"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.localList"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.localXmlList"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_11_boolean_noinh" valueExpression="value=true"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_12_enum_string_inh" value="secondType"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_13_enum_int_noinh" valueExpression="value=99"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_14_object_noinh" valueExpression="value=application.idVo"/>
+				<AssertStyleValue target="advStyleTest_Local_ID" styleName="teststyle_15_state_string_noinh" value="idStateString"/>
+			</body>
+		</TestCase>
+		
+		<!--test style compound/overwrite between inline and local styles-->
+		<TestCase testID="ADV_localStyle_compound_inline_class_test3" 
+				  description="test style compound/overwrite between inline and local styles" 
+				  keywords="[ADVStyleTestClass, local, compound, inline, class selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--class selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_1_string_noinh" value="classString"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_4_date_inh" valueExpression="value=application.localDate"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				
+				<!--inline setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_15_state_string_noinh" value="inlineStringHeavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_17_skin_state_noinh" valueExpression="value=ADVStyleTestConstants.imgCls"/>			
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_14_object_noinh" valueExpression="value=application.myVo_heavy"/>
+				
+				<!--compound style between inline and local using inline style value-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.xmlList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_11_boolean_noinh" valueExpression="value=true"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_12_enum_string_inh" value="firstType"/>
+				
+				<!--default setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_2_number_noinh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_3_uint_inh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x112233"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.defaultColorArray"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.defaultDateList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_13_enum_int_noinh" valueExpression="value=15"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_16_skin_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls"/>
+			</body>
+		</TestCase>
+		
+		<!--test local varied measure setting for style5 and style7-->
+		<TestCase testID="ADV_localStyle_style_format_test4" 
+				  description="test local varied measure setting for style5 and style7" 
+				  keywords="[ADVStyleTestClass, local, style definition, format property]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<AssertStyleValue target="advStyleTest_Local_Measure1" styleName="teststyle_5_format_length_noinh" valueExpression="value=72"/>
+				<AssertStyleValue target="advStyleTest_Local_Measure1" styleName="teststyle_7_format_color_noinh" valueExpression="value=16711680"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Measure2" styleName="teststyle_5_format_length_noinh" valueExpression="value=28"/>
+				<AssertStyleValue target="advStyleTest_Local_Measure2" styleName="teststyle_7_format_color_noinh" valueExpression="value=16711680"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Measure3" styleName="teststyle_5_format_length_noinh" valueExpression="value=1"/>
+				<AssertStyleValue target="advStyleTest_Local_Measure3" styleName="teststyle_7_format_color_noinh" valueExpression="value='255,0,0'"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Measure4" styleName="teststyle_5_format_length_noinh" valueExpression="value=12"/>
+				<AssertStyleValue target="advStyleTest_Local_Measure4" styleName="teststyle_7_format_color_noinh" valueExpression="value=16711680"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Measure5" styleName="teststyle_5_format_length_noinh" valueExpression="value=2"/>
+				
+				<AssertStyleValue target="advStyleTest_Local_Measure6" styleName="teststyle_5_format_length_noinh" valueExpression="value=1"/>
+			</body>
+		</TestCase>
+		
+		<!--test style compound/overwrite between id selector and class selector-->
+		<TestCase testID="ADV_extStyle_compound_id_class_test5" 
+				  description="test style compound/overwrite between id selector and class selector" 
+				  keywords="[ADVStyleTestClass, local, compound, id selector, class selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--class selector setting-->
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_1_string_noinh" value="classString"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_4_date_inh" valueExpression="value=application.localDate"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_5_format_length_noinh" valueExpression="value=50"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_6_format_time_noinh" valueExpression="value=12000"/>
+				
+				<!--id selector setting-->
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_14_object_noinh" valueExpression="value=application.myVo_heavy"/>
+				
+				<!--compound style between id selector and class selector using id selector value-->
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.xmlList"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_11_boolean_noinh" valueExpression="value=true"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_12_enum_string_inh" value="firstType"/>
+				
+				<!--default setting-->
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_2_number_noinh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_3_uint_inh" valueExpression="value=undefined"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x112233"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.defaultColorArray"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.defaultDateList"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_13_enum_int_noinh" valueExpression="value=15"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_15_state_string_noinh" value="defaultStateString"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_16_skin_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls"/>
+				<AssertStyleValue target="advStyleTest_Local2" styleName="teststyle_17_skin_state_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls_heavy"/>			
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeApplicationCompound_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeApplicationCompound_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeApplicationCompound_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeApplicationCompound_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_typeApplicationCompound_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>			
+		<!--test style compound/overwrite between type selector and application selector-->
+		<TestCase testID="ADV_localStyle_compound_type_application_test1" 
+				  description="test style compound/overwrite between type selector and application selector" 
+				  keywords="[ADVStyleTestClass, local, compound, type selector, application selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--type selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.xmlList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_11_boolean_noinh" valueExpression="value=true"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_12_enum_string_inh" value="firstType"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_14_object_noinh" valueExpression="value=application.myVo_heavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_15_state_string_noinh" value="inlineStringHeavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_17_skin_state_noinh" valueExpression="value=assets.styleTest.ADVStyleTestSkin"/>			
+				
+				<!--compound style between type and application selector using type style value-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_2_number_noinh" valueExpression="value=11"/>
+				
+				<!--default setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x112233"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.defaultColorArray"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.defaultDateList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_13_enum_int_noinh" valueExpression="value=15"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_16_skin_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls"/>
+				
+				<!--application selector setting for inherited style-->
+				
+				<!--application selector setting for herited style-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>				
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeGlobalCompound_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeGlobalCompound_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeGlobalCompound_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_localStyle_typeGlobalCompound_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/spark" 
+			xmlns="*" 
+			testSWF="ADV_localStyle_typeGlobalCompound_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			public static function init(o:DisplayObject):void 
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>			
+		<!--test style compound/overwrite between type selector and global selector-->
+		<TestCase testID="ADV_localStyle_compound_type_global_test1" 
+				  description="test style compound/overwrite between type selector and global selector" 
+				  keywords="[ADVStyleTestClass, local, compound, type selector, global selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<!--type selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_10_xml_arrayCol_noinh" valueExpression="value=application.xmlList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_11_boolean_noinh" valueExpression="value=true"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_12_enum_string_inh" value="firstType"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_14_object_noinh" valueExpression="value=application.myVo_heavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_15_state_string_noinh" value="inlineStringHeavy"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_17_skin_state_noinh" valueExpression="value=assets.styleTest.ADVStyleTestSkin"/>			
+				
+				<!--compound style between type and global selector using type style value-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_2_number_noinh" valueExpression="value=11"/>
+				
+				<!--default setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_7_format_color_noinh" valueExpression="value=0x112233"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_8_format_arrayType_noinh" valueExpression="value=application.defaultColorArray"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_9_date_arrayCol_inh" valueExpression="value=application.defaultDateList"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_13_enum_int_noinh" valueExpression="value=15"/>
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_16_skin_noinh" valueExpression="value=ADVStyleTestConstants.defaultCls"/>
+				
+				<!--global selector setting-->
+				<AssertStyleValue target="advStyleTest_Local1" styleName="teststyle_3_uint_inh" valueExpression="value=0"/>
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_classStyle_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_classStyle_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_classStyle_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_classStyle_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/mx" xmlns="*" 
+			testSWF="ADV_styleManager_classStyle_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;		
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			
+			public static function init(o:DisplayObject):void
+			{
+				
+			}
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>
+		<!--testcases for setting style using styleManager-->
+		<TestCase testID="ADV_styleManager_classStyle_test1" 
+				  description="testcases for setting style using styleManager" 
+				  keywords="[AdvancedStyleClient, StyleManager]">
+			<setup>
+				<RunCode code="application.testADVStyle()"  />
+				<Pause timeout="{ADVStyleTestConstants.pauseTime}" />
+			</setup>
+			<body>
+				<!--Verify style compound with inline style and loaded at runtime Class Selector style using inline css value. -->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_1_string_noinh')" value="testString" />
+				
+				<!--Verify inline style using inline value. -->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_2_number_noinh')" 
+								   valueExpression="value=12345.678"/>
+				
+				<!--Verify style compound with set by using local Class Selector and set by styleManager API using new set value.-->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_3_uint_inh')" valueExpression="value=35" />
+				
+				<!--Verify style only set by using local Class Selector using class value. -->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_5_format_length_noinh')" 
+								   valueExpression="value=50" />
+				
+				<!--Verify style only set by styleManager API using this value.-->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_6_format_time_noinh')" 
+								   valueExpression="value=1998"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertMethodValue method="value=application.classStyleTest.getStyle('teststyle_7_format_color_noinh')" 
+								   valueExpression="value=0x112233"/>
+			</body>
+		</TestCase>	
+		
+		<!--testcases for clearing style using StyleManager-->
+		<TestCase testID="ADV_styleManager_clear_classStyle_test2" 
+				  description="testcases for clearing style using StyleManager" 
+				  keywords="[AdvancedStyleClient, StyleManager, clear style]">
+			<setup>
+				<RunCode code="application.testADVStyle()"  />
+				<Pause timeout="{ADVStyleTestConstants.pauseTime}" />
+				<RunCode code="application.ClearStyle()"  />
+				<Pause timeout="{ADVStyleTestConstants.pauseTime}" />
+			</setup>
+			<body>
+				<!--Verify inline style using inline value after clearing. -->
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_1_string_noinh')" value="testString" />
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_2_number_noinh')" 
+								   valueExpression="value=12345.678"/>
+				
+				<!--Verify un-inline style using default value after clearing. -->
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_3_uint_inh')" valueExpression="value=undefined" />
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_5_format_length_noinh')" 
+								   valueExpression="value=30" />
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_6_format_time_noinh')" 
+								   valueExpression="value=5000"/>
+				<AssertMethodValue method="value=application.clearStyleTest.getStyle('teststyle_7_format_color_noinh')" 
+								   valueExpression="value=0x112233"/>
+			</body>
+		</TestCase>	
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createApplicationStyle_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createApplicationStyle_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createApplicationStyle_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createApplicationStyle_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,658 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/mx" xmlns="*" 
+			testSWF="ADV_styleManager_createApplicationStyle_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;		
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			
+			public static function init(o:DisplayObject):void
+			{
+				
+			}
+			
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>		
+		<!--testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector-->
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_test1" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[AdvancedStyleClient, StyleManager, create CSS declaration, application selector]">
+			<setup>
+				<ResetComponent target="label" className="spark.components.Label" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="createApplicationStyleTest"
+								  value="testString"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="createApplicationStyleTest"
+								  value="2000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="createApplicationStyleTest"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="createApplicationStyleTest"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="createApplicationStyleTest"
+								  value="0x112233"/>
+				
+				<!--<AssertPropertyValue target="styleLabel" propertyName="text" 
+									 value="testString:undefined:8888" />-->
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_BorderContainer_test1" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, BorderContainer]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexBorderContainerComponent" className="assets.comp.FlexBorderContainerComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexBorderContainerComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexBorderContainerComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexBorderContainerComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexBorderContainerComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexBorderContainerComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexBorderContainerComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_DataGroup_test2" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, DataGroup]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexDataGroupComponent" className="assets.comp.FlexDataGroupComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexDataGroupComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexDataGroupComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexDataGroupComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexDataGroupComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexDataGroupComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexDataGroupComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_Group_test3" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, Group]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexGroupComponent" className="assets.comp.FlexGroupComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexGroupComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexGroupComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexGroupComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexGroupComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexGroupComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexGroupComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Accordion_test4" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Accordion]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxAccordionComponent" className="assets.comp.FlexMxAccordionComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxAccordionComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxAccordionComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxAccordionComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxAccordionComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxAccordionComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxAccordionComponent.styleLabel" propertyName="label" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_ApplicationControlBar_test5" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx ApplicationControlBar]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxApplicationControlBarComponent" className="assets.comp.FlexMxApplicationControlBarComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxApplicationControlBarComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxApplicationControlBarComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxApplicationControlBarComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxApplicationControlBarComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxApplicationControlBarComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxApplicationControlBarComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Box_test6" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Box]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxBoxComponent" className="assets.comp.FlexMxBoxComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxBoxComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxBoxComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxBoxComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxBoxComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxBoxComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxBoxComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Canvas_test7" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Canvas]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxCanvasComponent" className="assets.comp.FlexMxCanvasComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxCanvasComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxCanvasComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxCanvasComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxCanvasComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxCanvasComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxCanvasComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_ControlBar_test8" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx ControlBar]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxControlBarComponent" className="assets.comp.FlexMxControlBarComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxControlBarComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxControlBarComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxControlBarComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxControlBarComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxControlBarComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxControlBarComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_DividedBox_test9" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx DividedBox]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxDividedBoxComponent" className="assets.comp.FlexMxDividedBoxComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxDividedBoxComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxDividedBoxComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxDividedBoxComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxDividedBoxComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxDividedBoxComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxDividedBoxComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Form_test10" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Form]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxFormComponent" className="assets.comp.FlexMxFormComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxFormComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxFormComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxFormComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxFormComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxFormComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxFormComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Grid_test11" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Grid]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxGridComponent" className="assets.comp.FlexMxGridComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxGridComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxGridComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxGridComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxGridComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxGridComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxGridComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_Panel_test12" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Panel]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxPanelComponent" className="assets.comp.FlexMxPanelComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxPanelComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxPanelComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxPanelComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxPanelComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxPanelComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxPanelComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_TabNavigator_test13" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx TabNavigator]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxTabNavigatorComponent" className="assets.comp.FlexMxTabNavigatorComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxTabNavigatorComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxTabNavigatorComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxTabNavigatorComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxTabNavigatorComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxTabNavigatorComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxTabNavigatorComponent.styleLabel" propertyName="label" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_Tile_test14" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx Tile]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexMxTileComponent" className="assets.comp.FlexMxTileComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexMxTileComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexMxTileComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexMxTileComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexMxTileComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexMxTileComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexMxTileComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_mx_ViewStack_NavigatorContent_test15" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, mx ViewStack, NavigatorContent]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexNavigatorContentMxVSComponent" className="assets.comp.FlexNavigatorContentMxVSComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexNavigatorContentMxVSComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexNavigatorContentMxVSComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexNavigatorContentMxVSComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexNavigatorContentMxVSComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexNavigatorContentMxVSComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexNavigatorContentMxVSComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_Panel_test16" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, spark Panel]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexPanelComponent" className="assets.comp.FlexPanelComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexPanelComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexPanelComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexPanelComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexPanelComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexPanelComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexPanelComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+		
+		<TestCase testID="ADV_styleManager_creatStyle_application_selector_SkinnableDataContainer_test17" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Application selector" 
+				  keywords="[ADVStyleTestClass, FlexComponent, create CSS declaration, application selector, spark SkinnableDataContainer]">
+			<setup>
+				<ResetComponent target="advStyleTest_FlexSkinnableDataContainerComponent" className="assets.comp.FlexSkinnableDataContainerComponent" waitEvent="updateComplete" />
+				<RunCode code="application.testCreateStyle()" waitTarget="" waitEvent="myMainAppStyleChanged"/>
+			</setup>
+			<body>
+				<!--Verify those inline style using inline value. -->
+				<AssertStyleValue styleName="teststyle_1_string_noinh" target="advStyleTest_FlexSkinnableDataContainerComponent"
+								  value="null"/>
+				
+				<!--Verify those styles compound with inline style and created Application Selector style using inline css value. -->
+				<AssertStyleValue styleName="teststyle_6_format_time_noinh" target="advStyleTest_FlexSkinnableDataContainerComponent.componentADV"
+								  value="5000"/>
+				
+				<!--Verify style defaulted not null and only created by styleManager API using default value.-->
+				<AssertStyleValue styleName="teststyle_4_date_inh" target="advStyleTest_FlexSkinnableDataContainerComponent.componentADV"
+								  valueExpression="value=ADVStyleTestConstants.defaultDate"/>
+				
+				<!--Verify style defaulted null and set by local Application style using this value.-->
+				<AssertStyleValue styleName="teststyle_3_uint_inh" target="advStyleTest_FlexSkinnableDataContainerComponent"
+								  value="8888"/>
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertStyleValue styleName="teststyle_7_format_color_noinh" target="advStyleTest_FlexSkinnableDataContainerComponent"
+								  value="null"/>
+				
+				<AssertPropertyValue target="advStyleTest_FlexSkinnableDataContainerComponent.styleLabel" propertyName="text" 
+									 value="defaultString:undefined:8888" />
+				
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createClassStyle_main_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createClassStyle_main_tester.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createClassStyle_main_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/Styles/ADV_styleManager_createClassStyle_main_tester.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="mx/styles/AdvancedStyleClient/Styles/"  
+			xmlns:mx="http://www.adobe.com/2006/mxml" 
+			xmlns:s="library://ns.adobe.com/flex/mx" xmlns="*" 
+			testSWF="ADV_styleManager_createClassStyle_main.mxml">
+	
+	<mx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;		
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			
+			public static function init(o:DisplayObject):void
+			{
+				
+			}
+			
+		]]>
+	</mx:Script>
+	
+	<mx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</mx:Metadata>
+	
+	<testCases>		
+		<!--testcases for testing create style CSS declaration using styleManager API, and apply it to Class selector-->
+		<TestCase testID="ADV_styleManager_creatStyle_class_selector_test1" 
+				  description="testcases for testing create style CSS declaration using styleManager API, and apply it to Class selector" 
+				  keywords="[AdvancedStyleClient, StyleManager, create CSS declaration, class selector]">
+			<setup>
+				<RunCode code="application.testClassStyle()" />
+				<Pause timeout="{ADVStyleTestConstants.pauseTime}" />
+			</setup>
+			<body>
+				<!--Verify style compound with inline style and created Class Selector style using inline css value. -->
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_1_string_noinh')" value="testString" />
+				
+				<!--Verify inline style using inline value.-->
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_7_format_color_noinh')" 
+								   valueExpression="value=0x334455" />
+				
+				<!--Verify style compound with local class style and created Class Selector style using new set css value. -->
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_6_format_time_noinh')" 
+								   valueExpression="value=2014"/>
+				
+				<!--Verify style only created by styleManager API using this value.-->
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_2_number_noinh')" 
+								   valueExpression="value=222.333"/>	
+				
+				<!--Verify those un-setting styles using default value.-->
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_3_uint_inh')" 
+								   valueExpression="value=undefined" />
+				<AssertMethodValue method="value=application.createClassStyleTest.getStyle('teststyle_5_format_length_noinh')" 
+								   valueExpression="value=30" />
+				
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file



Mime
View raw message