X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=build%2Fruntest%2Ftest.js;h=a9721620400c462d7d57d928602526f6a66f999d;hb=1ef930b3845248379f37a6b26c826122e9f65932;hp=1831e2f04f84e009578f5a5e62f42473c982114a;hpb=54035207fe91cb57f49bb8c0c9f7b4ada8d05346;p=jquery.git diff --git a/build/runtest/test.js b/build/runtest/test.js index 1831e2f..a972162 100644 --- a/build/runtest/test.js +++ b/build/runtest/test.js @@ -1,17 +1,21 @@ // Init load("build/runtest/env.js"); -window.location = "test/index.html"; - -// Load the test runner -load("dist/jquery.js","build/runtest/testrunner.js"); -// Load the tests -load( - "src/jquery/coreTest.js", - "src/selector/selectorTest.js", - "src/event/eventTest.js", - "src/fx/fxTest.js" -); +window.location = "test/index.html"; -// Display the results -results(); +window.onload = function(){ + // Load the test runner + load("dist/jquery.js","build/runtest/testrunner.js"); + + // Load the tests + load( + "test/unit/core.js", + "test/unit/selector.js", + "test/unit/event.js" + //"test/unit/fx.js", + //"test/unit/ajax.js" + ); + + // Display the results + results(); +};