From 5b1a6a714d8fb65f09b370d532d70ca0dc2b81a9 Mon Sep 17 00:00:00 2001 From: stevenaw Date: Thu, 14 Apr 2011 23:36:09 -0400 Subject: [PATCH] [#380] Increased unit tests timeouts to allow players to load --- players/soundcloud/popcorn.soundcloud.unit.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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" ); -- 2.43.0