diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-09-17 11:41:44 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-09-17 11:41:44 +0000 |
commit | 826bb93cc35a602f27d713a40e9714dedcfb5d47 (patch) | |
tree | e8a7f9cbd54bec10ffb85e971e4af407ef395db6 /build/test/index.html | |
parent | 76188ae4572aee777e60ab3ae9fdafe17d7004f5 (diff) | |
download | jquery-826bb93cc35a602f27d713a40e9714dedcfb5d47.tar.gz jquery-826bb93cc35a602f27d713a40e9714dedcfb5d47.zip |
Refactored test suite once more, as proposed by John
Diffstat (limited to 'build/test/index.html')
-rw-r--r-- | build/test/index.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build/test/index.html b/build/test/index.html index 74539eff5..a8d8b4494 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -1,10 +1,12 @@ <html id="html"> <head> <script type="text/javascript" src="../dist/jquery.js"></script> - <script type="text/javascript" src="js/test.js"></script> + <script type="text/javascript" src="testrunner.js"></script> <script> - $(document).ready(function(){ - runTest('tests.js');
+ $(document).ready(function(){
+ runTest(function() { + {TESTS}
+ });
}); </script> <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style> @@ -46,6 +48,8 @@ <input type="text" id="name" name="name" value="name" />
+ <textarea id="area1">foobar</textarea>
+
<select name="select1" id="select1">
<option id="option1a" value="">Nothing</option>
<option id="option1b" value="1">1</option>
|