Merge pull request #2828 from silverstripe-rebelalliance/JSRunnerTest

NEW: Correcting the JSRunnerTest template comments
This commit is contained in:
Ingo Schommer 2014-02-07 12:00:25 +13:00
commit 2a3b8a5a70

View File

@ -6,27 +6,33 @@
* *
* To create your own tests, please use this template: * To create your own tests, please use this template:
* <code> * <code>
* <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> * <!DOCTYPE html>
* <html> * <html id="html">
* <head> * <head>
* <script src="http://code.jquery.com/jquery-latest.js"></script> * <title>jQuery - Validation Test Suite</title>
* <link rel="stylesheet" href="http://dev.jquery.com/view/trunk/qunit/testsuite.css" type="text/css" media="screen" /> * <link rel="Stylesheet" media="screen"
* <script> * href="thirdparty/jquery-validate/test/qunit/qunit.css" />
* $(document).ready(function(){ * <script type="text/javascript"
* test("test my feature", function() { * src="thirdparty/jquery-validate/lib/jquery.js"></script>
* ok('mytest'); * <script type="text/javascript"
* }); * src="thirdparty/jquery-validate/test/qunit/qunit.js"></script>
* }); * <script>
* </script> * $(document).ready(function(){
* </head> * test("test my feature", function() {
* <body> * ok('mytest');
* <script type="text/javascript" src="http://jqueryjs.googlecode.com/svn/trunk/qunit/testrunner.js"></script> * });
* <h1>My Test Name</h1> * });
* <h2 id="banner"></h2> * </script>
* <h2 id="userAgent"></h2> * </head>
* <ol id="tests"></ol> * <body id="body">
* <div id="main"></div> * <h1 id="qunit-header">
* </body> * <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">
* jQuery Validation Plugin</a> Test Suite</h1>
* <h2 id="qunit-banner"></h2>
* <div id="qunit-testrunner-toolbar"></div>
* <h2 id="qunit-userAgent"></h2>
* <ol id="qunit-tests"></ol>
* </body>
* </html> * </html>
* </code> * </code>
* *