files: grunt.file.expandFiles( "tests/unit/**/*.html" ).filter(function( file ) {
// disabling everything that doesn't (quite) work with PhantomJS for now
// TODO except for all|index|test, try to include more as we go
- return !( /(all|all-active|index|test|dialog|tabs|tooltip)\.html$/ ).test( file );
+ return !( /(all|index|test|dialog|tabs|tooltip)\.html$/ ).test( file );
})
},
lint: {
+++ /dev/null
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Test Suite</title>
-
- <script src="../../jquery-1.8.2.js"></script>
-
- <link rel="stylesheet" href="../../external/qunit.css">
- <link rel="stylesheet" href="qunit-composite.css">
- <script src="../../external/qunit.js"></script>
- <script src="qunit-composite.js"></script>
-
- <script>
- (function() {
-
- var params = [],
- suites = [
- "accordion/accordion.html",
- "autocomplete/autocomplete.html",
- "button/button.html",
- "core/core.html",
- "datepicker/datepicker.html",
- "dialog/dialog.html",
- "draggable/draggable.html",
- "droppable/droppable.html",
- "effects/effects.html",
- "menu/menu.html",
- "position/position.html",
- "progressbar/progressbar.html",
- "resizable/resizable.html",
- "selectable/selectable.html",
- "slider/slider.html",
- "sortable/sortable.html",
- "spinner/spinner.html",
- "tabs/tabs.html",
- "tooltip/tooltip.html",
- "widget/widget.html"
- ];
-
- $.each( QUnit.urlParams, function( key, value ) {
- if ( key === "filter" ) {
- return;
- }
- params.push( encodeURIComponent( key ) + "=" + encodeURIComponent( value ) );
- });
- if ( params.length ) {
- params = "?" + params.join( "&" );
- suites = $.map( suites, function( suite ) {
- return suite + params;
- });
- }
- QUnit.testSuites( suites );
-
- }());
- </script>
-</head>
-<body>
-
-<h1 id="qunit-header">jQuery UI 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>
-</body>
-</html>