| <UnitTester |
| testSWF="../SWFs/Sequence_main.mxml" |
| testDir="mx/effects/Sequence/variable/" |
| xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"> |
| <mx:Script> |
| <![CDATA[ |
| import mx.core.Application; |
| import mx.effects.Sequence; |
| |
| public static function init(o:DisplayObject):void{} |
| ]]> |
| </mx:Script> |
| <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata> |
| <testCases> |
| |
| <!-- repeatDelay --> |
| <TestCase testID="Sequence_repeatDelay_Default" keywords="[Sequence, variable, repeatDelay]" description="Test the default value of the repeatDelay variable."> |
| <body> |
| <AssertMethodValue method="value=(new Sequence()).repeatDelay" value="0"/> |
| </body> |
| </TestCase> |
| |
| <!-- startDelay --> |
| <TestCase testID="Sequence_startDelay_Default" keywords="[Sequence, variable, startDelay]" description="Test the default value of the startDelay variable."> |
| <body> |
| <AssertMethodValue method="value=(new Sequence()).startDelay" value="0"/> |
| </body> |
| </TestCase> |
| |
| <!-- instanceClass --> |
| <TestCase testID="Sequence_instanceClass_Default" keywords="[Sequence, variable, instanceClass]" description="Test the default value of the instanceClass variable."> |
| <body> |
| <AssertMethodValue method="value=(new Sequence()).instanceClass.toString().replace('[class ', '').replace(']','')" value="SequenceInstance"/> |
| </body> |
| </TestCase> |
| |
| <!-- repeatCount --> |
| <TestCase testID="Sequence_repeatCount_Default" keywords="[Sequence, variable, repeatCount]" description="Test the default value of the repeatCount variable."> |
| <body> |
| <AssertMethodValue method="value=(new Sequence()).repeatCount" value="1"/> |
| </body> |
| </TestCase> |
| |
| <!-- suspendBackgroundProcessing --> |
| <TestCase testID="Sequence_suspendBackgroundProcessing_Default" keywords="[Sequence, variable, suspendBackgroundProcessing]" description="Test the default value of the suspendBackgroundProcessing variable."> |
| <body> |
| <AssertMethodValue method="value=(new Sequence()).suspendBackgroundProcessing" value="false"/> |
| </body> |
| </TestCase> |
| |
| </testCases> |
| </UnitTester> |