jquery/build/test/tests/prereq.html

31 lines
861 B
HTML
Raw Normal View History

2006-08-13 15:24:52 +00:00
<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>