From 3909e6d89e01e4cd8777377c63037896bb95aa2f Mon Sep 17 00:00:00 2001 From: Leif Johansson <leifj@sunet.se> Date: Fri, 25 Nov 2011 21:18:19 +0100 Subject: new jq layout --- .../webapp/jquery-ui-1.9pre/tests/unit/subsuite.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/webapp/jquery-ui-1.9pre/tests/unit/subsuite.js (limited to 'src/main/webapp/jquery-ui-1.9pre/tests/unit/subsuite.js') diff --git a/src/main/webapp/jquery-ui-1.9pre/tests/unit/subsuite.js b/src/main/webapp/jquery-ui-1.9pre/tests/unit/subsuite.js new file mode 100644 index 0000000..e584d28 --- /dev/null +++ b/src/main/webapp/jquery-ui-1.9pre/tests/unit/subsuite.js @@ -0,0 +1,21 @@ +(function() { + +var versions = [ "1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.7", "1.7.1", "git" ]; + +var additionalTests = { + accordion: [ "accordion_deprecated.html" ], + position: [ "position_deprecated.html" ], + tabs: [ "tabs_deprecated.html" ] +}; + +window.testAllVersions = function( widget ) { + QUnit.testSuites( $.map( + [ widget + ".html" ].concat( additionalTests[ widget ] || [] ), + function( test ) { + return $.map( versions, function( version ) { + return test + "?jquery=" + version; + }); + })); +}; + +}()); -- cgit v1.1