flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [28/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/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml Tue Aug  7 17:13:06 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="mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="../SWFs/AddRemoveEffectTargetFilter_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.core.Application;
+        import mx.effects.effectClasses.AddRemoveEffectTargetFilter;
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <testCases>
+
+        <!-- AddItem -->
+        <TestCase testID="AddRemoveEffectTargetFilter_addItem" keywords="[AddRemoveEffectTargetFilter, usability]" description="Add an item to a list with a data effect.">
+            <body>
+                <RunCode code="application.addListItem();" waitTarget="dataChangeEffect1" waitEvent="effectEnd"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_addItem.png" />
+            </body>
+        </TestCase>
+
+        <!-- AddItem -->
+        <TestCase testID="AddRemoveEffectTargetFilter_removeItem" keywords="[AddRemoveEffectTargetFilter, usability]" description="Remove an item from the list with a data effect.">
+            <body>
+                <RunCode code="application.removeListItem();" waitTarget="dataChangeEffect1" waitEvent="effectEnd"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_removeItem.png" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_addItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_addItem.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_addItem.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_removeItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_removeItem.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/baseline/AddRemoveEffectTargetFilter_removeItem.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/variable/AddRemoveEffectTargetFilter_variable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/variable/AddRemoveEffectTargetFilter_variable.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/variable/AddRemoveEffectTargetFilter_variable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/variable/AddRemoveEffectTargetFilter_variable.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/effects/effectClasses/AddRemoveEffectTargetFilter/variable/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/AddRemoveEffectTargetFilter_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.effectClasses.AddRemoveEffectTargetFilter;
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <testCases>
+
+        <!-- add -->
+        <TestCase testID="AddRemoveEffectTargetFilter_add_Default" keywords="[AddRemoveEffectTargetFilter, variable, add]" description="Test the default value of the add variable.">
+            <body>
+                <AssertMethodValue method="value=(new AddRemoveEffectTargetFilter()).add" value="true"/>
+            </body>
+        </TestCase>
+
+        <!-- filterProperties -->
+        <TestCase testID="AddRemoveEffectTargetFilter_filterProperties_Default" keywords="[AddRemoveEffectTargetFilter, variable, filterProperties]" description="Test the default value of the filterProperties variable.">
+            <body>
+                <AssertMethodValue method="value=(new AddRemoveEffectTargetFilter()).filterProperties" value="parent"/>
+            </body>
+        </TestCase>
+
+        <!-- filterFunction -->
+        <TestCase testID="AddRemoveEffectTargetFilter_filterFunction_Default" keywords="[AddRemoveEffectTargetFilter, variable, filterFunction]" description="Test the default value of the filterFunction variable.">
+            <body>
+                <AssertMethodValue method="value=(new AddRemoveEffectTargetFilter()).filterFunction" value="{function():void{}}"/>
+            </body>
+        </TestCase>
+        
+        <!-- requiredSemantics -->
+        <TestCase testID="AddRemoveEffectTargetFilter_requiredSemantics_Default" keywords="[AddRemoveEffectTargetFilter, variable, requiredSemantics]" description="Test the default value of the requiredSemantics variable.">
+            <body>
+                <AssertMethodValue method="value=(new AddRemoveEffectTargetFilter()).requiredSemantics" value="null"/>
+            </body>
+        </TestCase>
+
+        <!-- filterStyles -->
+        <TestCase testID="AddRemoveEffectTargetFilter_filterStyles_Default" keywords="[AddRemoveEffectTargetFilter, variable, filterStyles]" description="Test the default value of the filterStyles variable.">
+            <body>
+                <AssertMethodValue method="value=(new AddRemoveEffectTargetFilter()).filterStyles" value=""/>
+            </body>
+        </TestCase>
+
+
+    </testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.compile?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.compile (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.compile Tue Aug  7 17:13:06 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/HideShowEffectTargetFilter_main.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.
+
+-->
+<mx:Application
+	xmlns:fx="http://ns.adobe.com/mxml/2009" 
+    xmlns:mx="library://ns.adobe.com/flex/mx" 
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:t="mx.effects.effectClasses.*"
+    backgroundColor="0xFFFFFF">
+    
+	<fx:Style>
+		@font-face{
+			src: url("../../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			embedAsCFF: false;
+			fontFamily: myFontHalo;
+		}
+			
+		global {
+			fontFamily: myFontHalo;	
+		}
+	</fx:Style>
+	
+    <fx:Script>
+        <![CDATA[
+            import mx.collections.ArrayCollection;
+            import assets.MyTargetFilter;
+            
+            [Bindable]
+            private var myDP:ArrayCollection = new ArrayCollection(['A','B','C']);
+
+            public function hitProtected():void
+            {
+            	var temp:MyTargetFilter = new MyTargetFilter();
+            	
+            	temp.HitProtected();
+            }
+        ]]>
+    </fx:Script>
+
+    <!-- Define a custom data effect as a Sequence effect. -->
+    <fx:Declarations>
+        <mx:SetPropertyAction id="eff_SetVisible"
+        	target="{tlist0}"
+            name="visible"
+            value="false"/>
+
+        <mx:Fade id="myFade"
+        	target="{tlist0}"/>
+    </fx:Declarations>
+
+
+    <!-- This TileList uses a custom data change effect. -->
+    <mx:TileList id="tlist0"
+        height="400" width="400"
+        fontSize="30" 
+        columnCount="4" rowCount="4"
+        direction="horizontal"
+        dataProvider="{myDP}"
+        allowMultipleSelection="true"
+        hideEffect="myFade"
+        showEffect="myFade"
+        offscreenExtraRowsOrColumns="4" />
+
+</mx:Application>
+

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/assets/MyTargetFilter.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/assets/MyTargetFilter.as?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/assets/MyTargetFilter.as (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/SWFs/assets/MyTargetFilter.as Tue Aug  7 17:13:06 2012
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 assets
+{
+	import mx.effects.effectClasses.HideShowEffectTargetFilter;
+
+	public class MyTargetFilter extends HideShowEffectTargetFilter
+	{
+		public function MyTargetFilter()
+		{
+			super();
+		}
+		
+		public function HitProtected():Boolean
+		{
+			return(this.defaultFilterFunction(new Array(0), null));
+		}
+	}
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/method/HideShowEffectTargetFilter_method.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/method/HideShowEffectTargetFilter_method.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/method/HideShowEffectTargetFilter_method.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/method/HideShowEffectTargetFilter_method.mxml Tue Aug  7 17:13:06 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="mx/effects/effectClasses/HideShowEffectTargetFilter/method/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/HideShowEffectTargetFilter_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.core.FlexGlobals;
+        import mx.effects.effectClasses.HideShowEffectTargetFilter;
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <testCases>
+
+        <!-- add -->
+        <TestCase testID="HideShowEffectTargetFilter_defaultFilterFunction" keywords="[HideShowEffectTargetFilter, method, defaultFilterFunction]" description="Test the defaultFilterFunction method.">
+            <body>
+                <AssertMethodValue method="value=FlexGlobals.topLevelApplication.hitProtected()" value="null"/>
+            </body>
+        </TestCase>
+
+
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/HideShowEffectTargetFilter_usability.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/HideShowEffectTargetFilter_usability.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/HideShowEffectTargetFilter_usability.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/HideShowEffectTargetFilter_usability.mxml Tue Aug  7 17:13:06 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="mx/effects/effectClasses/HideShowEffectTargetFilter/usability/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="../SWFs/HideShowEffectTargetFilter_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.core.FlexGlobals;
+        import mx.effects.effectClasses.HideShowEffectTargetFilter;
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <testCases>
+
+        <!-- Hide -->
+        <TestCase testID="HideShowEffectTargetFilter_hide" keywords="[HideShowEffectTargetFilter, usability]" description="Test a hideEffect.">
+            <body>
+                <RunCode code="FlexGlobals.topLevelApplication.tlist0.visible = false;" waitTarget="myFade" waitEvent="effectEnd"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/HideShowEffectTargetFilter_hide.png" />
+            </body>
+        </TestCase>
+
+        <!-- Show -->
+        <TestCase testID="HideShowEffectTargetFilter_show" keywords="[HideShowEffectTargetFilter, usability]" description="Test the showEffect.">
+            <body>
+                <RunCode code="FlexGlobals.topLevelApplication.tlist0.visible = true;" waitTarget="myFade" waitEvent="effectEnd"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/HideShowEffectTargetFilter_show.png" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_hide.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_hide.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_hide.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_show.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_show.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/usability/baseline/HideShowEffectTargetFilter_show.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/variable/HideShowEffectTargetFilter_variable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/variable/HideShowEffectTargetFilter_variable.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/variable/HideShowEffectTargetFilter_variable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/HideShowEffectTargetFilter/variable/HideShowEffectTargetFilter_variable.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/effects/effectClasses/HideShowEffectTargetFilter/variable/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/HideShowEffectTargetFilter_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.effectClasses.HideShowEffectTargetFilter;
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <testCases>
+
+        <!-- show -->
+        <TestCase testID="HideShowEffectTargetFilter_show_Default" keywords="[HideShowEffectTargetFilter, variable, show]" description="Test the default value of the show variable.">
+            <body>
+                <AssertMethodValue method="value=(new HideShowEffectTargetFilter()).show" value="true"/>
+            </body>
+        </TestCase>
+
+        <!-- filterStyles -->
+        <TestCase testID="HideShowEffectTargetFilter_filterStyles_Default" keywords="[HideShowEffectTargetFilter, variable, filterStyles]" description="Test the default value of the filterStyles variable.">
+            <body>
+                <AssertMethodValue method="value=(new HideShowEffectTargetFilter()).filterStyles" value=""/>
+            </body>
+        </TestCase>
+
+        <!-- requiredSemantics -->
+        <TestCase testID="HideShowEffectTargetFilter_requiredSemantics_Default" keywords="[HideShowEffectTargetFilter, variable, requiredSemantics]" description="Test the default value of the requiredSemantics variable.">
+            <body>
+                <AssertMethodValue method="value=(new HideShowEffectTargetFilter()).requiredSemantics" value="null"/>
+            </body>
+        </TestCase>
+
+        <!-- filterFunction -->
+        <TestCase testID="HideShowEffectTargetFilter_filterFunction_Default" keywords="[HideShowEffectTargetFilter, variable, filterFunction]" description="Test the default value of the filterFunction variable.">
+            <body>
+                <AssertMethodValue method="value=(new HideShowEffectTargetFilter()).filterFunction" value="{function():void{}}"/>
+            </body>
+        </TestCase>
+
+        <!-- filterProperties -->
+        <TestCase testID="HideShowEffectTargetFilter_filterProperties_Default" keywords="[HideShowEffectTargetFilter, variable, filterProperties]" description="Test the default value of the filterProperties variable.">
+            <body>
+                <AssertMethodValue method="value=(new HideShowEffectTargetFilter()).filterProperties" value="visible"/>
+            </body>
+        </TestCase>
+
+
+    </testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/BitmapFill_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/BitmapFill_Properties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/BitmapFill_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/BitmapFill_Properties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,380 @@
+<UnitTester
+    testDir="mx/graphics/BitmapFill/Properties/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/BitmapFill_Main.mxml">
+
+    <!--Default Script-->
+    <mx:Script>
+        <![CDATA[
+        import spark.components.VideoDisplay;
+
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <!--Default Metadata-->
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+
+    <!--Test Cases-->
+    <testCases>
+        <TestCase testID="BitmapFill_Properties_fillMode_default" keywords="[BitmapFill, fillMode]"
+            description="Test the default value of the fillMode property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="fillMode" value="scale" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="BitmapFill_Properties_fillMode_repeat" keywords="[BitmapFill, fillMode]"
+            description="Test setting the fillMode value to repeat">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_fillMode_clip" keywords="[BitmapFill, fillMode]"
+            description="Test setting the fillMode value to false">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetX_default" keywords="[BitmapFill, offsetX]"
+            description="Test the default value of the offsetX property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="offsetX" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetX_int" keywords="[BitmapFill, offsetX]"
+            description="Test setting the offsetX to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="offsetX" value="20"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetX_neg" keywords="[BitmapFill, offsetX]"
+            description="Test setting the offsetX to a negative number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="offsetX" value="-20"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetY_default" keywords="[BitmapFill, offsetY]"
+            description="Test the default value of the offsetY property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="offsetY" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetY_int" keywords="[BitmapFill, offsetY]"
+            description="Test setting the offsetY to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="offsetY" value="20"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_offsetY_neg" keywords="[BitmapFill, offsetY]"
+            description="Test setting the offsetY to a negative number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="offsetY" value="-20"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_rotation_int" keywords="[BitmapFill, rotation]"
+            description="Test setting the rotation to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="45"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_rotation_and_repeat" keywords="[BitmapFill, rotation]"
+            description="Test setting the rotation to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="-45"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_scaleY_2" keywords="[BitmapFill, scaleY]"
+            description="Test setting the scaleY to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="scaleY" value="2"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_scaleY_05" keywords="[BitmapFill, scaleY]"
+            description="Test setting the scaleY to a negative number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="scaleY" value="0.5"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_scaleX_2" keywords="[BitmapFill, scaleX]"
+            description="Test setting the scaleX to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="scaleX" value="2"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_scaleX_05" keywords="[BitmapFill, scaleX]"
+            description="Test setting the scaleX to a negative number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="scaleX" value="0.5"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_originX_default" keywords="[BitmapFill, originX]"
+            description="Test the default value of the originX property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="originX" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_originX_right" keywords="[BitmapFill, originX]"
+            description="Test setting the originX to a positive number.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="originX" value="54"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="15"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_originY_default" keywords="[BitmapFill, originY]"
+            description="Test the default value of the originY property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="originY" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_originY_right" keywords="[BitmapFill, originY]"
+            description="Test setting the originY to the right most point.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="originY" value="53"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="-15"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_transformX_default" keywords="[BitmapFill, transformX]"
+            description="Test the default value of the transformX property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="transformX" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_transformY_default" keywords="[BitmapFill, transformY]"
+            description="Test the default value of the transformY property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="transformY" value="53" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_transformY_right" keywords="[BitmapFill, transformY]"
+            description="Test setting the transformY to the right most point.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="transformY" value="40"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="-15"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_transformX_right" keywords="[BitmapFill, transformX]"
+            description="Test setting the transformX to the right most point.">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="clip"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="transformX" value="53"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="rotation" value="-15"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_smooth_default" keywords="[BitmapFill, smooth]"
+            description="Test the default value of the smooth property.">
+            <body>
+                <AssertPropertyValue target="rectComp.rectFill" propertyName="smooth" value="false" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="BitmapFill_Properties_smooth_false" keywords="[BitmapFill, smooth]"
+            description="Test setting the smooth value to false">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="smooth" value="true"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="smooth" value="false"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_smooth_true" keywords="[BitmapFill, smooth]"
+            description="Test setting the smooth value to true">
+            <setup>
+                <ResetComponent target="rectComp" className="comps.RectComp" waitEvent="updateComplete" waitTarget="rectComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectComp.rectFill" propertyName="smooth" value="true"
+                    waitTarget="rectComp.getElementAt(0)" waitEvent="updateComplete" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_matrix_mxml" keywords="[BitmapFill, matrix]"
+            description="Test setting the matrix in mxml to move to fill to 20,10">
+            <setup>
+                <ResetComponent target="rectFilterComp" className="comps.RectFilterComp" waitEvent="updateComplete" waitTarget="rectFilterComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectFilterComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectFilterComp.getElementAt(0)" waitEvent="updateComplete" />
+                <AssertPropertyValue target="rectFilterComp.rectFill" propertyName="x" value="20" />
+                <AssertPropertyValue target="rectFilterComp.rectFill" propertyName="y" value="10" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectFilterComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_matrix_as" keywords="[BitmapFill, matrix]"
+            description="Test setting the matrix in as to move to rotate by -20.">
+            <setup>
+                <ResetComponent target="rectFilterComp" className="comps.RectFilterComp" waitEvent="updateComplete" waitTarget="rectFilterComp" />
+            </setup>
+            <body>
+                <SetProperty target="rectFilterComp.rectFill" propertyName="fillMode" value="repeat"
+                    waitTarget="rectFilterComp.getElementAt(0)" waitEvent="updateComplete" />
+                <SetProperty target="rectFilterComp.rectFill" propertyName="matrix" valueExpression="value=application.transform_move_rotate1"
+                    waitTarget="rectFilterComp.getElementAt(0)" waitEvent="updateComplete" />
+                <AssertPropertyValue target="rectFilterComp.rectFill" propertyName="rotation" value="-20" />
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_alpha_mxml" keywords="[BitmapFill, matrix]"
+            description="Test setting the matrix in as to move to rotate by -20.">
+            <setup>
+                <ResetComponent target="rectAlphaComp" className="comps.RectCompAlpha" waitEvent="updateComplete" waitTarget="rectAlphaComp" />
+            </setup>
+            <body>
+               <CompareBitmap url="../Properties/baselines/$testID.png" target="rectAlphaComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_alpha_AS" keywords="[BitmapFill, matrix]"
+            description="Test setting the matrix in as to move to rotate by -20.">
+            <setup>
+                <ResetComponent target="rectAlphaComp" className="comps.RectCompAlpha" waitEvent="updateComplete" waitTarget="rectAlphaComp" />
+            </setup>
+            <body>
+               <SetProperty target="rectAlphaComp.rectFill" propertyName="alpha" value="0.9" waitTarget="rectAlphaComp" waitEvent="updateComplete" />
+               <CompareBitmap url="../Properties/baselines/$testID.png" target="rectAlphaComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_alpha_zero" keywords="[BitmapFill, matrix]"
+            description="Test setting the matrix in as to move to rotate by -20.">
+            <setup>
+                <ResetComponent target="rectAlphaComp" className="comps.RectCompAlpha" waitEvent="updateComplete" waitTarget="rectAlphaComp" />
+            </setup>
+            <body>
+               <SetProperty target="rectAlphaComp.rectFill" propertyName="alpha" value="0" waitTarget="rectAlphaComp" waitEvent="updateComplete" />
+               <CompareBitmap url="../Properties/baselines/$testID.png" target="rectAlphaComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="BitmapFill_Properties_source_null" keywords="[BitmapFill, source]"
+            description="Test setting the source of a BitmapFill to null.">
+            <!--bugs>
+                <Bug bugID="SDK-24142" />
+            </bugs-->
+            <setup>
+                <ResetComponent target="rectAlphaComp" className="comps.RectCompAlpha" waitEvent="updateComplete" waitTarget="rectAlphaComp" />
+            </setup>
+            <body>
+               <SetProperty target="rectAlphaComp.rectFill" propertyName="source" valueExpression="value=null"  waitEvent="updateComplete" waitTarget="rectAlphaComp"/>
+               <CompareBitmap url="../Properties/baselines/$testID.png" target="rectAlphaComp" timeout="2000"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_AS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_AS.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_AS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_zero.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_zero.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_alpha_zero.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_clip.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_clip.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_clip.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_repeat.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_repeat.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_fillMode_repeat.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_matrix_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_matrix_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_matrix_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetX_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_offsetY_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originX_right.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originX_right.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originX_right.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originY_right.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originY_right.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_originY_right.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_and_repeat.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_and_repeat.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_and_repeat.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_rotation_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_05.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_05.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_05.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_2.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleX_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_05.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_05.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_05.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_2.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_scaleY_2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_false.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_false.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_false.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_true.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_true.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_smooth_true.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_source_null.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_source_null.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_source_null.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformX_right.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformX_right.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformX_right.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformY_right.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformY_right.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/Properties/baselines/BitmapFill_Properties_transformY_right.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/BitmapFill_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/BitmapFill_Main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/BitmapFill_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/BitmapFill_Main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,35 @@
+<?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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:local="comps.*">
+<fx:Declarations>
+        <!-- These transforms should make the rotation -20 -->
+	    <s:Matrix id="transform_move_rotate1" a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084"
+	               tx="215" ty="400" />
+</fx:Declarations>
+
+<local:RectComp id="rectComp" />
+
+<local:RectFilterComp id="rectFilterComp" y="200" />
+
+<local:RectCompAlpha id="rectAlphaComp" />
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?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.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <s:Rect height="100" width="200">
+        <s:stroke>
+            <s:SolidColorStroke color="0x000000" weight="1"/>
+        </s:stroke>
+        <s:fill>
+            <s:BitmapFill id="rectFill" source="@Embed('../../../../../../Assets/Images/redrect.jpg')" />
+        </s:fill>
+    </s:Rect>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectCompAlpha.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectCompAlpha.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectCompAlpha.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectCompAlpha.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?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.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark" x="240" >
+
+    <s:Rect height="100" width="200">
+        <s:stroke>
+            <s:SolidColorStroke color="0x000000" weight="1"/>
+        </s:stroke>
+        <s:fill>
+            <s:BitmapFill id="rectFill" alpha="0.5" source="@Embed('../../../../../../Assets/Images/smallgreenrect.jpg')" />
+        </s:fill>
+    </s:Rect>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectFilterComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectFilterComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectFilterComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/BitmapFill/SWFs/comps/RectFilterComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,43 @@
+<?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.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <s:Rect height="100" width="200">
+        <s:stroke>
+            <s:SolidColorStroke color="0x000000" weight="1"/>
+        </s:stroke>
+        <s:fill>
+            <s:BitmapFill id="rectFill" source="@Embed('../../../../../../Assets/Images/redrect.jpg')" >
+                <s:matrix>
+					<s:Matrix a="0.939692620786"
+					    b="0.34202014332"
+					    c="0.34202014332"
+					    d="0.939692620786"
+					    tx="20"
+					    ty="10"
+					/>
+				</s:matrix>
+		    </s:BitmapFill>
+        </s:fill>
+    </s:Rect>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/LinearGradient_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/LinearGradient_Properties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/LinearGradient_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/LinearGradient_Properties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,157 @@
+<UnitTester
+    testDir="mx/graphics/LinearGradient/Properties/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/LinearGradient_Main.mxml">
+
+    <!--Default Script-->
+    <mx:Script>
+        <![CDATA[
+        import spark.components.VideoDisplay;
+
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <!--Default Metadata-->
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+
+    <!--Test Cases-->
+    <testCases>
+    <!-- Note, no event triggers when you update a filter at runtime -->
+
+        <TestCase testID="LinearGradient_Properties_angle_mxml" keywords="[LinearGradient, angle]"
+            description="Test using angle in mxml">
+            <body>
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rect_angle" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradient_Properties_angle_as_int" keywords="[LinearGradient, angle]"
+            description="Test the default value of the alpha property.">
+            <setup>
+                <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+            </setup>
+            <body>
+                <SetProperty propertyName="angle" value="40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradient_Properties_angle_as_neg" keywords="[LinearGradient, angle]"
+            description="Test the default value of the alpha property.">
+            <setup>
+                <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+            </setup>
+            <body>
+                <SetProperty propertyName="angle" value="-40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradient_Properties_rotation_mxml" keywords="[LinearGradient, rotation]"
+              description="Test using rotation in mxml">
+              <body>
+                  <SetProperty propertyName="fill" target="rect_rotation.getElementAt(0)" valueExpression="value=application.gradient1"
+                      waitTarget="rect_rotation.getElementAt(0)" waitEvent="updateComplete" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rect_rotation" />
+              </body>
+          </TestCase>
+          <TestCase testID="LinearGradient_Properties_rotation_as_int" keywords="[LinearGradient, rotation]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="rotation" value="40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+          <TestCase testID="LinearGradient_Properties_rotation_as_neg" keywords="[LinearGradient, rotation]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="rotation" value="-40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+        </TestCase>
+        <TestCase testID="LinearGradient_Properties_spreadMethod_reflect" keywords="[LinearGradient, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradient_Properties_spreadMethod_repeat" keywords="[LinearGradient, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="repeat" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradient_Properties_spreadMethod_default" keywords="[LinearGradient, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <AssertPropertyValue propertyName="spreadMethod" value="pad" target="rectComp1.gradient1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradient_Properties_interpolationMethod_default" keywords="[LinearGradient, interpolationMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <AssertPropertyValue propertyName="interpolationMethod" value="rgb" target="rectComp1.gradient1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradient_Properties_interpolationMethod_linearRGB" keywords="[LinearGradient, interpolationMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="interpolationMethod" value="linearRGB" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_as_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_angle_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_interpolationMethod_linearRGB.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_interpolationMethod_linearRGB.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_interpolationMethod_linearRGB.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.



Mime
View raw message