From: rwldrn Date: Tue, 5 Apr 2011 15:25:24 +0000 (-0400) Subject: [#464] Run all core tests from Popcorn API Test Suite X-Git-Tag: v0.5~13^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3f11eae329356728f8506e454c42ebefdef52b5d;p=popcorn-js.git [#464] Run all core tests from Popcorn API Test Suite --- diff --git a/test/butter_test.html b/test/butter_test.html index 085974c..77b4bdb 100644 --- a/test/butter_test.html +++ b/test/butter_test.html @@ -3,12 +3,85 @@ Popcorn Butter Test + + + +

Butter Dependencies

+

Butter Popcorn Dependencies

@@ -16,10 +89,10 @@
    -
    + -
    + diff --git a/test/index.html b/test/index.html index c891c93..3dde4c0 100644 --- a/test/index.html +++ b/test/index.html @@ -7,6 +7,7 @@ + - -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - - -
    -
    - -
    -
    + + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    + + +
    +
    + +
    +
    -
    +
    - + diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index 59e0b9a..97bcbeb 100755 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -2087,5 +2087,14 @@ test("Last Check", function () { } catch (e) {}; + // Trigger follow-up tests to run in iframes + (function( $ ) { + + $("iframe[data-src]").attr( "src", function() { + return $(this).data("src"); + }); + + })( jQuery ); + }); diff --git a/test/ready.html b/test/ready.html index 3b835a6..8ea32a2 100644 --- a/test/ready.html +++ b/test/ready.html @@ -1,49 +1,107 @@ - - - - Popcorn API - - - - - - - - - + + + + Popcorn API + + + + + + + + + +

    Popcorn(/* DOM Ready */)

    + + + +