Complete overhaul of the Ajax test suite, it's now passing in all browsers. In order...
[jquery.git] / build / runtest / test.js
index d793ca8..5599b8d 100644 (file)
@@ -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();
+};