incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [27/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/Zoom/Containers/Zoom_Containers.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Containers/Zoom_Containers.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Containers/Zoom_Containers.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Containers/Zoom_Containers.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,248 @@
+<?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/Zoom/Containers/"  
+    testSWF="Zoom_Main.mxml" 
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*">
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import Containers.*;
+        
+        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>
+        <TestCase testID="Effects_Zoom_Containers_Accordion" keywords="[Effects, Zoom, Containers, Accordion]" description="Zoom a Accordion container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixAccordion();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(2, 8, 0.20, 0.86, 0.20, 0.65, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.86" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.65" />
+                <AssertPixelValue target="uiComponent" x="29" y="6" value="0x809498" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_ApplicationControlBar" keywords="[Effects, Zoom, Containers, ApplicationControlBar]" description="Zoom a ApplicationControlBar container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixApplicationControlBar();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(10, 10, 0.30, 0.79, 0.35, 0.58, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.79" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.58" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_Box" keywords="[Effects, Zoom, Containers, Box]" description="Zoom a Box container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(14, 19, 0.40, 0.56, 0.35, 0.62, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.56" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.62" />
+                <CompareBitmap target="testPanel" url="../Containers/baseline/$testID.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_Canvas" keywords="[Effects, Zoom, Containers, Canvas]" description="Zoom a Canvas container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixCanvas();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(13, 14, 0.20, 0.97, 0.40, 0.52, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.97" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.52" />
+                <AssertPixelValue target="uiComponent" x="134" y="47" value="0xBBBCBC" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_ControlBar" keywords="[Effects, Zoom, Containers, ControlBar]" description="Zoom a ControlBar container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixControlBar();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(15, 8, 0.30, 0.64, 0.20, 0.78, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.64" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.78" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_DividedBox" keywords="[Effects, Zoom, Containers, DividedBox]" description="Zoom a DividedBox container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixDividedBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(1, 18, 0.20, 0.57, 0.48, 0.84, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.57" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.84" />
+                <AssertPixelValue target="uiComponent" x="18" y="114" value="0xF7F7F7" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_Form" keywords="[Effects, Zoom, Containers, Form]" description="Zoom a Form container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixForm();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(8, 3, 0.30, 0.75, 0.45, 0.97, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.75" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.97" />
+                <AssertPixelValue target="uiComponent" x="17" y="74" value="0xFFFFFF" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_FormHeading" keywords="[Effects, Zoom, Containers, FormHeading]" description="Zoom a FormHeading container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixFormHeading();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(13, 13, 0.30, 0.85, 0.26, 0.96, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.85" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.96" />
+                <AssertPixelValue target="uiComponent" x="16" y="6" value="0xB333C" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_Grid" keywords="[Effects, Zoom, Containers, Grid]" description="Zoom a Grid container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixGrid();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 14, 0.40, 0.80, 0.35, 0.60, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.80" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.60" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_HBox" keywords="[Effects, Zoom, Containers, HBox]" description="Zoom a HBox container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(8, 3, 0.30, 0.65, 0.49, 0.92, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.65" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.92" />
+                <AssertPixelValue target="uiComponent" x="26" y="22" value="0xE3E6E6" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_HDividedBox" keywords="[Effects, Zoom, Containers, HDividedBox]" description="Zoom a HDividedBox container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHDividedBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(11, 5, 0.20, 0.99, 0.29, 0.86, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.99" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.86" />
+                <AssertPixelValue target="uiComponent" x="12" y="7" value="0x48666C" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_TabNavigator" keywords="[Effects, Zoom, Containers, TabNavigator]" description="Zoom a TabNavigator container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTabNavigator();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(13, 11, 0.10, 0.59, 0.37, 0.73, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.59" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.73" />
+                <CompareBitmap target="testPanel" url="../Containers/baseline/$testID.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_Tile" keywords="[Effects, Zoom, Containers, Tile]" description="Zoom a Tile container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTile();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(13, 3, 0.40, 0.71, 0.21, 0.55, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.71" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.55" />
+                <AssertPixelValue target="uiComponent" x="20" y="43" value="4547433" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_TitleWindow" keywords="[Effects, Zoom, Containers, TitleWindow]" description="Zoom a TitleWindow container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTitleWindow();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(9, 0, 0.40, 0.90, 0.21, 0.76, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.90" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.76" />
+                <AssertPixelValue target="uiComponent" x="19" y="11" value="0x70878C" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_VBox" keywords="[Effects, Zoom, Containers, VBox]" description="Zoom a VBox container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(13, 9, 0.20, 0.63, 0.38, 0.90, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.63" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.90" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Containers_VDividedBox" keywords="[Effects, Zoom, Containers, VDividedBox]" description="Zoom a VDividedBox container.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVDividedBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 2, 0.10, 0.85, 0.47, 0.81, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.85" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.81" />
+                <AssertPixelValue target="uiComponent" x="3" y="6" value="0x294C54" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

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

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Containers/baseline/Effects_Zoom_Containers_Box.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Containers/baseline/Effects_Zoom_Containers_TabNavigator.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/Zoom_Controls.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/Zoom_Controls.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/Zoom_Controls.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/Zoom_Controls.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,392 @@
+<?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/Zoom/Controls/"  
+    testSWF="Zoom_Main.mxml" 
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*">
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import Containers.TrixPanel;
+        import Controls.*;
+        
+        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>
+        <TestCase testID="Effects_Zoom_Controls_Button" keywords="[Effects, Zoom, Controls, Button]" description="Zoom a Button control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixButton();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(17, 15, 0.40, 0.93, 0.25, 0.87, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.93" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.87" />
+                <AssertPixelValue target="uiComponent" x="43" y="15" value="0xF1F1F1" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_CheckBox" keywords="[Effects, Zoom, Controls, CheckBox]" description="Zoom a CheckBox control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixCheckBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(7, 4, 0.20, 0.54, 0.36, 0.66, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.54" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.66" />
+                <CompareBitmap target="testPanel" url="../Controls/baseline/$testID.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_ColorPicker" keywords="[Effects, Zoom, Controls, ColorPicker]" description="Zoom a ColorPicker control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixColorPicker();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(10, 16, 0.40, 0.69, 0.14, 0.93, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.69" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.93" />
+                <AssertPixelValue target="uiComponent" x="30" y="42" value="6579301" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_ComboBox" keywords="[Effects, Zoom, Controls, ComboBox]" description="Zoom a ComboBox control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixComboBox();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(9, 9, 0.10, 0.60, 0.33, 0.55, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.60" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.55" />
+                <AssertPixelValue target="uiComponent" x="18" y="7" value="0xF1F1F1" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_DataGrid" keywords="[Effects, Zoom, Controls, DataGrid]" description="Zoom a DataGrid control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixDataGrid();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(14, 6, 0.40, 0.86, 0.43, 0.83, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.86" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.83" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_DateChooser" keywords="[Effects, Zoom, Controls, DateChooser]" description="Zoom a DateChooser control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixDateChooser();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(4, 15, 0.20, 0.75, 0.23, 0.50, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.75" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.50" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_DateField" keywords="[Effects, Zoom, Controls, DateField]" description="Zoom a DateField control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixDateField();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(5, 5, 0.20, 0.94, 0.19, 0.73, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.94" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.73" />
+                <AssertPixelValue target="uiComponent" x="139" y="4" value="10462116" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_HorizontalList" keywords="[Effects, Zoom, Controls, HorizontalList]" description="Zoom a HorizontalList control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHorizontalList();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(16, 5, 0.10, 0.57, 0.36, 0.60, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.57" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.60" />
+                <AssertPixelValue target="uiComponent" x="6" y="8" value="0x85999D" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_HRule" keywords="[Effects, Zoom, Controls, HRule]" description="Zoom a HRule control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHRule();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(1, 13, 0.20, 0.82, 0.20, 0.92, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.82" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.92" />
+                <AssertPixelValue target="uiComponent" x="1" y="0" value="255" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_HScrollBar" keywords="[Effects, Zoom, Controls, HScrollBar]" description="Zoom a HScrollBar control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHScrollBar();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(7, 13, 0.10, 0.84, 0.15, 0.53, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.84" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.53" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_HSlider" keywords="[Effects, Zoom, Controls, HSlider]" description="Zoom a HSlider control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixHSlider();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(17, 13, 0.20, 0.83, 0.44, 0.93, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.83" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.93" />
+                <AssertPixelValue target="uiComponent" x="57" y="13" value="8290946" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_Image" keywords="[Effects, Zoom, Controls, Image]" description="Zoom a Image control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixImage();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(17, 19, 0.20, 0.89, 0.14, 0.92, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.89" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.92" />
+                <AssertPixelValue target="uiComponent" x="0" y="0" value="16777215" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_Label" keywords="[Effects, Zoom, Controls, Label]" description="Zoom a Label control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixLabel();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(8, 11, 0.10, 0.84, 0.25, 0.63, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.84" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.63" />
+                <AssertPixelValue target="uiComponent" x="4" y="3" value="0x85999D" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_LinkButton" keywords="[Effects, Zoom, Controls, LinkButton]" description="Zoom a LinkButton control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixLinkButton();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(19, 11, 0.30, 0.81, 0.36, 0.57, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.81" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.57" />
+                <AssertPixelValue target="uiComponent" x="14" y="6" value="0xFFFFFF" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_List" keywords="[Effects, Zoom, Controls, List]" description="Zoom a List control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixList();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(6, 11, 0.30, 0.80, 0.15, 0.83, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.80" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.83" />
+                <AssertPixelValue target="uiComponent" x="6" y="12" value="0xB2BFC2" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_PopUpButton" keywords="[Effects, Zoom, Controls, PopUpButton]" description="Zoom a PopUpButton control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixPopUpButton();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(1, 2, 0.20, 0.62, 0.20, 0.82, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.62" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.82" />
+                <AssertPixelValue target="uiComponent" x="18" y="8" value="0x193F47" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_ProgressBar" keywords="[Effects, Zoom, Controls, ProgressBar]" description="Zoom a ProgressBar control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixProgressBar();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(14, 5, 0.30, 0.74, 0.18, 0.83, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.74" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.83" />
+                <AssertPixelValue target="uiComponent" x="42" y="5" value="0xEEEEEE" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_RadioButton" keywords="[Effects, Zoom, Controls, RadioButton]" description="Zoom a RadioButton control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixRadioButton();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(12, 13, 0.20, 0.97, 0.37, 0.76, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.97" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.76" />
+                <CompareBitmap target="testPanel" url="../Controls/baseline/$testID.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_RichTextEditor" keywords="[Effects, Zoom, Controls, RichTextEditor]" description="Zoom a RichTextEditor control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixRichTextEditor();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(7, 5, 0.10, 0.62, 0.23, 0.64, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.62" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.64" />
+                <AssertPixelValue target="uiComponent" x="43" y="92" value="0x349DDF" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_Text" keywords="[Effects, Zoom, Controls, Text]" description="Zoom a Text control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixText();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(6, 5, 0.40, 0.90, 0.49, 0.75, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.90" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.75" />
+                <AssertPixelValue target="uiComponent" x="13" y="5" value="0xE0E5E6" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_TextArea" keywords="[Effects, Zoom, Controls, TextArea]" description="Zoom a TextArea control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTextArea();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(14, 1, 0.30, 0.83, 0.34, 0.62, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.83" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.62" />
+                <AssertPixelValue target="uiComponent" x="8" y="16" value="0xFFFFFF" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_TextInput" keywords="[Effects, Zoom, Controls, TextInput]" description="Zoom a TextInput control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTextInput();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(16, 15, 0.20, 0.50, 0.45, 0.69, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.50" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.69" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_Tree" keywords="[Effects, Zoom, Controls, Tree]" description="Zoom a Tree control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixTree();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(11, 16, 0.20, 0.92, 0.49, 0.72, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.92" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.72" />
+                <AssertPixelValue target="uiComponent" x="28" y="42" value="0x656565" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_VideoDisplay" keywords="[Effects, Zoom, Controls, VideoDisplay]" description="Zoom a VideoDisplay control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVideoDisplay();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(8, 16, 0.40, 0.79, 0.48, 0.86, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.79" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.86" />
+                <AssertPixelValue target="uiComponent" x="3" y="3" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_VRule" keywords="[Effects, Zoom, Controls, VRule]" description="Zoom a VRule control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVRule();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(11, 16, 0.40, 0.56, 0.46, 0.99, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.56" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.99" />
+                <AssertPixelValue target="uiComponent" x="0" y="0" value="4194111" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_VScrollBar" keywords="[Effects, Zoom, Controls, VScrollBar]" description="Zoom a VScrollBar control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVScrollBar();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(16, 18, 0.20, 0.53, 0.41, 0.56, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.53" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.56" />
+                <AssertPixelValue target="uiComponent" x="4" y="34" value="0xB1B4B5" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Controls_VSlider" keywords="[Effects, Zoom, Controls, VSlider]" description="Zoom a VSlider control.">
+            <setup>
+                <RunCode code="application.uiComponent = new TrixVSlider();" />
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+                <RunCode code="application.testPanel.addChild(application.uiComponent);" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(1, 19, 0.10, 0.50, 0.14, 0.97, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleX" value="0.50" />
+                <AssertPropertyValue target="uiComponent" propertyName="scaleY" value="0.97" />
+                <AssertPixelValue target="uiComponent" x="5" y="89" value="6843500" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

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

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/baseline/Effects_Zoom_Controls_CheckBox.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Controls/baseline/Effects_Zoom_Controls_RadioButton.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Events/Zoom_Events.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Events/Zoom_Events.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Events/Zoom_Events.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Events/Zoom_Events.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Zoom/Events/"  
+    testSWF="Zoom_Main.mxml" 
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*">
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import Containers.TrixPanel;
+        
+        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>
+        <TestCase testID="Effects_Zoom_Events_EffectStart" keywords="[Effects, Zoom, Events, EffectStart]" description="Verify EffectStart is raised.">
+            <setup>
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 0, 0.1, 1.0, 0.1, 1.0, 250);" waitEvent="effectStart" waitTarget="testEffect" />
+                <AssertEvent target="testEffect" eventName="effectStart" eventClass="mx.events::EffectEvent" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Events_EffectEnd" keywords="[Effects, Zoom, Events, EffectEnd]" description="Verify EffectEnd is raised.">
+            <setup>
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 0, 0.1, 1.0, 0.1, 1.0, 250);" waitEvent="effectEnd" waitTarget="testEffect" />
+                <AssertEvent target="testEffect" eventName="effectEnd" eventClass="mx.events::EffectEvent" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="Effects_Zoom_Events_TweenStart" keywords="[Effects, Zoom, Events, TweenStart]" description="Verify TweenStart is raised.">
+            <setup>
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 0, 0.1, 1.0, 0.1, 1.0, 250);" waitEvent="tweenStart" waitTarget="testEffect" />
+                <AssertEvent target="testEffect" eventName="tweenStart" eventClass="mx.events::TweenEvent" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Events_TweenUpdate" keywords="[Effects, Zoom, Events, TweenUpdate]" description="Verify TweenUpdate is raised.">
+            <setup>
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 0, 0.1, 1.0, 0.1, 1.0, 250);" waitEvent="tweenUpdate" waitTarget="testEffect" />
+                <AssertEvent target="testEffect" eventName="tweenUpdate" eventClass="mx.events::TweenEvent" numExpectedEvents="-1" />
+            </body>
+        </TestCase>
+        <TestCase testID="Effects_Zoom_Events_TweenEnd" keywords="[Effects, Zoom, Events, TweenEnd]" description="Verify TweenEnd is raised.">
+            <setup>
+                <ResetComponent target="testPanel" className="Containers.TrixPanel" waitEvent="updateComplete" waitTarget="testPanel" />
+            </setup>
+            <body>
+                <RunCode code="application.ApplyEffect(0, 0, 0.1, 1.0, 0.1, 1.0, 250);" waitEvent="tweenEnd" waitTarget="testEffect" />
+                <AssertEvent target="testEffect" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+            </body>
+        </TestCase>
+    </testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Methods/Zoom_Methods.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Methods/Zoom_Methods.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Methods/Zoom_Methods.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Methods/Zoom_Methods.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,72 @@
+<?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.
+
+-->
+<!-- 
+     Methods.mxml - the following testCases test the given effect's public methods.
+-->
+<UnitTester 
+    testDir="mx/effects/Zoom/Methods/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="Zoom_Main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.Zoom;
+        ]]>
+    </mx:Script>
+
+    <testCases>
+
+        <!-- Construtor - Zoom -->
+        <TestCase testID="Zoom_Constructor_Empty"  keywords="[Zoom, method, constructor]" description="Try to initialize the constructor with an empty arg.">
+            <body>
+                <RunCode code="application.testEffect = new Zoom();"/>
+            </body>
+        </TestCase>
+
+        <TestCase testID="Zoom_Constructor_Null"  keywords="[Zoom, method, constructor]" description="Try to initialize the constructor with the null arg.">
+            <body>
+                <RunCode code="application.testEffect = new Zoom(null);"/>
+            </body>
+        </TestCase>
+
+        <TestCase testID="Zoom_Constructor_Object"  keywords="[Zoom, method, constructor]" description="Try to initialize the constructor with an object.">
+            <body>
+                <RunCode code="application.testEffect = new Zoom(new Object());" />
+            </body>
+        </TestCase>
+
+    </testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Props/Zoom_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Props/Zoom_Properties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Props/Zoom_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/Props/Zoom_Properties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,279 @@
+<UnitTester 
+    testDir="mx/effects/Zoom/Props/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="Zoom_Main.mxml">
+    
+  <!--Default Script-->
+  <mx:Script><![CDATA[
+public static function init(o:DisplayObject):void{}
+
+import mx.effects.Zoom;
+]]></mx:Script>
+    
+  <!--Default Metadata-->
+  <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+  <!--Test Cases-->
+  <testCases>
+    <!--Zoom_Properties_captureRollEvents_True-->
+    <TestCase testID="Zoom_Properties_captureRollEvents_True" keywords="[Zoom, Properties, captureRollEvents]" description="Test the setting of the Zoom.captureRollEvents property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="captureRollEvents" value="true" />
+        <AssertPropertyValue target="testEffect" propertyName="captureRollEvents" value="true" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_captureRollEvents_False-->
+    <TestCase testID="Zoom_Properties_captureRollEvents_False" keywords="[Zoom, Properties, captureRollEvents]" description="Test the setting of the Zoom.captureRollEvents property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="captureRollEvents" value="false" />
+        <AssertPropertyValue target="testEffect" propertyName="captureRollEvents" value="false" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originX_Negative-->
+    <TestCase testID="Zoom_Properties_originX_Negative" keywords="[Zoom, Properties, originX]" description="Test the setting of the Zoom.originX property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originX" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="originX" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originX_Zero-->
+    <TestCase testID="Zoom_Properties_originX_Zero" keywords="[Zoom, Properties, originX]" description="Test the setting of the Zoom.originX property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originX" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="originX" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originX_Normal-->
+    <TestCase testID="Zoom_Properties_originX_Normal" keywords="[Zoom, Properties, originX]" description="Test the setting of the Zoom.originX property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originX" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="originX" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originX_Big-->
+    <TestCase testID="Zoom_Properties_originX_Big" keywords="[Zoom, Properties, originX]" description="Test the setting of the Zoom.originX property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originX" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="originX" value="32767" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originY_Negative-->
+    <TestCase testID="Zoom_Properties_originY_Negative" keywords="[Zoom, Properties, originY]" description="Test the setting of the Zoom.originY property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originY" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="originY" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originY_Zero-->
+    <TestCase testID="Zoom_Properties_originY_Zero" keywords="[Zoom, Properties, originY]" description="Test the setting of the Zoom.originY property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originY" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="originY" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originY_Normal-->
+    <TestCase testID="Zoom_Properties_originY_Normal" keywords="[Zoom, Properties, originY]" description="Test the setting of the Zoom.originY property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originY" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="originY" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_originY_Big-->
+    <TestCase testID="Zoom_Properties_originY_Big" keywords="[Zoom, Properties, originY]" description="Test the setting of the Zoom.originY property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="originY" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="originY" value="32767" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightFrom_Negative-->
+    <TestCase testID="Zoom_Properties_zoomHeightFrom_Negative" keywords="[Zoom, Properties, zoomHeightFrom]" description="Test the setting of the Zoom.zoomHeightFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightFrom" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightFrom" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightFrom_Zero-->
+    <TestCase testID="Zoom_Properties_zoomHeightFrom_Zero" keywords="[Zoom, Properties, zoomHeightFrom]" description="Test the setting of the Zoom.zoomHeightFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightFrom" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightFrom" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightFrom_Normal-->
+    <TestCase testID="Zoom_Properties_zoomHeightFrom_Normal" keywords="[Zoom, Properties, zoomHeightFrom]" description="Test the setting of the Zoom.zoomHeightFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightFrom" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightFrom" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightFrom_Big-->
+    <TestCase testID="Zoom_Properties_zoomHeightFrom_Big" keywords="[Zoom, Properties, zoomHeightFrom]" description="Test the setting of the Zoom.zoomHeightFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightFrom" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightFrom" value="32767" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightTo_Negative-->
+    <TestCase testID="Zoom_Properties_zoomHeightTo_Negative" keywords="[Zoom, Properties, zoomHeightTo]" description="Test the setting of the Zoom.zoomHeightTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightTo" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightTo" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightTo_Zero-->
+    <TestCase testID="Zoom_Properties_zoomHeightTo_Zero" keywords="[Zoom, Properties, zoomHeightTo]" description="Test the setting of the Zoom.zoomHeightTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightTo" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightTo" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightTo_Normal-->
+    <TestCase testID="Zoom_Properties_zoomHeightTo_Normal" keywords="[Zoom, Properties, zoomHeightTo]" description="Test the setting of the Zoom.zoomHeightTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightTo" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightTo" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomHeightTo_Big-->
+    <TestCase testID="Zoom_Properties_zoomHeightTo_Big" keywords="[Zoom, Properties, zoomHeightTo]" description="Test the setting of the Zoom.zoomHeightTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomHeightTo" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomHeightTo" value="32767" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthFrom_Negative-->
+    <TestCase testID="Zoom_Properties_zoomWidthFrom_Negative" keywords="[Zoom, Properties, zoomWidthFrom]" description="Test the setting of the Zoom.zoomWidthFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthFrom" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthFrom" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthFrom_Zero-->
+    <TestCase testID="Zoom_Properties_zoomWidthFrom_Zero" keywords="[Zoom, Properties, zoomWidthFrom]" description="Test the setting of the Zoom.zoomWidthFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthFrom" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthFrom" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthFrom_Normal-->
+    <TestCase testID="Zoom_Properties_zoomWidthFrom_Normal" keywords="[Zoom, Properties, zoomWidthFrom]" description="Test the setting of the Zoom.zoomWidthFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthFrom" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthFrom" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthFrom_Big-->
+    <TestCase testID="Zoom_Properties_zoomWidthFrom_Big" keywords="[Zoom, Properties, zoomWidthFrom]" description="Test the setting of the Zoom.zoomWidthFrom property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthFrom" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthFrom" value="32767" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthTo_Negative-->
+    <TestCase testID="Zoom_Properties_zoomWidthTo_Negative" keywords="[Zoom, Properties, zoomWidthTo]" description="Test the setting of the Zoom.zoomWidthTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthTo" value="-32768" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthTo" value="-32768" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthTo_Zero-->
+    <TestCase testID="Zoom_Properties_zoomWidthTo_Zero" keywords="[Zoom, Properties, zoomWidthTo]" description="Test the setting of the Zoom.zoomWidthTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthTo" value="0" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthTo" value="0" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthTo_Normal-->
+    <TestCase testID="Zoom_Properties_zoomWidthTo_Normal" keywords="[Zoom, Properties, zoomWidthTo]" description="Test the setting of the Zoom.zoomWidthTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthTo" value="77" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthTo" value="77" />
+      </body>
+    </TestCase>
+    <!--Zoom_Properties_zoomWidthTo_Big-->
+    <TestCase testID="Zoom_Properties_zoomWidthTo_Big" keywords="[Zoom, Properties, zoomWidthTo]" description="Test the setting of the Zoom.zoomWidthTo property.">
+      <setup>
+        <RunCode code="application.testEffect = new Zoom();" />
+      </setup>
+      <body>
+        <SetProperty target="testEffect" propertyName="zoomWidthTo" value="32767" />
+        <AssertPropertyValue target="testEffect" propertyName="zoomWidthTo" value="32767" />
+      </body>
+    </TestCase>
+  </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_Main.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_Main.compile?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_Main.compile (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_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/Zoom/SWFs/Zoom_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Zoom/SWFs/Zoom_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,119 @@
+<?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 height="500" width="500"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns:trix="Containers.*"
+    xmlns="*"
+    backgroundColor="0xFFFFFF"
+    backgroundImage="" 
+    creationComplete="Init()">
+
+    <mx:Style>
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+        fontFamily: EmbeddedVerdana;
+			embedAsCFF: false;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+        fontWeight: bold;
+        fontFamily: EmbeddedVerdana;
+			embedAsCFF: false;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+        fontStyle: italic;
+        fontFamily: EmbeddedVerdana;
+			embedAsCFF: false;
+        }
+
+        global
+        {
+        fontFamily: EmbeddedVerdana;
+        fontAntiAliasType: normal;
+        }
+    </mx:Style>
+
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.Resize;
+        import mx.core.UIComponent;
+        
+        //The global current test object
+        public var uiComponent:UIComponent = new UIComponent();
+
+        private function Init():void
+        {
+        }
+        
+        public function AddComponentToTestPanel(uiComponent:UIComponent):void
+        {
+            this.uiComponent = uiComponent;
+            this.testPanel.addChild(uiComponent);
+        }
+        
+        private function ResetEffect():void
+        {
+            if(this.uiComponent != null)
+            {
+                this.testEffect.zoomWidthFrom = 0;
+                this.testEffect.zoomWidthTo = 0;
+                this.testEffect.zoomHeightFrom = 0;
+                this.testEffect.zoomHeightTo = 0;
+                
+                this.testEffect.originX = this.uiComponent.width / 2;
+                this.testEffect.originY = this.uiComponent.height / 2;
+                
+                this.testEffect.duration = 0;
+            }
+        }
+
+        public function ApplyEffect(originX:Number, originY:Number, widthFrom:Number, widthTo:Number, heightFrom:Number, heightTo:Number, duration:Number):void
+        {
+            if(this.uiComponent != null)
+            {
+			    this.ResetEffect();
+    			
+                this.testEffect.originX = originX;
+                this.testEffect.originY = originY;
+                
+                this.testEffect.zoomWidthFrom = widthFrom;
+                this.testEffect.zoomWidthTo = widthTo;
+                this.testEffect.zoomHeightFrom = heightFrom;
+                this.testEffect.zoomHeightTo = heightTo;
+                
+                this.testEffect.duration = duration;
+
+                this.testEffect.play(new Array(this.uiComponent), false);
+            }
+        }
+    ]]>
+    </mx:Script>
+
+    <mx:Zoom id="testEffect" />
+    
+    <trix:TrixPanel id="testPanel" />
+
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.compile?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.compile (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_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/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/AddRemoveEffectTargetFilter_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,110 @@
+<?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.*">
+
+	<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 addListItem():void 
+            {
+                myDP.addItemAt("X", 0);
+            }                        
+
+            public function removeListItem():void 
+            {
+				myDP.removeItemAt(0);
+            }
+
+            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:Sequence id="dataChangeEffect1">
+            <mx:Blur
+                blurYTo="12" blurXTo="12"
+                duration="300"
+                perElementOffset="150"
+                filter="removeItem"/>
+            <mx:SetPropertyAction
+                name="visible" value="false"
+                filter="removeItem"/>
+            <mx:Parallel>
+                <mx:Move
+                    duration="750"
+                    perElementOffset="20"/>
+                <mx:RemoveItemAction
+                    startDelay="400"
+                    filter="removeItem"/>
+                <mx:AddItemAction
+                    startDelay="400"
+                    filter="addItem"/>
+                <mx:Blur
+                    startDelay="410"
+                    blurXFrom="18" blurYFrom="18" blurXTo="0" blurYTo="0"
+                    duration="300"
+                    filter="addItem"/>
+            </mx:Parallel>
+        </mx:Sequence>
+
+        <t:AddRemoveEffectTargetFilter id="aretf"/>
+    </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"
+        offscreenExtraRowsOrColumns="4"
+        itemsChangeEffect="{dataChangeEffect1}"/>
+
+</mx:Application>
+

Added: incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/assets/MyTargetFilter.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/assets/MyTargetFilter.as?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/assets/MyTargetFilter.as (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/SWFs/assets/MyTargetFilter.as Tue Aug  7 17:13:06 2012
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.AddRemoveEffectTargetFilter;
+
+	public class MyTargetFilter extends AddRemoveEffectTargetFilter
+	{
+		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/AddRemoveEffectTargetFilter/method/AddRemoveEffectTargetFilter_method.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/method/AddRemoveEffectTargetFilter_method.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/method/AddRemoveEffectTargetFilter_method.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/method/AddRemoveEffectTargetFilter_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/AddRemoveEffectTargetFilter/method/"
+    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>
+
+        <!-- add -->
+        <TestCase testID="AddRemoveEffectTargetFilter_defaultFilterFunction" keywords="[AddRemoveEffectTargetFilter, method, defaultFilterFunction]" description="Test the defaultFilterFunction method.">
+            <body>
+                <AssertMethodValue method="value=application.hitProtected()" value="null"/>
+            </body>
+        </TestCase>
+
+
+    </testCases>
+</UnitTester>



Mime
View raw message