Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: templates/testIndex.html.tmpl

Issue 29600577: Issue 5997 - Avoid including qunit files in release builds (Closed)
Patch Set: Avoid bundling tests if testScripts option is missing Created Nov. 7, 2017, 4:04 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- 3 <!--
4 - This Source Code Form is subject to the terms of the Mozilla Public 4 - This Source Code Form is subject to the terms of the Mozilla Public
5 - License, v. 2.0. If a copy of the MPL was not distributed with this 5 - License, v. 2.0. If a copy of the MPL was not distributed with this
6 - file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 - file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 --> 7 -->
8 8
9 <html> 9 <html>
10 <head> 10 <head>
11 <meta charset="utf-8" /> 11 <meta charset="utf-8" />
12 <link rel="stylesheet" href="qunit.css" /> 12 <link rel="stylesheet" href="qunit.css" />
13 <script src="qunit.js"></script> 13 <script src="qunit.js"></script>
14 {%- for script in scripts %} 14 {%- for script in scripts %}
15 <script src="{{ script }}"></script> 15 <script src="{{ script }}"></script>
16 {%- endfor %} 16 {%- endfor %}
17 <script src="tests.js"></script>
17 </head> 18 </head>
18 <body> 19 <body>
19 <h1 id="qunit-header">{{ basename }} unit tests</h1> 20 <h1 id="qunit-header">{{ basename }} unit tests</h1>
20 <h2 id="qunit-banner"></h2> 21 <h2 id="qunit-banner"></h2>
21 <div id="qunit-testrunner-toolbar"></div> 22 <div id="qunit-testrunner-toolbar"></div>
22 <h2 id="qunit-userAgent"></h2> 23 <h2 id="qunit-userAgent"></h2>
23 <ol id="qunit-tests"></ol> 24 <ol id="qunit-tests"></ol>
24 </body> 25 </body>
25 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld