diff options
Diffstat (limited to 'build/test/tests/prereq.html')
-rw-r--r-- | build/test/tests/prereq.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/build/test/tests/prereq.html b/build/test/tests/prereq.html new file mode 100644 index 000000000..e73f19b90 --- /dev/null +++ b/build/test/tests/prereq.html @@ -0,0 +1,30 @@ +<html id="html"> +<head> + <script type="text/javascript" src="../lib/Test/Builder.js"></script> + <script type="text/javascript" src="../lib/Test/More.js"></script> + <script type="text/javascript" src="../lib/test.js"></script> + <script type="text/javascript" src="../../jquery/jquery-svn.js"></script> +</head> +<body id="body"> + <h1>Test for Prerequisites</h1> + + <pre id="test"><script> + plan({tests: 11}); + + ok( Array.prototype.push, "Array.push()" ); + ok( Function.prototype.apply, "Function.apply()" ); + ok( document.getElementById, "getElementById" ); + ok( document.getElementsByTagName, "getElementsByTagName" ); + ok( RegExp, "RegExp" ); + + ok( jQuery, "jQuery" ); + ok( $, "$()" ); + + ok( $.find, "Select" ); + ok( $.filter, "filter()" ); + + ok( $.event.add, "addEvent" ); + ok( $.event.remove, "removeEvent" ); + </script></pre> +</body> +</html> |