Ignore:
Timestamp:
08/28/09 14:28:27 (4 years ago)
Author:
pablo
Message:

Skin loading

Location:
trunk/fl5/test/tests/skins
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/fl5/test/tests/skins/SkinBaseTest.as

    r310 r311  
    22        import com.longtailvideo.jwplayer.view.SkinBase; 
    33         
     4        import flash.events.ErrorEvent; 
     5        import flash.events.Event; 
     6         
     7        import org.flexunit.Assert; 
     8        import org.flexunit.async.Async; 
    49 
    510        public class SkinBaseTest { 
     
    1419                [Test(async,timeout="1000")] 
    1520                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); 
    1628                } 
    1729 
Note: See TracChangeset for help on using the changeset viewer.