blob: 6ede82dc3676667951aae122978f5aaafdc308c8 [file]
<UnitTester
testSWF="../SWFs/Dissolve_main.mxml"
testDir="mx/effects/Dissolve/object/"
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>
<TestCase testID="Dissolve_Button" keywords="[Dissolve, object, Button]" description="Test Dissolve on a Button.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('Button', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_ButtonBar" keywords="[Dissolve, object, ButtonBar]" description="Test Dissolve on a ButtonBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="2000"/>
</setup>
<body>
<RunCode code="application.SeekControl('ButtonBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_CheckBox" keywords="[Dissolve, object, CheckBox]" description="Test Dissolve on a CheckBox.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="2000"/>
</setup>
<body>
<RunCode code="application.SeekControl('CheckBox', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_ColorPicker" keywords="[Dissolve, object, ColorPicker]" description="Test Dissolve on a ColorPicker.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('ColorPicker', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_ComboBox" keywords="[Dissolve, object, ComboBox]" description="Test Dissolve on a ComboBox.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('ComboBox', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_DataGrid" keywords="[Dissolve, object, DataGrid]" description="Test Dissolve on a DataGrid.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('DataGrid', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_DateChooser" keywords="[Dissolve, object, DateChooser]" description="Test Dissolve on a DateChooser.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('DateChooser', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_DateField" keywords="[Dissolve, object, DateField]" description="Test Dissolve on a DateField.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('DateField', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_HorizontalList" keywords="[Dissolve, object, HorizontalList]" description="Test Dissolve on a HorizontalList.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('HorizontalList', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_HRule" keywords="[Dissolve, object, HRule]" description="Test Dissolve on a HRule.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('HRule', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_HScrollBar" keywords="[Dissolve, object, HScrollBar]" description="Test Dissolve on a HScrollBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('HScrollBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_HSlider" keywords="[Dissolve, object, HSlider]" description="Test Dissolve on a HSlider.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('HSlider', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_Image" keywords="[Dissolve, object, Image]" description="Test Dissolve on a Image.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('Image', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_Label" keywords="[Dissolve, object, Label]" description="Test Dissolve on a Label.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('Label', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_List" keywords="[Dissolve, object, List]" description="Test Dissolve on a List.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('List', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_MenuBar" keywords="[Dissolve, object, MenuBar]" description="Test Dissolve on a MenuBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('MenuBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_NumericStepper" keywords="[Dissolve, object, NumericStepper]" description="Test Dissolve on a NumericStepper.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('NumericStepper', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_PopUpButton" keywords="[Dissolve, object, PopUpButton]" description="Test Dissolve on a PopUpButton.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('PopUpButton', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_PopUpMenuButton" keywords="[Dissolve, object, PopUpMenuButton]" description="Test Dissolve on a PopUpMenuButton.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('PopUpMenuButton', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_ProgressBar" keywords="[Dissolve, object, ProgressBar]" description="Test Dissolve on a ProgressBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('ProgressBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_RadioButton" keywords="[Dissolve, object, RadioButton]" description="Test Dissolve on a RadioButton.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="2000"/>
</setup>
<body>
<RunCode code="application.SeekControl('RadioButton', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_RichTextEditor" keywords="[Dissolve, object, RichTextEditor]" description="Test Dissolve on a RichTextEditor.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('RichTextEditor', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_TabBar" keywords="[Dissolve, object, TabBar]" description="Test Dissolve on a TabBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('TabBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_Text" keywords="[Dissolve, object, Text]" description="Test Dissolve on a Text.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('Text', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_TextArea" keywords="[Dissolve, object, TextArea]" description="Test Dissolve on a TextArea.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('TextArea', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_TextInput" keywords="[Dissolve, object, TextInput]" description="Test Dissolve on a TextInput.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('TextInput', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_TileList" keywords="[Dissolve, object, TileList]" description="Test Dissolve on a TileList.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('TileList', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_ToggleButtonBar" keywords="[Dissolve, object, ToggleButtonBar]" description="Test Dissolve on a ToggleButtonBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('ToggleButtonBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_Tree" keywords="[Dissolve, object, Tree]" description="Test Dissolve on a Tree.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('Tree', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_VRule" keywords="[Dissolve, object, VRule]" description="Test Dissolve on a VRule.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('VRule', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_VScrollBar" keywords="[Dissolve, object, VScrollBar]" description="Test Dissolve on a VScrollBar.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('VScrollBar', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
<TestCase testID="Dissolve_VSlider" keywords="[Dissolve, object, VSlider]" description="Test Dissolve on a VSlider.">
<setup>
<RunCode code="application.Reset()" />
<Pause timeout="1500"/>
</setup>
<body>
<RunCode code="application.SeekControl('VSlider', application.eff_Dissolve, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
<CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
</body>
</TestCase>
</testCases>
</UnitTester>