blob: f3f8c6a02c70333b38152897978c82aa47178516 [file] [log] [blame]
<UnitTester
testDir="spark/components/VideoDisplay/event/"
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="*"
testSWF="../SWFs/VideoDisplay_default.mxml">
<!--Default Script-->
<mx:Script>
<![CDATA[
import spark.components.VideoDisplay;
public static function init(o:DisplayObject):void{}
]]>
</mx:Script>
<!--Default Metadata-->
<mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
<testCases>
<TestCase testID="VideoDisplay_noEvents" keywords="[VideoDisplay, event, close]" description="Verify mediaPlayerStateChange is not raised.">
<setup>
<RunCode code="var newVD:spark.components.VideoDisplay = new VideoDisplay()"/>
</setup>
<body>
<AssertNoEvent target="newVD" eventName="mediaPlayerStateChange" eventClass="org.osmf.events::MediaPlayerStateChangeEvent"/>
<AssertNoEvent target="newVD" eventName="currentTimeChange" eventClass="org.osmf.events::TimeEvent"/>
<AssertNoEvent target="newVD" eventName="bytesLoadedChange" eventClass="org.osmf.events::LoadEvent"/>
<AssertNoEvent target="newVD" eventName="durationChange" eventClass="org.osmf.events::TimeEvent"/>
<AssertNoEvent target="newVD" eventName="complete" eventClass="org.osmf.events::TimeEvent"/>
</body>
</TestCase>
</testCases>
</UnitTester>