blob: 2a33ee0bd82b9396720537f7c1238cc05b465857 [file] [log] [blame]
<UnitTester
testDir="spark/components/VideoPlayer/style/"
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="*"
testSWF="../SWFs/VideoPlayer_style.mxml">
<!--Default Script-->
<mx:Script>
<![CDATA[
import spark.components.VideoPlayer;
public static function init(o:DisplayObject):void{}
]]>
</mx:Script>
<!--Default Metadata-->
<mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
<!--Test Cases-->
<testCases>
<TestCase
testID="VideoPlayer_top"
description="Apply the top style."
keywords="[VideoPlayer]">
<setup>
<ResetComponent target="testPlayer" className="Components.TrixSparkVideoPlayer" waitTarget="testPlayer" waitEvent="updateComplete" />
<RunCode code="application.testPlayer.setStyle('top', '20')" waitTarget="testPlayer" waitEvent="updateComplete"/>
</setup>
<body>
<CompareBitmap target="vidParent" numColorVariances="7" maxColorVariance="10" url="../style/baseline/$testID.png" />
</body>
</TestCase>
</testCases>
</UnitTester>