| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>QUnit Test Suite</title> |
| <link rel="stylesheet" href="../qunit/qunit.css" type="text/css" media="screen"> |
| <script type="text/javascript" src="../qunit/qunit.js"></script> |
| <script type="text/javascript" src="test.js"></script> |
| <script type="text/javascript" src="same.js"></script> |
| <script> |
| var logs = ["begin", "testStart", "testDone", "log", "moduleStart", "moduleDone", "done"]; |
| for (var i = 0; i < logs.length; i++) { |
| (function() { |
| var log = logs[i]; |
| QUnit[log] = function() { |
| console.log(log, arguments); |
| }; |
| })(); |
| } |
| </script> |
| </head> |
| <body> |
| <div id="qunit-fixture">test markup</div> |
| </body> |
| </html> |