diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-11-03 11:30:57 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-11-03 11:30:57 +0000 |
commit | 7b780def0d7843e26d6a26dbc60499ea75f09e59 (patch) | |
tree | 3c9ac88e74044f890ed1f36db33a10d6935846bc /build/test/data/testrunner.js | |
parent | e9917ab8373b5e79c2a4315ad7f75be2cecf5ae1 (diff) | |
download | jquery-7b780def0d7843e26d6a26dbc60499ea75f09e59.tar.gz jquery-7b780def0d7843e26d6a26dbc60499ea75f09e59.zip |
Refactored ajax module: Dropped internal arguments from ajax(); Modified testsuite to improve display
Diffstat (limited to 'build/test/data/testrunner.js')
-rw-r--r-- | build/test/data/testrunner.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build/test/data/testrunner.js b/build/test/data/testrunner.js index 398ef3dcd..cf4777deb 100644 --- a/build/test/data/testrunner.js +++ b/build/test/data/testrunner.js @@ -43,8 +43,9 @@ function runTest(tests) { synchronize(function() { var runTime = new Date() - startTime; var result = document.createElement("div"); - result.innerHTML = 'Tests completed in ' + runTime + ' milliseconds.<br/>' + - stats.bad + ' tests of ' + stats.all + ' failed.'; + result.innerHTML = '<p class="result">Tests completed in ' + + runTime + ' milliseconds.<br/>' + + stats.bad + ' tests of ' + stats.all + ' failed.</p>'; document.getElementsByTagName("body")[0].appendChild(result); }); } @@ -68,7 +69,7 @@ function test(name, callback) { var good = 0, bad = 0; var ol = document.createElement("ol"); - + ol.style.display = "none"; var li = "", state = "pass"; for ( var i = 0; i < Test.length; i++ ) { var li = document.createElement("li"); |