X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=build%2Fruntest%2Ftest.js;h=00b85e41980f6897c96631f44f88449deac9f769;hb=0bb035a1abc37fbf033a18ac53dd62ec85599a49;hp=d793ca8111ce8fdf020755f708c8b75b9b9798b2;hpb=89a9a747b603ae21945aa0cbcdf13560d3e7cea1;p=jquery.git diff --git a/build/runtest/test.js b/build/runtest/test.js index d793ca8..00b85e4 100644 --- a/build/runtest/test.js +++ b/build/runtest/test.js @@ -1,12 +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"); +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( + "src/jquery/coreTest.js", + "src/selector/selectorTest.js", + "src/event/eventTest.js", + "src/fx/fxTest.js" + //"src/ajax/ajaxTest.js" + ); + + // Display the results + results(); +}; \ No newline at end of file