Make WordPress Core


Ignore:
Timestamp:
02/22/2015 03:31:14 PM (10 years ago)
Author:
ocean90
Message:

Adjust our QUnit test suite to show the QUnit toolbar.

props iseulde.
fixes #31413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/index.html

    r30989 r31502  
    1 <!DOCTYPE HTML>
     1<!DOCTYPE html>
    22<html>
    3 <head>
    4   <title>WordPress QUnit Test Suite</title>
     3    <head>
     4        <title>WordPress QUnit Test Suite</title>
    55
    6   <!-- Dependencies -->
    7   <script src="../../src/wp-includes/js/jquery/jquery.js"></script>
    8   <script src="../../src/wp-includes/js/jquery/ui/core.js"></script>
    9   <script src="../../src/wp-includes/js/underscore.min.js"></script>
    10   <script src="../../src/wp-includes/js/backbone.min.js"></script>
    11   <script src="../../src/wp-includes/js/zxcvbn.min.js"></script>
     6        <!-- Dependencies -->
     7        <script src="../../src/wp-includes/js/jquery/jquery.js"></script>
     8        <script src="../../src/wp-includes/js/jquery/ui/core.js"></script>
     9        <script src="../../src/wp-includes/js/underscore.min.js"></script>
     10        <script src="../../src/wp-includes/js/backbone.min.js"></script>
     11        <script src="../../src/wp-includes/js/zxcvbn.min.js"></script>
    1212
    13   <!-- QUnit -->
    14   <link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
    15   <script src="vendor/qunit.js"></script>
    16   <script src="vendor/sinon.js"></script>
    17   <script src="vendor/sinon-qunit.js"></script>
    18 </head>
    19 <body>
    20   <div>
    21     <h1 id="qunit-header">WordPress QUnit Test Suite</h1>
    22     <h2 id="qunit-banner"></h2>
    23     <h2 id="qunit-userAgent"></h2>
    24     <ol id="qunit-tests"></ol>
    25     <div id="qunit-fixture">
    26       <script src="fixtures/customize-header.js"></script>
    27       <script src="fixtures/customize-settings.js"></script>
    28     </div>
    29     <p><a href="editor">TinyMCE tests</a></p>
     13        <!-- QUnit -->
     14        <link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
     15        <script src="vendor/qunit.js"></script>
     16        <script src="vendor/sinon.js"></script>
     17        <script src="vendor/sinon-qunit.js"></script>
     18        <script>QUnit.config.hidepassed = false;</script>
     19    </head>
     20    <body>
     21        <div id="qunit"></div>
     22        <div id="qunit-fixture">
     23            <script src="fixtures/customize-header.js"></script>
     24            <script src="fixtures/customize-settings.js"></script>
     25        </div>
     26        <p><a href="editor">TinyMCE tests</a></p>
    3027
    31     <!-- Tested files -->
    32     <script src="../../src/wp-admin/js/password-strength-meter.js"></script>
    33     <script src="../../src/wp-includes/js/customize-base.js"></script>
    34     <script src="../../src/wp-includes/js/customize-models.js"></script>
    35     <script src="../../src/wp-includes/js/shortcode.js"></script>
    36     <script src="../../src/wp-admin/js/customize-controls.js"></script>
     28        <!-- Tested files -->
     29        <script src="../../src/wp-admin/js/password-strength-meter.js"></script>
     30        <script src="../../src/wp-includes/js/customize-base.js"></script>
     31        <script src="../../src/wp-includes/js/customize-models.js"></script>
     32        <script src="../../src/wp-includes/js/shortcode.js"></script>
     33        <script src="../../src/wp-admin/js/customize-controls.js"></script>
    3734
    38     <!-- Unit tests -->
    39     <script src="wp-admin/js/password-strength-meter.js"></script>
    40     <script src="wp-admin/js/customize-base.js"></script>
    41     <script src="wp-admin/js/customize-header.js"></script>
    42     <script src="wp-includes/js/shortcode.js"></script>
    43     <script src="wp-admin/js/customize-controls.js"></script>
    44     <script src="wp-admin/js/customize-controls-utils.js"></script>
    45   </div>
    46 </body>
     35        <!-- Unit tests -->
     36        <script src="wp-admin/js/password-strength-meter.js"></script>
     37        <script src="wp-admin/js/customize-base.js"></script>
     38        <script src="wp-admin/js/customize-header.js"></script>
     39        <script src="wp-includes/js/shortcode.js"></script>
     40        <script src="wp-admin/js/customize-controls.js"></script>
     41        <script src="wp-admin/js/customize-controls-utils.js"></script>
     42    </body>
    4743</html>
Note: See TracChangeset for help on using the changeset viewer.