Make WordPress Core

Changeset 27155


Ignore:
Timestamp:
02/10/2014 01:11:25 AM (13 years ago)
Author:
azaozz
Message:

Incorporate the TinyMCE tests into our JS tests:

  • Modified the original tests so TinyMCE can be loaded from /src/wp-includes/js/tinymce.
  • Added "WP" option to the UI to select only tests relevant to our integration (excludes most of the default plugins tests).
  • Added tests for obsolete HTML elements and attributes (html4 back-compat).

See #27014.

Location:
trunk
Files:
159 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r27105 r27155  
    161161                                src: [
    162162                                        'tests/qunit/**/*.js',
    163                                         '!tests/qunit/vendor/qunit.js'
     163                                        '!tests/qunit/vendor/qunit.js',
     164                                        '!tests/qunit/editor/**'
    164165                                ],
    165166                                options: grunt.file.readJSON('tests/qunit/.jshintrc')
    … …  
    229230                },
    230231                qunit: {
    231                         files: ['tests/qunit/**/*.html']
     232                        files: [
     233                                'tests/qunit/**/*.html',
     234                                '!tests/qunit/editor/**'
     235                        ]
    232236                },
    233237                phpunit: {
    … …  
    341345                        },
    342346                        test: {
    343                                 files: ['tests/qunit/**'],
     347                                files: [
     348                                        'tests/qunit/**',
     349                                        '!tests/qunit/editor/**'
     350                                ],
    344351                                tasks: ['qunit']
    345352                        }
  • trunk/tests/qunit/index.html

    r26222 r27155  
    2929    <ol id="qunit-tests"></ol>
    3030    <div id="qunit-fixture"></div>
     31    <p><a href="editor">TinyMCE tests</a></p>
    3132  </div>
    3233</body>
Note: See TracChangeset for help on using the changeset viewer.