Changeset 311 for trunk/fl5/test/tests/skins/SkinBaseTest.as
- Timestamp:
- 08/28/09 14:28:27 (4 years ago)
- Location:
- trunk/fl5/test/tests/skins
- Files:
-
- 2 copied
-
. (copied) (copied from branches/tmp/test/tests/skins)
-
SkinBaseTest.as (copied) (copied from branches/tmp/test/tests/skins/SkinBaseTest.as) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/test/tests/skins/SkinBaseTest.as
r310 r311 2 2 import com.longtailvideo.jwplayer.view.SkinBase; 3 3 4 import flash.events.ErrorEvent; 5 import flash.events.Event; 6 7 import org.flexunit.Assert; 8 import org.flexunit.async.Async; 4 9 5 10 public class SkinBaseTest { … … 14 19 [Test(async,timeout="1000")] 15 20 public function testLoad():void { 21 Async.handleEvent(this, skin, Event.COMPLETE, loadHandler); 22 Async.failOnEvent(this, skin, ErrorEvent.ERROR); 23 skin.load(); 24 } 25 26 public function loadHandler(evt:Event, params:*):void { 27 Assert.assertTrue(true); 16 28 } 17 29
Note: See TracChangeset
for help on using the changeset viewer.
