WordPress.org

Make WordPress Core

Ticket #31413: 31413.patch

File 31413.patch, 3.7 KB (added by iseulde, 6 years ago)
  • tests/qunit/index.html

     
    1 <!DOCTYPE HTML>
     1<!DOCTYPE html>
    22<html>
    33<head>
    4   <title>WordPress QUnit Test Suite</title>
     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>
     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 = true;</script>
    1819</head>
    1920<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>
     21        <div>
     22                <div id="qunit"></div>
     23                <div id="qunit-fixture">
     24                        <script src="fixtures/customize-header.js"></script>
     25                        <script src="fixtures/customize-settings.js"></script>
     26                </div>
     27                <p><a href="editor">TinyMCE tests</a></p>
    3028
    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>
     29                <!-- Tested files -->
     30                <script src="../../src/wp-admin/js/password-strength-meter.js"></script>
     31                <script src="../../src/wp-includes/js/customize-base.js"></script>
     32                <script src="../../src/wp-includes/js/customize-models.js"></script>
     33                <script src="../../src/wp-includes/js/shortcode.js"></script>
     34                <script src="../../src/wp-admin/js/customize-controls.js"></script>
    3735
    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>
     36                <!-- Unit tests -->
     37                <script src="wp-admin/js/password-strength-meter.js"></script>
     38                <script src="wp-admin/js/customize-base.js"></script>
     39                <script src="wp-admin/js/customize-header.js"></script>
     40                <script src="wp-includes/js/shortcode.js"></script>
     41                <script src="wp-admin/js/customize-controls.js"></script>
     42                <script src="wp-admin/js/customize-controls-utils.js"></script>
     43        </div>
    4644</body>
    4745</html>