| <UnitTester |
| testDir="spark/components/VideoPlayer/style/" |
| xmlns:mx="http://www.adobe.com/2006/mxml" |
| xmlns="*" |
| testSWF="../SWFs/VideoPlayer_style_skinned.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_skinClass" |
| description="Verify the default skin." |
| keywords="[VideoPlayer]"> |
| <body> |
| <CompareBitmap numColorVariances="7" maxColorVariance="10" url="../style/baseline/$testID.png" /> |
| </body> |
| </TestCase> |
| |
| <TestCase |
| testID="VideoPlayer_skinClass_setSkin" |
| description="Apply a skin using the skinClass style." |
| keywords="[VideoPlayer]"> |
| <body> |
| <RunCode code="application.testPlayer.setStyle('skinClass', VideoPlayerSkin)" waitTarget="testPlayer" waitEvent="updateComplete"/> |
| <Pause timeout="200"/> |
| <CompareBitmap numColorVariances="7" maxColorVariance="10" url="../style/baseline/$testID.png" /> |
| </body> |
| </TestCase> |
| |
| </testCases> |
| </UnitTester> |