Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Generate more base markup, but allow the user to exclude that completelty or choose...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 15 Feb 2012 16:00:20 +0000 (17:00 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 15 Feb 2012 16:00:20 +0000 (17:00 +0100)
13 files changed:
addons/canvas/canvas.html
addons/close-enough/close-enough.html
addons/composite/composite-demo-test.html
addons/composite/composite-test.html
addons/composite/dummy-qunit-test.html
addons/composite/dummy-same-test.html
addons/step/step.html
addons/themes/gabe.html
addons/themes/nv.html
qunit/qunit.js
test/headless.html
test/index.html
test/logs.html

index 9a16bb1..5d253b8 100644 (file)
@@ -9,11 +9,7 @@
        <script type="text/javascript" src="canvas-test.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite - Canvas Addon</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <canvas id="qunit-canvas" width="5" height="5"></canvas>
 </body>
 </html>
index f6ea491..f568320 100644 (file)
@@ -9,10 +9,6 @@
        <script type="text/javascript" src="close-enough-test.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite - Close Enough</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
 </body>
 </html>
index 0132118..9740445 100644 (file)
        </script>
 </head>
 <body>
-
-<h1 id="qunit-header">QUnit SubsuiteRunner Test Suite</h1>
-<h2 id="qunit-banner"></h2>
-<div id="qunit-testrunner-toolbar"></div>
-<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests"></ol>
-<div id="qunit-fixture">
-
+       <div id="qunit"></div>
+       <div id="qunit-fixture">
 </div>
 </body>
 </html>
index 1fbd313..5240564 100644 (file)
        <script src="composite-test.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Core Test Suite</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index b664848..6ca3d0b 100644 (file)
@@ -9,11 +9,7 @@
        <script src="../../test/test.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Core Test Suite</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index e4b5e1d..1a64808 100644 (file)
@@ -6,14 +6,10 @@
        <link rel="stylesheet" href="../../qunit/qunit.css" type="text/css" media="screen">
        <script src="../../qunit/qunit.js"></script>
 
-       <script src="../../test/same.js"></script>
+       <script src="../../test/deepEqual.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Same Test Suite</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index d39764d..abeb655 100644 (file)
@@ -9,11 +9,7 @@
        <script type="text/javascript" src="step-test.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite - Step Addon</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <canvas id="qunit-canvas" width="5" height="5"></canvas>
 </body>
 </html>
index a3b6bf9..ea53247 100644 (file)
@@ -8,11 +8,7 @@
        <script type="text/javascript" src="../../test/deepEqual.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite - Gabe Theme</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <ol id="qunit-tests"></ol>
-       <div id="qunit-userAgent"></div>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index 6d8d606..4208450 100644 (file)
@@ -8,11 +8,7 @@
        <script type="text/javascript" src="../../test/deepEqual.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite - NV Theme</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <ol id="qunit-tests"></ol>
-       <div id="qunit-userAgent"></div>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index 3a20d8b..d13f965 100644 (file)
@@ -538,6 +538,16 @@ extend(QUnit, {
                        semaphore: 0
                });
 
+               var qunit = id( "qunit" );
+               if ( qunit ) {
+                       qunit.innerHTML =
+                               '<h1 id="qunit-header">' + document.title + '</h1>' +
+                               '<h2 id="qunit-banner"></h2>' +
+                               '<div id="qunit-testrunner-toolbar"></div>' +
+                               '<h2 id="qunit-userAgent"></h2>' +
+                               '<ol id="qunit-tests"></ol>';
+               }
+
                var tests = id( "qunit-tests" ),
                        banner = id( "qunit-banner" ),
                        result = id( "qunit-testresult" );
index cd1eb7e..dae6217 100644 (file)
@@ -5,7 +5,7 @@
        <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 type="text/javascript" src="deepEqual.js"></script>
        <script>
                var logs = ["begin", "testStart", "testDone", "log", "moduleStart", "moduleDone", "done"];
                for (var i = 0; i < logs.length; i++) {
index b5cbecc..6d505f5 100644 (file)
        <script src="swarminject.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>
index bd13507..ed03dad 100644 (file)
@@ -7,11 +7,7 @@
        <script type="text/javascript" src="logs.js"></script>
 </head>
 <body>
-       <h1 id="qunit-header">QUnit Test Suite</h1>
-       <h2 id="qunit-banner"></h2>
-       <div id="qunit-testrunner-toolbar"></div>
-       <h2 id="qunit-userAgent"></h2>
-       <ol id="qunit-tests"></ol>
+       <div id="qunit"></div>
        <div id="qunit-fixture">test markup</div>
 </body>
 </html>

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf