From: stevenaw Date: Fri, 15 Apr 2011 03:36:09 +0000 (-0400) Subject: [#380] Increased unit tests timeouts to allow players to load X-Git-Tag: v0.5~1^2~4^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5b1a6a714d8fb65f09b370d532d70ca0dc2b81a9;p=popcorn-js.git [#380] Increased unit tests timeouts to allow players to load --- diff --git a/players/soundcloud/popcorn.soundcloud.unit.js b/players/soundcloud/popcorn.soundcloud.unit.js index 7246058..f07c460 100644 --- a/players/soundcloud/popcorn.soundcloud.unit.js +++ b/players/soundcloud/popcorn.soundcloud.unit.js @@ -246,7 +246,7 @@ test( "Testing Comments", function() { }); expect( expects ); - stop( 1000 ); + stop( 5000 ); Popcorn.forEach( players, function ( player, name ) { equals( player._comments[0].display(), commentOutput[name](), name + " formatted as expected" ); @@ -266,7 +266,7 @@ test( "Popcorn Integration", function () { } expect(expects); - stop( 10000 ); + stop( 20000 ); player.addEventListener( "load", function() { ok( true, "Listen works (load event)" ); @@ -296,7 +296,6 @@ test( "Popcorn Integration", function () { }); }); - test( "Events and Player Control", function () { var expects = 14, count = 0, @@ -310,7 +309,7 @@ test( "Events and Player Control", function () { } expect(expects); - stop( 60000 ); + stop( 100000 ); player.addEventListener( "load", function() { ok( true, "Load was fired" );