blob: 5957a5bf16525bd42079470a008ebce07933a61b [file] [log] [blame]
<UnitTester
testSWF="../SWFs/Dissolve_main.mxml"
testDir="mx/effects/Dissolve/accessor/"
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>
<!-- triggerEvent -->
<TestCase testID="Dissolve_triggerEvent_Default" keywords="[Dissolve, accessor, triggerEvent]" description="Test the default value of the triggerEvent property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).triggerEvent" value="null"/>
</body>
</TestCase>
<!-- relevantStyles -->
<TestCase testID="Dissolve_relevantStyles_Default" keywords="[Dissolve, accessor, relevantStyles]" description="Test the default value of the relevantStyles property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).relevantStyles" value=""/>
</body>
</TestCase>
<!-- relevantProperties -->
<TestCase testID="Dissolve_relevantProperties_Default" keywords="[Dissolve, accessor, relevantProperties]" description="Test the default value of the relevantProperties property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).relevantProperties" value="visible,alpha"/>
</body>
</TestCase>
<!-- target -->
<TestCase testID="Dissolve_target_Default" keywords="[Dissolve, accessor, target]" description="Test the default value of the target property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).target" value="null"/>
</body>
</TestCase>
<!-- filter -->
<TestCase testID="Dissolve_filter_Default" keywords="[Dissolve, accessor, filter]" description="Test the default value of the filter property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).filter" value="null"/>
</body>
</TestCase>
<!-- isPlaying -->
<TestCase testID="Dissolve_isPlaying_Default" keywords="[Dissolve, accessor, isPlaying]" description="Test the default value of the isPlaying property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).isPlaying" value="false"/>
</body>
</TestCase>
<!-- hideFocusRing -->
<TestCase testID="Dissolve_hideFocusRing_Default" keywords="[Dissolve, accessor, hideFocusRing]" description="Test the default value of the hideFocusRing property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).hideFocusRing" value="false"/>
</body>
</TestCase>
<!-- customFilter -->
<TestCase testID="Dissolve_customFilter_Default" keywords="[Dissolve, accessor, customFilter]" description="Test the default value of the customFilter property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).customFilter" value="null"/>
</body>
</TestCase>
<!-- DissolveTargetHost -->
<TestCase testID="Dissolve_effectTargetHost_Default" keywords="[Dissolve, accessor, effectTargetHost]" description="Test the default value of the effectTargetHost property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).effectTargetHost" value="null"/>
</body>
</TestCase>
<!-- targets -->
<TestCase testID="Dissolve_targets_Default" keywords="[Dissolve, accessor, targets]" description="Test the default value of the targets property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).targets" value=""/>
</body>
</TestCase>
<!-- duration -->
<TestCase testID="Dissolve_duration_Default" keywords="[Dissolve, accessor, duration]" description="Test the default value of the duration property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).duration" value="500"/>
</body>
</TestCase>
<!-- perElementOffset -->
<TestCase testID="Dissolve_perElementOffset_Default" keywords="[Dissolve, accessor, perElementOffset]" description="Test the default value of the perElementOffset property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).perElementOffset" value="0"/>
</body>
</TestCase>
<!-- className -->
<TestCase testID="Dissolve_className_Default" keywords="[Dissolve, accessor, className]" description="Test the default value of the className property.">
<body>
<AssertMethodValue method="value=(new Dissolve()).className" value="Dissolve"/>
</body>
</TestCase>
</testCases>
</UnitTester>