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 [21/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/Parallel/seek/Parallel_seek.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Parallel/seek/Parallel_seek.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Parallel/seek/Parallel_seek.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Parallel/seek/Parallel_seek.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,469 @@
+<UnitTester 
+    testSWF="../SWFs/Parallel_main.mxml" 
+    testDir="mx/effects/Parallel/seek/" 
+    xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
+    <mx:Script>
+        <![CDATA[
+        import mx.core.Application;
+        
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+    <testCases>
+
+        <!-- Blur -->
+        <TestCase testID="Parallel_seek_Blur" keywords="[Parallel, Seek, Blur]" description="Seek the Blur effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Blur')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Blur.png" />
+            </body>
+        </TestCase>
+        <!-- Dissolve -->
+        <TestCase testID="Parallel_seek_Dissolve" keywords="[Parallel, Seek, Dissolve]" description="Seek the Dissolve effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Dissolve')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Dissolve.png" />
+            </body>
+        </TestCase>
+        <!-- Fade -->
+        <TestCase testID="Parallel_seek_Fade" keywords="[Parallel, Seek, Fade]" description="Seek the Fade effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Fade')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Fade.png" />
+            </body>
+        </TestCase>
+        <!-- Glow -->
+        <TestCase testID="Parallel_seek_Glow" keywords="[Parallel, Seek, Glow]" description="Seek the Glow effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Glow')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Glow.png" />
+            </body>
+        </TestCase>
+        <!-- Iris -->
+        <TestCase testID="Parallel_seek_Iris" keywords="[Parallel, Seek, Iris]" description="Seek the Iris effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Iris')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Iris.png" />
+            </body>
+        </TestCase>
+        <!-- MaskEffect -->
+        <TestCase testID="Parallel_seek_MaskEffect" keywords="[Parallel, Seek, MaskEffect]" description="Seek the MaskEffect effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_MaskEffect')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_MaskEffect.png" />
+            </body>
+        </TestCase>
+        <!-- Move -->
+        <TestCase testID="Parallel_seek_Move" keywords="[Parallel, Seek, Move]" description="Seek the Move effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Move')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Move.png" />
+            </body>
+        </TestCase>
+        <!-- Resize -->
+        <TestCase testID="Parallel_seek_Resize" keywords="[Parallel, Seek, Resize]" description="Seek the Resize effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Resize')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Resize.png" />
+            </body>
+        </TestCase>
+        <!-- Rotate -->
+        <TestCase testID="Parallel_seek_Rotate" keywords="[Parallel, Seek, Rotate]" description="Seek the Rotate effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Rotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Rotate.png" />
+            </body>
+        </TestCase>
+        <!-- WipeDown -->
+        <TestCase testID="Parallel_seek_WipeDown" keywords="[Parallel, Seek, WipeDown]" description="Seek the WipeDown effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_WipeDown')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_WipeDown.png" />
+            </body>
+        </TestCase>
+        <!-- WipeLeft -->
+        <TestCase testID="Parallel_seek_WipeLeft" keywords="[Parallel, Seek, WipeLeft]" description="Seek the WipeLeft effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_WipeLeft')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_WipeLeft.png" />
+            </body>
+        </TestCase>
+        <!-- WipeRight -->
+        <TestCase testID="Parallel_seek_WipeRight" keywords="[Parallel, Seek, WipeRight]" description="Seek the WipeRight effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_WipeRight')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_WipeRight.png" />
+            </body>
+        </TestCase>
+        <!-- WipeUp -->
+        <TestCase testID="Parallel_seek_WipeUp" keywords="[Parallel, Seek, WipeUp]" description="Seek the WipeUp effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_WipeUp')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_WipeUp.png" />
+            </body>
+        </TestCase>
+        <!-- Zoom -->
+        <TestCase testID="Parallel_seek_Zoom" keywords="[Parallel, Seek, Zoom]" description="Seek the Zoom effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Zoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Zoom.png" />
+            </body>
+        </TestCase>
+        <!-- FxAnimate -->
+        <TestCase testID="Parallel_seek_FxAnimate" keywords="[Parallel, Seek, FxAnimate]" description="Seek the FxAnimate effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxAnimate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxAnimate.png" />
+            </body>
+        </TestCase>
+        <!-- FxAnimateColor -->
+        <TestCase testID="Parallel_seek_FxAnimateColor" keywords="[Parallel, Seek, FxAnimateColor]" description="Seek the FxAnimateColor effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxAnimateColor')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxAnimateColor.png" />
+            </body>
+        </TestCase>
+        <!-- FxFade -->
+        <TestCase testID="Parallel_seek_FxFade" keywords="[Parallel, Seek, FxFade]" description="Seek the FxFade effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxFade')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxFade.png" />
+            </body>
+        </TestCase>
+        <!-- FxMove -->
+        <TestCase testID="Parallel_seek_FxMove" keywords="[Parallel, Seek, FxMove]" description="Seek the FxMove effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxMove')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxMove.png" />
+            </body>
+        </TestCase>
+        <!-- FxResize -->
+        <TestCase testID="Parallel_seek_FxResize" keywords="[Parallel, Seek, FxResize]" description="Seek the FxResize effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxResize')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxResize.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotate -->
+        <TestCase testID="Parallel_seek_FxRotate" keywords="[Parallel, Seek, FxRotate]" description="Seek the FxRotate effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotate.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotate3D -->
+        <TestCase testID="Parallel_seek_FxRotate3D" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotate3D')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotate3D.png" numColorVariances="5" maxColorVariance="10" />
+            </body>
+        </TestCase>
+
+
+
+        <!-- MoveRotate -->
+        <TestCase testID="Parallel_seek_MoveRotate" keywords="[Parallel, Seek, MoveRotate]" description="Seek the MoveRotate parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_MoveRotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_MoveRotate.png" />
+            </body>
+        </TestCase>
+        <!-- MoveResize -->
+        <TestCase testID="Parallel_seek_MoveResize" keywords="[Parallel, Seek, MoveResize]" description="Seek the MoveResize parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_MoveResize')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_MoveResize.png" />
+            </body>
+        </TestCase>
+        <!-- ResizeRotate -->
+        <TestCase testID="Parallel_seek_ResizeRotate" keywords="[Parallel, Seek, ResizeRotate]" description="Seek the ResizeRotate parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_ResizeRotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_ResizeRotate.png" />
+            </body>
+        </TestCase>
+        <!-- RotateMaskEffect -->
+        <TestCase testID="Parallel_seek_RotateMaskEffect" keywords="[Parallel, Seek, RotateMaskEffect]" description="Seek the RotateMaskEffect parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_RotateMaskEffect')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_RotateMaskEffect.png" />
+            </body>
+        </TestCase>
+        <!-- RotateWipeLeft -->
+        <TestCase testID="Parallel_seek_RotateWipeLeft" keywords="[Parallel, Seek, RotateWipeLeft]" description="Seek the RotateWipeLeft parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_RotateWipeLeft')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_RotateWipeLeft.png" />
+            </body>
+        </TestCase>
+        <!-- RotateZoom -->
+        <TestCase testID="Parallel_seek_RotateZoom" keywords="[Parallel, Seek, RotateZoom]" description="Seek the RotateZoom parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_RotateZoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_RotateZoom.png" />
+            </body>
+        </TestCase>
+        <!-- MoveZoom -->
+        <TestCase testID="Parallel_seek_MoveZoom" keywords="[Parallel, Seek, MoveZoom]" description="Seek the MoveZoom parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_MoveZoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_MoveZoom.png" />
+            </body>
+        </TestCase>
+        <!-- Plethora -->
+        <TestCase testID="Parallel_seek_Plethora" keywords="[Parallel, Seek, Plethora]" description="Seek the Plethora parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_Plethora')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_Plethora.png" />
+            </body>
+        </TestCase>
+        <!-- FxMoveFxRotate -->
+        <TestCase testID="Parallel_seek_FxMoveFxRotate" keywords="[Parallel, Seek, FxMoveFxRotate]" description="Seek the FxMoveFxRotate parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxMoveFxRotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxMoveFxRotate.png" />
+            </body>
+        </TestCase>
+        <!-- FxMoveResize -->
+        <TestCase testID="Parallel_seek_FxMoveResize" keywords="[Parallel, Seek, FxMoveResize]" description="Seek the FxMoveResize parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxMoveResize')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxMoveResize.png" />
+            </body>
+        </TestCase>
+        <!-- ResizeFxRotate -->
+        <TestCase testID="Parallel_seek_ResizeFxRotate" keywords="[Parallel, Seek, ResizeFxRotate]" description="Seek the ResizeFxRotate parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_ResizeFxRotate')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_ResizeFxRotate.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotateMaskEffect -->
+        <TestCase testID="Parallel_seek_FxRotateMaskEffect" keywords="[Parallel, Seek, FxRotateMaskEffect]" description="Seek the FxRotateMaskEffect parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotateMaskEffect')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotateMaskEffect.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotateWipeLeft -->
+        <TestCase testID="Parallel_seek_FxRotateWipeLeft" keywords="[Parallel, Seek, FxRotateWipeLeft]" description="Seek the FxRotateWipeLeft parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotateWipeLeft')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotateWipeLeft.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotateZoom -->
+        <TestCase testID="Parallel_seek_FxRotateZoom" keywords="[Parallel, Seek, FxRotateZoom]" description="Seek the FxRotateZoom parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotateZoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotateZoom.png" />
+            </body>
+        </TestCase>
+        <!-- FxMoveZoom -->
+        <TestCase testID="Parallel_seek_FxMoveZoom" keywords="[Parallel, Seek, FxMoveZoom]" description="Seek the FxMoveZoom parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxMoveZoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxMoveZoom.png" />
+            </body>
+        </TestCase>
+        <!-- FxRotate3DMove -->
+        <TestCase testID="Parallel_seek_FxRotate3DMove" keywords="[Parallel, Seek, FxRotate3DMove]" description="Seek the FxRotate3DMove parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotate3DMove')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotate3DMove.png" numColorVariances="6" maxColorVariance="10" />
+            </body>
+        </TestCase>
+        <!-- FxRotate3DZoom -->
+        <TestCase testID="Parallel_seek_FxRotate3DZoom" keywords="[Parallel, Seek, FxRotate3DZoom]" description="Seek the FxRotate3DZoom parallel effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_FxRotate3DZoom')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_FxRotate3DZoom.png" numColorVariances="5" maxColorVariance="10" />
+            </body>
+        </TestCase>
+
+
+
+        <!-- Functionality -->
+        <TestCase testID="Parallel_seek_IntoSD" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" />
+                <RunCode code="application.SelectCanvas('Button')" waitTarget="dispatcher" waitEvent="refreshComplete" />
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoSD')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoSD.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRC1" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRC1')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRC1.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRC2" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRC2')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRC2.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRC2SD" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRC2SD')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRC2SD.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRD" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRD')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRD.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRCLoop" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRCLoop')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRCLoop.png" />
+            </body>
+        </TestCase>
+        <TestCase testID="Parallel_seek_IntoRCReverse" keywords="[Parallel, Seek, FxRotate3D]" description="Seek the FxRotate3D effect.">
+            <setup>
+                <RunCode code="application.Reset()" waitTarget="dispatcher" waitEvent="refreshComplete" timeout="5000"/>
+            </setup>
+            <body>
+                <RunCode code="application.ClickButton('Parallel_seek_IntoRCReverse')" waitTarget="timer" waitEvent="timerComplete" />
+                <CompareBitmap target="currentCanvas" url="../seek/Baselines/Parallel_seek_IntoRCReverse.png" />
+            </body>
+        </TestCase>
+
+
+    </testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/effects/Parallel/variable/Parallel_variable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Parallel/variable/Parallel_variable.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Parallel/variable/Parallel_variable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Parallel/variable/Parallel_variable.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,52 @@
+<UnitTester 
+    testSWF="../SWFs/Parallel_main.mxml" 
+    testDir="mx/effects/Parallel/variable/" 
+    xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
+    <mx:Script>
+        <![CDATA[
+        import mx.core.Application;
+        import mx.effects.Parallel;
+        
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+    <testCases>
+
+        <!-- repeatDelay -->
+        <TestCase testID="Parallel_repeatDelay_Default" keywords="[Parallel, variable, repeatDelay]" description="Test the default value of the repeatDelay variable.">
+            <body>
+                <AssertMethodValue method="value=(new Parallel()).repeatDelay" value="0"/>
+            </body>
+        </TestCase>
+
+        <!-- startDelay -->
+        <TestCase testID="Parallel_startDelay_Default" keywords="[Parallel, variable, startDelay]" description="Test the default value of the startDelay variable.">
+            <body>
+                <AssertMethodValue method="value=(new Parallel()).startDelay" value="0"/>
+            </body>
+        </TestCase>
+
+        <!-- instanceClass -->
+        <TestCase testID="Parallel_instanceClass_Default" keywords="[Parallel, variable, instanceClass]" description="Test the default value of the instanceClass variable.">
+            <body>
+                <AssertMethodValue method="value=(new Parallel()).instanceClass.toString().replace('[class ', '').replace(']','')" value="ParallelInstance"/>
+            </body>
+        </TestCase>
+
+        <!-- repeatCount -->
+        <TestCase testID="Parallel_repeatCount_Default" keywords="[Parallel, variable, repeatCount]" description="Test the default value of the repeatCount variable.">
+            <body>
+                <AssertMethodValue method="value=(new Parallel()).repeatCount" value="1"/>
+            </body>
+        </TestCase>
+
+        <!-- suspendBackgroundProcessing -->
+        <TestCase testID="Parallel_suspendBackgroundProcessing_Default" keywords="[Parallel, variable, suspendBackgroundProcessing]" description="Test the default value of the suspendBackgroundProcessing variable.">
+            <body>
+                <AssertMethodValue method="value=(new Parallel()).suspendBackgroundProcessing" value="false"/>
+            </body>
+        </TestCase>
+
+    </testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/SWFs/Pause_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/SWFs/Pause_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/SWFs/Pause_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/SWFs/Pause_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,140 @@
+<?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"
+	width="100%"
+	height="100%"
+    backgroundColor="0xFFFFFF">
+
+    <fx:Script>
+        <![CDATA[
+        ]]>
+    </fx:Script>
+
+    <fx:Declarations>
+        <mx:Pause id="testPause" />
+
+        <mx:Pause id="eventPauseEffect" duration="500" target="{new Object()}"/>
+
+        <mx:Pause id="varPause" />
+
+        <mx:Sequence id="tp1">
+            <s:AnimateColor id="tp1_TintA" colorFrom="0x00000" colorTo="0xFF0000" target="{testFill}" duration="500"/>
+            <mx:Pause id="tp1_Pause" duration="1000"/>
+            <s:AnimateColor id="tp1_TintB" colorFrom="0xFF0000" colorTo="0x000000" target="{testFill}" duration="500"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp2">
+            <s:AnimateColor id="tp2_TintA" colorFrom="0x00000" colorTo="0xFF0000" target="{testFill}" duration="500"/>
+            <mx:Pause id="tp2_Pause" target="{haloButton}" eventName="click" duration="-1"/>
+            <s:AnimateColor id="tp2_TintB" colorFrom="0xFF0000" colorTo="0x000000" target="{testFill}" duration="500"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp3">
+            <s:AnimateColor id="tp3_TintA" colorFrom="0x00000" colorTo="0xFF0000" target="{testFill}" duration="300"/>
+            <mx:Pause id="tp3_Pause" duration="300" target="{haloButton}" eventName="click"/>
+            <s:AnimateColor id="tp3_TintB" colorFrom="0xFF0000" colorTo="0x000000" target="{testFill}" duration="300"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp4">
+            <s:AnimateColor id="tp4_TintA" colorFrom="0x00000" colorTo="0xFF0000" target="{testFill}" duration="300"/>
+            <mx:Pause id="tp4_Pause" duration="1500" target="{haloButton}" eventName="click"/>
+            <s:AnimateColor id="tp4_TintB" colorFrom="0xFF0000" colorTo="0x000000" target="{testFill}" duration="300"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp5" target="{testFill}">
+            <mx:Pause duration="-1" target="{haloButton}" eventName="click"/>
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp6">
+            <mx:Pause duration="-1"/>
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF" target="{testFill}"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp7" target="{testFill}">
+            <mx:Pause duration="0"/>
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF" />
+        </mx:Sequence>
+
+        <mx:Sequence id="tp8" target="{testFill}">
+            <mx:Pause duration="250" repeatCount="4"/>
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF" duration="250"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp9" target="{testFill}">
+            <mx:Pause duration="250" startDelay="1000"/>
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF" duration="250"/>
+        </mx:Sequence>
+
+        <mx:Sequence id="tp10" target="{testFill}">
+            <mx:Pause id="tp10_Pause" duration="1000" />
+            <s:AnimateColor colorFrom="0xFF0000" colorTo="0x00FFFF" duration="250"/>
+        </mx:Sequence>
+
+    </fx:Declarations>
+
+    <s:states>
+        <s:State name="State1"/>
+        <s:State name="State2"/>
+    </s:states>
+
+    <s:transitions>
+        <mx:Transition fromState="State1" toState="State2" effect="{eventPauseEffect}"/>
+    </s:transitions>
+
+    <s:Group id="testGroup"
+    	left="10"
+    	top="10"
+    	height="50"
+    	width="50">
+
+        <s:Path
+        	top="0"
+        	left="0"
+        	bottom="0"
+        	right="0"
+        	data="M 50 50 L 0 0 50 0 Z" >
+
+            <s:fill>
+                <mx:SolidColor id="testFill" color="0x0eed9b"/>
+            </s:fill>
+            <s:stroke>
+                <mx:SolidColorStroke id="testStroke" color="0x666666" weight="5"/>
+            </s:stroke>
+        </s:Path>
+    </s:Group>
+
+    <mx:Button id="haloButton"
+    	left="80"
+    	top="10"
+    	width="100"
+    	color="0xFF"
+    	label="Halo Button"/>
+
+    <s:Button id="gumboButton"
+    	left="200"
+    	top="10"
+    	width="100"
+    	label="Gumbo Button"/>
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/accessor/Pause_accessor.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/accessor/Pause_accessor.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/accessor/Pause_accessor.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/accessor/Pause_accessor.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,177 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Pause/accessor/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="../SWFs/Pause_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.Pause;
+        
+        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>
+        
+        <!-- gen'd default crud -->
+        <TestCase testID="Pause_targets_Default" keywords="[Pause, accessor, targets]" description="Test the setting of the targets property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).targets.toString().replace('[','').replace(']','')" value="object Object"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_targets_SetGet" keywords="[Pause, accessor, targets]" description="Test the setting of the targets property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="targets" value="[A, B, C]"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="targets" value="[A, B, C]"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_target_Default" keywords="[Pause, accessor, target]" description="Test the setting of the target property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).target.toString().replace('[','').replace(']','')" value="object Object"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_target_SetGet" keywords="[Pause, accessor, target]" description="Test the setting of the target property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="target" value="[A]"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="target" value="[A]"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_hideFocusRing_Default" keywords="[Pause, accessor, hideFocusRing]" description="Test the setting of the hideFocusRing property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).hideFocusRing" value="false"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_hideFocusRing_SetGet" keywords="[Pause, accessor, hideFocusRing]" description="Test the setting of the hideFocusRing property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="hideFocusRing" value="true"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="hideFocusRing" value="true"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_relevantProperties_Default" keywords="[Pause, accessor, relevantProperties]" description="Test the setting of the relevantProperties property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).relevantProperties" value=""/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_relevantProperties_SetGet" keywords="[Pause, accessor, relevantProperties]" description="Test the setting of the relevantProperties property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="relevantProperties" value="[A, B, C]"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="relevantProperties" value="[A, B, C]"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_className_Default" keywords="[Pause, accessor, className]" description="Test the setting of the className property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).className" value="Pause"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_relevantStyles_Default" keywords="[Pause, accessor, relevantStyles]" description="Test the setting of the relevantStyles property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).relevantStyles" value=""/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_relevantStyles_SetGet" keywords="[Pause, accessor, relevantStyles]" description="Test the setting of the relevantStyles property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="relevantStyles" value="[A, B, C]"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="relevantStyles" value="[A, B, C]"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_triggerEvent_Default" keywords="[Pause, accessor, triggerEvent]" description="Test the setting of the triggerEvent property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).triggerEvent" value="null"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_effectTargetHost_Default" keywords="[Pause, accessor, effectTargetHost]" description="Test the setting of the effectTargetHost property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).effectTargetHost" value="null"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_filter_Default" keywords="[Pause, accessor, filter]" description="Test the setting of the filter property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).filter" value="null"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_filter_SetGet" keywords="[Pause, accessor, filter]" description="Test the setting of the filter property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="filter" value="TestGenString"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="filter" value="TestGenString"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_perElementOffset_Default" keywords="[Pause, accessor, perElementOffset]" description="Test the setting of the perElementOffset property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).perElementOffset" value="0"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_perElementOffset_SetGet" keywords="[Pause, accessor, perElementOffset]" description="Test the setting of the perElementOffset property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="perElementOffset" value="38"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="perElementOffset" value="38"/>
+            </body>
+        </TestCase>
+
+        <!-- isPlaying -->
+        <TestCase testID="Pause_isPlaying_Default" keywords="[Pause, accessor, isPlaying]" description="Test the setting of the isPlaying property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).isPlaying" value="false"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_isPlayingDuringPause" keywords="[Pause, accessor, isPlaying]" description="Verify isPlaying while waiting.">
+            <body>
+                <RunCode code="application.tp10.play()"/>
+                <!-- wait (500) ms to assure the wait is running -->
+                <AssertPropertyValue target="tp10_Pause" propertyName="isPlaying" value="true"/>
+            </body>
+        </TestCase>
+
+        <TestCase testID="Pause_duration_Default" keywords="[Pause, accessor, duration]" description="Test the setting of the duration property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).duration" value="500"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_duration_SetGet" keywords="[Pause, accessor, duration]" description="Test the setting of the duration property.">
+            <setup>
+                <RunCode code="application.testPause = new mx.effects.Pause()"/>
+                <SetProperty target="testPause" propertyName="duration" value="38"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="testPause" propertyName="duration" value="38"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Pause_customFilter_Default" keywords="[Pause, accessor, customFilter]" description="Test the setting of the customFilter property.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).customFilter" value="null"/>
+            </body>
+        </TestCase>
+
+    </testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/event/Pause_event.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/event/Pause_event.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/event/Pause_event.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/event/Pause_event.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Pause/event/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*"
+    testSWF="../SWFs/Pause_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 -->
+
+
+    <testCases>
+        <TestCase testID="Pause_Events_EffectStart" keywords="[Pause, Events, EffectStart]" description="Verify EffectStart is raised.">
+            <body>
+                <RunCode code="application.eventPauseEffect.play()" waitTarget="eventPauseEffect" waitEvent="effectEnd" />
+                <AssertEvent target="eventPauseEffect" eventName="effectStart" eventClass="mx.events::EffectEvent" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="Pause_Events_EffectEnd" keywords="[Pause, Events, EffectEnd]" description="Verify EffectEnd is raised.">
+            <body>
+                <RunCode code="application.eventPauseEffect.play()" waitTarget="eventPauseEffect" waitEvent="effectEnd" />
+                <AssertEvent target="eventPauseEffect" eventName="effectEnd" eventClass="mx.events::EffectEvent" />
+            </body>
+        </TestCase>
+
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/method/Pause_method.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/method/Pause_method.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/method/Pause_method.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/method/Pause_method.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Pause/method/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="../SWFs/Pause_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.Pause;
+        import mx.controls.Button;
+        
+        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>
+
+        <!--constructor-->
+        <TestCase testID="PauseInstance_constructorNull" keywords="[PauseInstance, Methods, constructor]" description="Test the PauseInstance constructor with null parameters.">
+            <body>
+                <RunCode code="new mx.effects.Pause(null)"/>
+            </body>
+        </TestCase>
+
+        <TestCase testID="PauseInstance_constructorValid" keywords="[PauseInstance, Methods, constructor]" description="Test the PauseInstance constructor with a valid object.">
+            <body>
+                <RunCode code="new mx.effects.Pause(application.haloButton)"/>
+            </body>
+        </TestCase>
+
+        <!-- getAffectedProperties -->
+        <TestCase testID="Pause_GetAffectedProperties" keywords="[Pause, Methods, GetAffectedProperties]" description="Test the Pause.GetAffectedProperties method.">
+            <body>
+                <AssertMethodValue method="value=(new mx.effects.Pause()).getAffectedProperties()" value="" />
+            </body>
+        </TestCase>
+        
+        
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/usability/Pause_usability.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/usability/Pause_usability.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/usability/Pause_usability.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/usability/Pause_usability.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Pause/usability/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*"
+    testSWF="../SWFs/Pause_Main.mxml">
+    
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import spark.components.Application;
+        
+        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>
+
+    <!-- wait works with only a duration -->
+        <TestCase testID="Pause_TimeoutOnly" keywords="[Pause, usability, duration]" description="Verify pause works with only a duration.">
+            <body>
+                <RunCode code="application.tp1.play()"/>
+                <Pause timeout="1000"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0xFF0000"/>
+                <RunCode code="application.tp1.stop()"/>
+            </body>
+        </TestCase>
+
+        <!-- wait works with a target and an eventName -->
+        <TestCase testID="Pause_TargetAndEvent" keywords="[Pause, usability, target, eventName]" description="Verify pause works with a target and an eventName.">
+            <body>
+                <RunCode code="application.tp2.play()"/>
+                <!-- wait (500 + 500 + 200) ms to assure that if wait did NOT occur, both tints would be finished -->
+                <Pause timeout="1200"/>
+                <!-- assure we have only done the first-->
+                <AssertPropertyValue target="testFill" propertyName="color" value="0xFF0000"/>
+                <!-- now send an event (click haloButton to raise it's click event) to end the wait and trigger the last tint -->
+                <DispatchMouseClickEvent target="haloButton" localX="5" localY="5"/>
+                <Pause timeout="1000"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0x000000"/>
+            </body>
+        </TestCase>
+
+        <!-- wait triggers off duration before event -->
+        <TestCase testID="Pause_TimeoutBeforeEvent" keywords="[Pause, usability, duration, target, eventName]" description="Verify pause triggers from duration before event.">
+            <body>
+                <RunCode code="application.tp3.play()"/>
+                <!-- wait (300 + 300 + 300) ms to assure that both tints and wait would be finished -->
+                <Pause timeout="1000"/>
+                <!-- assure we have done both tints-->
+                <AssertPropertyValue target="testFill" propertyName="color" value="0x000000"/>
+            </body>
+        </TestCase>
+
+        <!-- wait triggers off eventName before duration -->
+        <TestCase testID="Pause_EventBeforeTimeout" keywords="[Pause, usability, target, eventName]" description="Verify pause triggers off eventName before duration.">
+            <body>
+                <RunCode code="application.tp4.play()"/>
+                <!-- wait (300 + 400) ms to we are in the wait-->
+                <Pause timeout="700"/>
+                <!-- assure we have only done the first tint -->
+                <AssertPropertyValue target="testFill" propertyName="color" value="0xFF0000"/>
+                <!-- now send an event to end the wait BEFORE the duration occurs -->
+                <DispatchMouseClickEvent target="haloButton" localX="5" localY="5"/>
+                <!-- now wait for the second tint to finish -->
+                <Pause timeout="600"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0x000000"/>
+            </body>
+        </TestCase>
+
+        <!-- timout -1 + target = INDEFINITE -->
+        <TestCase testID="Pause_TimeoutIndefinite" keywords="[Pause, usability, target, eventName]" description="Verify pause indefinite with a duration of -1.">
+            <setup>
+                <SetProperty target="testFill" propertyName="color" value="0xF0F0F0"/>
+            </setup>
+            <body>
+                <RunCode code="application.tp5.play()"/>
+                <!-- wait (2000) ms to assure that the wait did not release -->
+                <Pause timeout="2000"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0xF0F0F0"/>
+            </body>
+        </TestCase>
+
+        <!-- timout -1 - target = IMMEDIATE -->
+        <TestCase testID="Pause_TimeoutImmediate" keywords="[Pause, usability, target, eventName]" description="Verify pause with a duration of -1 is ignored if no event is declared.">
+            <setup>
+                <SetProperty target="testFill" propertyName="color" value="0xF0F0F0"/>
+            </setup>
+            <body>
+                <RunCode code="application.tp6.play()"/>
+                <!-- wait (700) ms to assure the wait released and the tint occurred -->
+                <Pause timeout="700"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0xF0F0F0"/>
+                <RunCode code="application.tp6.stop()"/>
+            </body>
+        </TestCase>
+
+        <!-- timout 0 = IMMEDIATE -->
+        <TestCase testID="Pause_TimeoutZeroImmediate" keywords="[Pause, usability, target, eventName]" description="Verify pause with a duration of 0 finishes immediately.">
+            <setup>
+                <SetProperty target="testFill" propertyName="color" value="0xF0F0F0"/>
+            </setup>
+            <body>
+                <RunCode code="application.tp7.play()"/>
+                <!-- wait (700) ms to assure the wait released and the tint occurred -->
+                <Pause timeout="700"/>
+                <AssertPropertyValue target="testFill" propertyName="color" value="0x00FFFF"/>
+            </body>
+        </TestCase>
+
+
+
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/effects/Pause/variable/Pause_variable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Pause/variable/Pause_variable.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Pause/variable/Pause_variable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Pause/variable/Pause_variable.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<UnitTester 
+    testDir="mx/effects/Pause/variable/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" 
+    xmlns="*" 
+    testSWF="../SWFs/Pause_main.mxml">
+
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+        import mx.effects.Pause;
+        
+        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>
+
+        <!-- eventName -->
+        <TestCase testID="Pause_eventName_Default" keywords="[Pause, variable, eventName]" description="Test the setting of the eventName variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="eventName" value="null"/>
+            </body>
+        </TestCase>
+
+        <!-- duration -->
+        <TestCase testID="Pause_duration_Default" keywords="[Pause, variable, duration]" description="Test the setting of the duration variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="duration" value="500"/>
+            </body>
+        </TestCase>
+
+        <!-- repeatCount -->
+        <TestCase testID="Pause_repeatCount_Default" keywords="[Pause, variable, repeatCount]" description="Test the setting of the repeatCount variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="repeatCount" value="1"/>
+            </body>
+        </TestCase>
+
+        <!-- repeatDelay -->
+        <TestCase testID="Pause_repeatDelay_Default" keywords="[Pause, variable, repeatDelay]" description="Test the setting of the repeatDelay variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="repeatDelay" value="0"/>
+            </body>
+        </TestCase>
+
+        <!-- suspendBackgroundProcessing -->
+        <TestCase testID="Pause_suspendBackgroundProcessing_Default" keywords="[Pause, variable, suspendBackgroundProcessing]" description="Test the setting of the suspendBackgroundProcessing variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="suspendBackgroundProcessing" value="false"/>
+            </body>
+        </TestCase>
+
+        <!-- startDelay -->
+        <TestCase testID="Pause_startDelay_Default" keywords="[Pause, variable, startDelay]" description="Test the setting of the startDelay variable.">
+            <body>
+                <AssertPropertyValue target="varPause" propertyName="startDelay" value="0"/>
+            </body>
+        </TestCase>
+
+        <!-- instanceClass -->
+        <TestCase testID="Pause_instanceClass_Default" keywords="[Pause, variable, instanceClass]" description="Test the setting of the instanceClass variable.">
+            <body>
+                <AssertMethodValue method="value=application.varPause.instanceClass.toString().replace('[class ','').replace(']','')" value="PauseInstance"/>
+            </body>
+        </TestCase>
+
+    </testCases>
+</UnitTester>



Mime
View raw message