blob: 420ce5966a3a76245ff255ad963beeaafa078040 [file] [log] [blame]
<UnitTester
testSWF="../SWFs/Dissolve_main.mxml"
testDir="mx/effects/Dissolve/variable/"
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
<mx:Script>
<![CDATA[
import mx.effects.Dissolve;
public static function init(o:DisplayObject):void{}
]]>
</mx:Script>
<mx:Metadata><![CDATA[
[Mixin]
]]></mx:Metadata>
<testCases>
<!-- suspendBackgroundProcessing -->
<TestCase testID="Dissolve_suspendBackgroundProcessing_Default" keywords="[Dissolve, variable, suspendBackgroundProcessing]" description="Test the default value of the suspendBackgroundProcessing variable.">
<body>
<AssertMethodValue method="value=(new Dissolve()).suspendBackgroundProcessing" value="false"/>
</body>
</TestCase>
<!-- instanceClass -->
<TestCase testID="Dissolve_instanceClass_Default" keywords="[Dissolve, variable, instanceClass]" description="Test the default value of the instanceClass variable.">
<body>
<AssertMethodValue method="value=(new Dissolve()).instanceClass.toString().replace('[class ', '').replace(']','')" value="DissolveInstance"/>
</body>
</TestCase>
<!-- repeatDelay -->
<TestCase testID="Dissolve_repeatDelay_Default" keywords="[Dissolve, variable, repeatDelay]" description="Test the default value of the repeatDelay variable.">
<body>
<AssertMethodValue method="value=(new Dissolve()).repeatDelay" value="0"/>
</body>
</TestCase>
<!-- startDelay -->
<TestCase testID="Dissolve_startDelay_Default" keywords="[Dissolve, variable, startDelay]" description="Test the default value of the startDelay variable.">
<body>
<AssertMethodValue method="value=(new Dissolve()).startDelay" value="0"/>
</body>
</TestCase>
<!-- repeatCount -->
<TestCase testID="Dissolve_repeatCount_Default" keywords="[Dissolve, variable, repeatCount]" description="Test the default value of the repeatCount variable.">
<body>
<AssertMethodValue method="value=(new Dissolve()).repeatCount" value="1"/>
</body>
</TestCase>
</testCases>
</UnitTester>