flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369978 [6/7] - in /incubator/flex/trunk/mustella/tests/PerModuleStyles: ./ BasicTests/ BasicTests/baselines/ SWFs/ SWFs/assets/ SWFs/test/ api/ api/baselines/ inheritance/ inheritance/baselines/ merging/ merging/baselines/ regressions/ st...
Date Mon, 06 Aug 2012 20:22:56 GMT
Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/fontsSheet.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/fontsSheet.css?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/fontsSheet.css (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/fontsSheet.css Mon Aug  6 20:22:48 2012
@@ -0,0 +1,107 @@
+/*
+ *
+ * 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.
+ *
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+	fontFamily: SparkVera;
+	embedAsCFF: true;
+}
+
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+	fontWeight: bold;
+	fontFamily: SparkVera;
+	embedAsCFF: true;
+}
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+	fontStyle: italic;
+	fontFamily: SparkVera;
+	embedAsCFF: true;
+	
+}
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+	fontWeight: bold;
+	fontStyle: italic;
+	fontFamily: SparkVera;
+	
+	embedAsCFF: true;
+}
+
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+	fontWeight: bold;
+	fontStyle: italic;
+	fontFamily: HaloVera;
+	
+	embedAsCFF: false;
+}
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+	fontFamily: HaloVera;
+	embedAsCFF: false;
+}
+
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+	fontWeight: bold;
+	fontFamily: HaloVera;
+	embedAsCFF: false;
+}
+
+@font-face{
+	src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+	fontStyle: italic;
+	fontFamily: HaloVera;
+	embedAsCFF: false;
+	
+}
+
+global {
+	fontAntiAliasType: "normal";
+	fontFamily: SparkVera;
+	fontLookup: "embeddedCFF";
+}
+
+mx|Panel, mx|Button,mx|Label, mx|List
+{
+	fontAntiAliasType: "normal";
+	fontFamily: HaloVera;
+	fontSize: 16;
+}
+s|List
+{
+	borderColor: #0000FF;
+	fontSize: 16;
+}
+
+s|Button
+{
+	chromeColor: #AAFFAA;
+	fontSize: 8;
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testSheet.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testSheet.css?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testSheet.css (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testSheet.css Mon Aug  6 20:22:48 2012
@@ -0,0 +1,31 @@
+/*
+ *
+ * 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.
+ *
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+
+s|List
+{
+	skinClass: ClassReference("CustomListSkin");
+}
+
+s|Panel
+{
+	skinClass: ClassReference("CustomPanelSkin");
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testStyles.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testStyles.css?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testStyles.css (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/testStyles.css Mon Aug  6 20:22:48 2012
@@ -0,0 +1,57 @@
+/*
+ *
+ * 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.
+ *
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+
+
+s|DropDownList
+{
+	borderColor: #FF0000;
+	fontSize: 16;
+}
+
+s|Button#gumboButton
+{
+	chromeColor: #AAFFAA;
+	fontSize: 16;
+}
+
+s|Panel s|Label
+{
+	fontSize: 16;
+}
+
+s|Button.myStyle
+{
+	chromeColor: #FFFFAA;
+	fontSize: 14;
+}
+
+s|HGroup s|RichText
+{
+	chromeColor: #BBAAAA;
+	fontSize: 14;
+}
+
+.classOfStyle
+{
+	color: #0FFFFA;	
+	fontSize: 20;
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/pre_compile.sh?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/pre_compile.sh Mon Aug  6 20:22:48 2012
@@ -0,0 +1,66 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+cd assets
+
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+
+echo "Compiling module SWFs..."
+
+
+$SDK_DIR/bin/mxmlc -debug  ModuleAppThree.mxml
+$SDK_DIR/bin/mxmlc -debug  ModuleAppFour.mxml
+$SDK_DIR/bin/mxmlc -debug  ModuleAppSeven.mxml
+$SDK_DIR/bin/mxmlc -debug  ModuleApp.mxml
+$SDK_DIR/bin/mxmlc -debug  testStyles.css
+$SDK_DIR/bin/mxmlc -debug  CSSDeclarationModule.mxml
+$SDK_DIR/bin/mxmlc -debug  CSSDeclarationModule2.mxml
+$SDK_DIR/bin/mxmlc -debug  ModifyCSSDeclarationModule.mxml
+$SDK_DIR/bin/mxmlc -debug  -includes=mx.managers.systemClasses.MarshallingSupport MP_SubApp.mxml
+$SDK_DIR/bin/mxmlc -debug  -includes=mx.managers.systemClasses.MarshallingSupport MP_SubApp_Untrusted.mxml
+$SDK_DIR/bin/mxmlc -debug  SparkModule.mxml
+
+ 
+$SDK_DIR/bin/mxmlc -debug  -theme=$SDK_DIR/frameworks/themes/Halo/halo.swc HaloModule.mxml
+
+$SDK_DIR/bin/mxmlc -debug  StylesModule.mxml
+
+$SDK_DIR/bin/mxmlc -debug  LoadStylesModule.mxml
+
+
+$SDK_DIR/bin/mxmlc -debug  SwfLoaderAppThree.mxml
+
+$SDK_DIR/bin/mxmlc -debug  LoadStylesSubApp.mxml
+
+$SDK_DIR/bin/mxmlc -debug  SparkSubApp.mxml
+
+$SDK_DIR/bin/mxmlc -debug  ViewStackModule.mxml
+$SDK_DIR/bin/mxmlc -debug  FontsModule.mxml
+
+$SDK_DIR/bin/mxmlc -debug  SparkImageMain.mxml
+$SDK_DIR/bin/mxmlc -debug  SparkAlphaMain.mxml
+$SDK_DIR/bin/mxmlc -debug  fontsSheet.css
+
+$SDK_DIR/bin/mxmlc -debug  testSheet.css
+$SDK_DIR/bin/mxmlc -debug  SkinModule.mxml
+$SDK_DIR/bin/mxmlc -debug  SkinModule2.mxml
+$SDK_DIR/bin/mxmlc -debug  ToolTipSubApp.mxml
+$SDK_DIR/bin/mxmlc -debug  -sp+=../ SetStyleProblemSubApp.mxml
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/pre_compile.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTest.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTest.as?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTest.as (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTest.as Mon Aug  6 20:22:48 2012
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package test
+{
+	import mx.core.IFlexModuleFactory;
+	
+	import spark.components.Button;
+	import spark.components.SkinnableContainer;
+	
+	public class SkinnableTest extends SkinnableContainer
+	{
+		public function SkinnableTest()
+		{
+			super();
+		}
+		
+		[SkinPart(required="true")]
+		public var requiredButton:Button;
+		
+		override protected function createChildren():void
+		{
+			trace("skinStyle:", getStyle('skinClass'));
+			super.createChildren();
+		}
+		
+		override public function set moduleFactory(factory:IFlexModuleFactory):void
+		{
+			super.moduleFactory = factory;
+		}
+		
+		override public function set nonInheritingStyles(value:Object):void
+		{
+			super.nonInheritingStyles = value;
+		}
+	}
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTestSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTestSkin.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTestSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/test/SkinnableTestSkin.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,87 @@
+<?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.
+
+-->
+
+
+<!--- The default skin class for a Spark SkinnableContainer container.  
+
+     @see spark.components.SkinnableContainer
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5">
+    <fx:Metadata>[HostComponent("test.SkinnableTest")]</fx:Metadata>
+
+    <fx:Script fb:purpose="styling">
+        <![CDATA[         
+            /**
+             *  @private
+             */
+            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+            {
+                // Push backgroundColor and backgroundAlpha directly.
+                // Handle undefined backgroundColor by hiding the background object.
+                if (isNaN(getStyle("backgroundColor")))
+                {
+                    background.visible = false;
+                }
+                else
+                {
+                    background.visible = true;
+                    bgFill.color = getStyle("backgroundColor");
+                    bgFill.alpha = getStyle("backgroundAlpha");
+                }
+                
+                super.updateDisplayList(unscaledWidth, unscaledHeight);
+            }
+        ]]>        
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+    </s:states>
+    
+    <!--- Defines the appearance of the SkinnableContainer class's background. -->
+    <s:Rect id="background" left="0" right="0" top="0" bottom="0">
+        <s:fill>
+            <!--- @private -->
+            <s:SolidColor id="bgFill" color="#FFFFFF"/>
+        </s:fill>
+    </s:Rect>
+	
+	<s:Button id="requiredButton" label="Required Button" />
+    
+    <!--
+        Note: setting the minimum size to 0 here so that changes to the host component's
+        size will not be thwarted by this skin part's minimum size.   This is a compromise,
+        more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+    -->
+    <!--- @copy spark.components.SkinnableContainer#contentGroup -->
+    <s:Group id="contentGroup" left="{requiredButton.width}" right="0" top="0" bottom="0" minWidth="0" minHeight="0">
+        <s:layout>
+            <s:BasicLayout/>
+        </s:layout>
+    </s:Group>
+
+</s:Skin>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_initial.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_initial.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_initial.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_loaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_loaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_unloaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_unloaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSModule_unloaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp@mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp%40mac.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp@mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubAppEmbed_loaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubAppEmbed_loaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubAppEmbed_loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_initial.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_initial.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_initial.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_loaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_loaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_unloaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_unloaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_SubApp_unloaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_initial.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_initial.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_initial.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_loaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_loaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_unloaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_unloaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSSSwf_unloaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_initial.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_initial.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_initial.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_loaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_loaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_loaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_unloaded.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_unloaded.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/loadCSS_SubApp_unloaded.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_after.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_after.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_after.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_before.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_before.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppMergedStyle_before.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_after.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_after.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_after.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_before.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_before.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyAppStyle_before.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_after.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_after.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_after.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_before.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_before.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyMergedModuleStyle_before.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_after.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_after.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_after.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_afterMerged.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_afterMerged.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_afterMerged.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_before.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_before.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/baselines/modifyModuleStyle_before.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,96 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="StyleDeclarationTestApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="perModuleStyle" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1000" />			
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="color" />
+			<DispatchMouseClickEvent target="mod_loader.child.localButton" waitEvent="click" waitTarget="mod_loader.child.localButton" />
+			
+			<AssertPropertyValue target="mod_loader.child.localStyle" propertyName="text" value="16711680" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="borderColor" />
+			<DispatchMouseClickEvent target="mod_loader.child.localButton" waitEvent="click" waitTarget="mod_loader.child.localButton" />
+
+			<AssertPropertyValue target="mod_loader.child.localStyle" propertyName="text" value="" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="fontSize" />
+			<DispatchMouseClickEvent target="mod_loader.child.localButton" waitEvent="click" waitTarget="mod_loader.child.localButton" />
+
+			<AssertPropertyValue target="mod_loader.child.localStyle" propertyName="text" value="" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="fontStyle" />
+			<DispatchMouseClickEvent target="mod_loader.child.localButton" waitEvent="click" waitTarget="mod_loader.child.localButton" />
+
+			<AssertPropertyValue target="mod_loader.child.localStyle" propertyName="text" value="italic" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="color" />
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+			
+			<AssertPropertyValue target="mod_loader.child.mergedStyle" propertyName="text" value="16711680" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="borderColor" />
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+
+			<AssertPropertyValue target="mod_loader.child.mergedStyle" propertyName="text" value="255" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="fontSize" />
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+
+			<AssertPropertyValue target="mod_loader.child.mergedStyle" propertyName="text" value="16" />
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="fontStyle" />
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+
+			<AssertPropertyValue target="mod_loader.child.mergedStyle" propertyName="text" value="italic" />
+
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.mxml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.sh?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.sh (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.sh Mon Aug  6 20:22:48 2012
@@ -0,0 +1,32 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+echo "Compiling sub application SWFs..."
+cd ../SWFs/assets
+rm StyleDeclarationTestModule.swf
+
+if (! [ -e StyleDeclarationTestModule.swf ])
+then
+   $SDK_DIR/bin/mxmlc -static-rsls=true StyleDeclarationTestModule.mxml
+  
+fi
+
+
+
+

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/checkStyleDeclaration.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,56 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="StylesApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="loadCSSModule" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1500" />	
+			<CompareBitmap url="../api/baselines/$testID_initial.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true" />		
+
+			<DispatchMouseClickEvent target="mod_loader.child.loadStylesButton" waitEvent="complete" waitTarget="mod_loader.child.eventDispatcher" />
+			
+			<CompareBitmap url="../api/baselines/$testID_loaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true"/>
+
+			<DispatchMouseClickEvent target="mod_loader.child.unloadStylesButton" waitEvent="click" waitTarget="mod_loader.child.unloadStylesButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_unloaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true"/>	
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,54 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="LoadStylesApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="loadCSSSwf" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			<CompareBitmap url="../api/baselines/$testID_initial.png" target="groupId"  numColorVariances="10" ignoreMaxColorVariance="true" />		
+			<DispatchMouseClickEvent target="loadStylesButton" waitEvent="complete" waitTarget="eventDispatcher" />			
+			<Pause timeout="500"/>
+			<CompareBitmap url="../api/baselines/$testID_loaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true" />	
+			<DispatchMouseClickEvent target="unloadStylesButton" waitEvent="click" waitTarget="unloadStylesButton" />			
+			<Pause timeout="500"/>
+			<CompareBitmap url="../api/baselines/$testID_unloaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true" />
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,55 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="LoadStylesApp2.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="loadCSSSwf_SubApp" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		<body>				
+		    <RunCode code="application.iniit();"  waitTarget="swf_loader" waitEvent="complete" />				
+		    <Pause timeout="1000" />				
+		    <CompareBitmap url="../api/baselines/" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true">
+		        <ConditionalValue os="mac" />
+		    </CompareBitmap>
+		    <DispatchMouseClickEvent target="loadStylesButton" waitEvent="complete" waitTarget="eventDispatcher" />		    
+		    <Pause timeout="500"/>
+		    <CompareBitmap url="../api/baselines/$testID_loaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="unloadStylesButton" waitEvent="click" waitTarget="unloadStylesButton" />		    
+		    <Pause timeout="500"/>
+		    <CompareBitmap url="../api/baselines/$testID_unloaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true"/>		    
+		</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.sh?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.sh (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.sh Mon Aug  6 20:22:48 2012
@@ -0,0 +1,32 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+echo "Compiling sub application SWFs..."
+cd ../SWFs/assets
+rm StylesSubApp.swf
+
+if (! [ -e StylesSubApp.swf ])
+then
+   $SDK_DIR/bin/mxmlc -static-rsls=true StylesSubApp.mxml
+  
+fi
+
+
+
+

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubApp.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubAppEmbed.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubAppEmbed.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubAppEmbed.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSSSwf_SubAppEmbed.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,51 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="LoadStylesApp3.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="loadCSSSwf_SubAppEmbed" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>			
+			<Pause timeout="1000" />
+			
+			<DispatchMouseClickEvent target="loadStylesButton" waitEvent="complete" waitTarget="eventDispatcher" />
+			
+			<CompareBitmap url="../api/baselines/$testID_loaded.png" target="groupId" numColorVariances="8" ignoreMaxColorVariance="true"/>	
+
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSS_SubApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSS_SubApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSS_SubApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/loadCSS_SubApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,56 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="StylesApp2.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="loadCSS_SubApp" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="swf_loader" waitEvent="complete" />	
+			<Pause timeout="1500" />	
+			<CompareBitmap url="../api/baselines/$testID_initial.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true" />		
+
+			<DispatchMouseClickEvent target="swf_loader.content.document.loadStylesButton" waitEvent="complete" waitTarget="swf_loader.content.document.eventDispatcher" />
+			
+			<CompareBitmap url="../api/baselines/$testID_loaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true" />
+
+			<DispatchMouseClickEvent target="swf_loader.content.document.unloadStylesButton" waitEvent="click" waitTarget="swf_loader.content.document.unloadStylesButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_unloaded.png" target="groupId" numColorVariances="10" ignoreMaxColorVariance="true"/>	
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclaration.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclaration.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclaration.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclaration.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,56 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="ModifyCSSDeclarationApp2.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="modifyMergedModuleStyle" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			<CompareBitmap url="../api/baselines/$testID_before.png" target="hgroupContainer" numColorVariances="6" ignoreMaxColorVariance="true"/>		
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="borderColor" />
+			<SetProperty target="mod_loader.child.newStyle" propertyName="text" value="#FF0000" />
+
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_after.png" target="hgroupContainer" numColorVariances="6" ignoreMaxColorVariance="true"/>	
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclarationInApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclarationInApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclarationInApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyMergedStyleDeclarationInApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,60 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="MergedCSSDeclarationApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="modifyAppMergedStyle" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader2" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			<CompareBitmap url="../api/baselines/$testID_before.png" target="hgroupContainer"/>		
+
+			<SetProperty target="selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="styleNameField" propertyName="text" value="borderColor" />
+			<SetProperty target="newStyle" propertyName="text" value="#FF0000" />
+			<DispatchMouseClickEvent target="mergedButton" waitEvent="click" waitTarget="mergedButton" />
+
+			<SetProperty target="selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="styleNameField" propertyName="text" value="fontSize" />
+			<SetProperty target="newStyle" propertyName="text" value="10" />
+			<DispatchMouseClickEvent target="mergedButton" waitEvent="click" waitTarget="mergedButton" />
+
+			<CompareBitmap url="../api/baselines/$testID_after.png" target="hgroupContainer"/>	
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclaration.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclaration.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclaration.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclaration.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,82 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="ModifyCSSDeclarationApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="modifyModuleStyle" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			<CompareBitmap url="../api/baselines/$testID_before.png" target="hgroupContainer" numColorVariances="6" ignoreMaxColorVariance="true"/>		
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="color" />
+			<SetProperty target="mod_loader.child.newStyle" propertyName="text" value="#0000FF" />
+
+			<DispatchMouseClickEvent target="mod_loader.child.localButton" waitEvent="click" waitTarget="mod_loader.child.localButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_after.png" target="hgroupContainer" numColorVariances="6" ignoreMaxColorVariance="true"/>	
+
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="borderColor" />
+			<SetProperty target="mod_loader.child.newStyle" propertyName="text" value="#FF0000" />
+
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_afterMerged.png" target="hgroupContainer" numColorVariances="6" ignoreMaxColorVariance="true"/>	
+		    </body>
+		</TestCase>
+
+		<TestCase testID="modifyModuleStyleAfterReload" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+			<setup>
+				<RunCode code="application.unload();"  waitTarget="mod_loader" waitEvent="unload" />
+			</setup>
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			
+			<SetProperty target="mod_loader.child.selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="mod_loader.child.styleName" propertyName="text" value="color" />
+			<SetProperty target="mod_loader.child.newStyle" propertyName="text" value="#0000FF" />
+
+			<DispatchMouseClickEvent target="mod_loader.child.mergedButton" waitEvent="click" waitTarget="mod_loader.child.mergedButton" />
+			
+			<AssertPropertyValue target="mod_loader.child.style" propertyName="text" value="0xFF0000" />
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclarationInApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclarationInApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclarationInApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/api/modifyStyleDeclarationInApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,87 @@
+<?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="PerModuleStyles/api/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="CSSDeclarationApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="modifyAppStyle" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+		    <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader2" waitEvent="ready" />	
+			<Pause timeout="1000" />	
+			<CompareBitmap url="../api/baselines/$testID_before.png" target="hgroupContainer"/>		
+
+			<SetProperty target="selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="styleNameField" propertyName="text" value="color" />
+			<SetProperty target="newStyle" propertyName="text" value="#0000FF" />
+			<DispatchMouseClickEvent target="localButton" waitEvent="click" waitTarget="localButton" />
+
+			<SetProperty target="selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="styleNameField" propertyName="text" value="borderColor" />
+			<SetProperty target="newStyle" propertyName="text" value="#00FF00" />
+			<DispatchMouseClickEvent target="localButton" waitEvent="click" waitTarget="localButton" />
+
+			<SetProperty target="selector" propertyName="text" value="spark.components.List" />
+			<SetProperty target="styleNameField" propertyName="text" value="fontSize" />
+			<SetProperty target="newStyle" propertyName="text" value="10" />
+			
+			<DispatchMouseClickEvent target="localButton" waitEvent="click" waitTarget="localButton" />
+			
+			<CompareBitmap url="../api/baselines/$testID_after.png" target="hgroupContainer"/>	
+		    </body>
+		</TestCase>
+
+
+		<TestCase testID="modifyAppStyleAfterReload" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
+			<setup>
+				<RunCode code="application.unload();"  waitTarget="mod_loader2" waitEvent="unload" />
+				<Pause timeout="1000" />
+			</setup>
+		      <body>	
+			<RunCode code="application.iniit();"  waitTarget="mod_loader2" waitEvent="ready" />	
+			<Pause timeout="1500" />	
+			
+			<AssertStyleValue styleName="color" target="mod_loader.child.moduleList" value="0xFF0000"/>
+			<AssertStyleValue styleName="color" target="mod_loader2.child.moduleList" value="0x0000FF"/>
+
+			<AssertStyleValue styleName="borderColor" target="mod_loader.child.moduleList" value="0x00FF00"/>
+			<AssertStyleValue styleName="borderColor" target="mod_loader2.child.moduleList" value="0xFF0000"/>
+
+			<AssertStyleValue styleName="fontSize" target="mod_loader.child.moduleList" value="10"/>
+			<AssertStyleValue styleName="fontSize" target="mod_loader2.child.moduleList" value="10"/>	
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceCurrentDomain.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceCurrentDomain.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceCurrentDomain.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManager.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManager.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManager.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManagerNoParentFactory.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManagerNoParentFactory.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceModuleManagerNoParentFactory.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceViaSkin.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceViaSkin.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritanceViaSkin.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance_swfLoader.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance_swfLoader.png?rev=1369978&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/baselines/styleInheritance_swfLoader.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritance.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritance.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritance.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritance.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,63 @@
+<?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="PerModuleStyles/inheritance/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="PerModuleStyleTest_basic2.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		import mx.core.FlexGlobals;
+		
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="styleInheritance" keywords="[Styles,Module]" description="Test to make sure modules can define their own styles.." >
+ 		    <setup>
+			<RunCode code="FlexGlobals.topLevelApplication.resetModuleLoader()" />
+			<SetProperty target="dg" propertyName="selectedIndex"  value="0" waitEvent="valueCommit" />
+		    </setup>
+		    <body>		
+			<RunCode code="FlexGlobals.topLevelApplication.loadAModule();"  waitEvent="moduleLoaded" waitTarget=""  />
+			<Pause timeout="1000" />
+			<CompareBitmap url="../inheritance/baselines/$testID.png" target="mod_loader" numColorVariances="15" ignoreMaxColorVariance="true"/>
+			
+			
+			<AssertStyleValue styleName="openDuration" target="mod_loader.child.cb" value="1000"/>
+			<AssertStyleValue styleName="color" target="mod_loader.child.cb" value="0xFF0000"/>
+			<AssertStyleValue styleName="fontSize" target="mod_loader.child.cb" value="15"/>
+			<AssertStyleValue styleName="openDuration" target="mod_loader.child.cbOne" value="1500"/>
+			<AssertStyleValue styleName="color" target="mod_loader.child.cbOne" value="0x00FF00"/>
+			<AssertStyleValue styleName="fontSize" target="mod_loader.child.cbOne" value="10"/>
+			<RunCode code="FlexGlobals.topLevelApplication.unloadModule(FlexGlobals.topLevelApplication.mod_loader)" />
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritance.mxml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManager.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManager.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManager.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManager.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,56 @@
+<?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="PerModuleStyles/inheritance/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="ModuleManagerApp.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="styleInheritanceModuleManager" keywords="[Styles,Module]" description="Test to make sure modules can define their own styles.." >
+		    <body>		
+			<RunCode code="application.iniit();"  waitTarget="waitForEventsDispatcher" waitEvent="waitForEventsFinished" />
+		<Pause timeout="1000" />	
+			<CompareBitmap url="../inheritance/baselines/$testID.png" target="moduleContainer" numColorVariances="15" ignoreMaxColorVariance="true"/>
+			
+			
+			<AssertStyleValue styleName="openDuration" target="cb" value="1000"/>
+			<AssertStyleValue styleName="color" target="cb" value="0xFF0000"/>
+			<AssertStyleValue styleName="fontSize" target="cb" value="15"/>
+			<AssertStyleValue styleName="openDuration" target="cbOne" value="1500"/>
+			<AssertStyleValue styleName="color" target="cbOne" value="0x00FF00"/>
+			<AssertStyleValue styleName="fontSize" target="cbOne" value="10"/>
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManagerNoParentFactory.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManagerNoParentFactory.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManagerNoParentFactory.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceModuleManagerNoParentFactory.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,56 @@
+<?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="PerModuleStyles/inheritance/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="ModuleManagerApp_NoParentFactory.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="styleInheritanceModuleManagerNoParentFactory" keywords="[Styles,Module]" description="Test to make sure modules can define their own styles.." >
+		    <body>
+			<RunCode code="application.iniit();"  waitTarget="" waitEvent="validateDisplayListComplete" />
+			<Pause timeout="200" />
+			<CompareBitmap url="../inheritance/baselines/$testID.png" target="moduleContainer" numColorVariances="15" ignoreMaxColorVariance="true"/>
+			
+			
+			<AssertStyleValue styleName="openDuration" target="cb" value="1"/>
+			<AssertStyleValue styleName="color" target="cb" value="0x000000"/>
+			<AssertStyleValue styleName="fontSize" target="cb" value="12"/>
+			<AssertStyleValue styleName="openDuration" target="cbOne" value="1"/>
+			<AssertStyleValue styleName="color" target="cbOne" value="0x000000"/>
+			<AssertStyleValue styleName="fontSize" target="cbOne" value="12"/>
+		    </body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,53 @@
+<?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="PerModuleStyles/inheritance/"  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="*" testSWF="PerModuleStyleTest_basic1.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		import mx.core.FlexGlobals;
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+	]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<testCases>
+		<TestCase testID="styleInheritanceViaSkin" keywords="[Styles,Module]" description="Test to make sure modules can define their own styles.." >
+		    <setup>
+			<RunCode code="FlexGlobals.topLevelApplication.resetModuleLoader()" />
+			<SetProperty target="dg" propertyName="selectedIndex"  value="5" waitEvent="valueCommit" />
+		   </setup>
+		    <body>		
+			<RunCode code="FlexGlobals.topLevelApplication.loadAModule();"  waitEvent="moduleLoaded" waitTarget=""  />
+			<Pause timeout="1000" />
+			<CompareBitmap url="../inheritance/baselines/$testID.png" target="mod_loader" numColorVariances="8" ignoreMaxColorVariance="true"/>
+		        <DispatchMouseClickEvent target="btn2" waitEvent="moduleRemoved" waitTarget="" />
+		    </body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.sh?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.sh (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.sh Mon Aug  6 20:22:48 2012
@@ -0,0 +1,33 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+echo "Compiling sub application SWFs..."
+cd ../SWFs/assets
+rm ModuleAppFive.swf
+rm ModuleAppSix.swf
+if (! [ -e ModuleAppFive.swf ])
+then
+   $SDK_DIR/bin/mxmlc -static-rsls=true ModuleAppFive.mxml
+  
+fi
+if (! [ -e ModuleAppSix.swf ])
+then
+   $SDK_DIR/bin/mxmlc -static-rsls=true ModuleAppSix.mxml
+  
+fi
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/inheritance/checkInheritanceViaSkin.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message