| <?xml version="1.0" encoding="utf-8"?> |
| <UnitTester |
| testDir="spark/effects/easing/Linear/usability/" |
| xmlns:mx="http://www.adobe.com/2006/mxml" |
| xmlns="*" |
| testSWF="../SWFs/Linear_main.mxml"> |
| |
| <!-- this set of lines form a template that must be in each unit test --> |
| <mx:Script> |
| <![CDATA[ |
| import spark.effects.easing.Linear; |
| |
| public static function init(o:DisplayObject):void{} |
| ]]> |
| </mx:Script> |
| |
| <mx:Metadata> |
| <![CDATA[ |
| [Mixin] |
| ]]> |
| </mx:Metadata> |
| <!-- end of set of lines that must be in each unit test --> |
| |
| <testCases> |
| |
| <TestCase testID="Linear_CustomEaserCompetition" keywords="[Linear, usability, easer]" description="Test two easers side-by-side."> |
| <setup> |
| <RunCode code="application.testEffect.easer = application.foo;" /> |
| </setup> |
| <body> |
| <RunCode code="application.testEffect.play()" waitTarget="testEffect" waitEvent="effectEnd"/> |
| </body> |
| </TestCase> |
| |
| </testCases> |
| |
| </UnitTester> |