blob: 8228303f271aad508ec1fa63fb1c451755c8e428 [file] [log] [blame]
<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>