git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test runner: recloses #3102. Adding one test for $().eq("1")
[jquery.git]
/
build
/
runtest
/
test.js
diff --git
a/build/runtest/test.js
b/build/runtest/test.js
index
1bc9ac1
..
a972162
100644
(file)
--- a/
build/runtest/test.js
+++ b/
build/runtest/test.js
@@
-1,18
+1,21
@@
// Init
load("build/runtest/env.js");
// 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"
- //"src/ajax/ajaxTest.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();
+};