imported the whole jquery-ui package, refreshed with 1.10.2
[myslice.git] / third-party / jquery-ui-1.10.2 / tests / unit / subsuite.js
1 (function() {
2
3 var versions = [
4                 "1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4",
5                 "1.7", "1.7.1", "1.7.2",
6                 "1.8.0", "1.8.1", "1.8.2", "1.8.3",
7                 "1.9.0", "1.9.1",
8                 "git"
9         ],
10         additionalTests = {
11                 // component: [ "other_test.html" ]
12         };
13
14 window.testAllVersions = function( widget ) {
15         QUnit.testSuites( $.map(
16                 [ widget + ".html" ].concat( additionalTests[ widget ] || [] ),
17                 function( test ) {
18                         return $.map( versions, function( version ) {
19                                 return test + "?jquery=" + version;
20                         });
21                 }));
22 };
23
24 }());