Home | History | Annotate | Download | only in test
      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 	<title>QUnit Test Suite</title>
      5 	<link rel="stylesheet" href="../qunit/qunit.css" type="text/css" media="screen">
      6 	<script type="text/javascript" src="../qunit/qunit.js"></script>
      7 	<script type="text/javascript" src="test.js"></script>
      8 	<script type="text/javascript" src="same.js"></script>
      9 	<script>
     10 		var logs = ["begin", "testStart", "testDone", "log", "moduleStart", "moduleDone", "done"];
     11 		for (var i = 0; i < logs.length; i++) {
     12 			(function() {
     13 				var log = logs[i];
     14 				QUnit[log] = function() {
     15 					console.log(log, arguments);
     16 				};
     17 			})();
     18 		}
     19 	</script>
     20 </head>
     21 <body>
     22 	<div id="qunit-fixture">test markup</div>
     23 </body>
     24 </html>
     25