]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Expose jQuery version select 1202/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 21 Feb 2014 17:42:43 +0000 (18:42 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 4 Mar 2014 22:02:37 +0000 (23:02 +0100)
Makes use of the extended urlConfig in QUnit 1.14

tests/unit/testsuite.js

index 1ccd4099dfc70d68cacd2f48313a51852e138499..c2f30222b54ab3768687a1d99c463fff9ae945bd 100644 (file)
@@ -57,6 +57,17 @@ QUnit.config.urlConfig.push({
        tooltip: "Skip running JSHint, e.g. within TestSwarm, where Jenkins runs it already"
 });
 
+QUnit.config.urlConfig.push({
+       id: "jquery",
+       label: "jQuery version",
+       value: [
+               "1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.7", "1.7.1", "1.7.2",
+               "1.8.0", "1.8.1", "1.8.2", "1.8.3", "1.9.0", "1.9.1", "1.10.0",
+               "1.10.1", "1.10.2", "2.0.0", "2.0.1", "2.0.2", "2.0.3", "git"
+       ],
+       tooltip: "Which jQuery Core version to test against"
+});
+
 jshintLoaded = false;
 TestHelpers.testJshint = function( module ) {
        // Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore