aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-04-28 18:55:29 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-04-28 18:55:29 +0200
commit3d692a08312be502eaeb79a06f931395059d4b42 (patch)
treef195b71b23241ea2e02754475040a5c09586fbf2
parent0aa4c7f9b6bc13791197b1486afdad02693e5dee (diff)
downloadjquery-ui-3d692a08312be502eaeb79a06f931395059d4b42.tar.gz
jquery-ui-3d692a08312be502eaeb79a06f931395059d4b42.zip
Slider unit tests: Disabled stale tests on Testswarm
-rw-r--r--tests/unit/slider/slider.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html
index 5b1506de5..1ba5f76af 100644
--- a/tests/unit/slider/slider.html
+++ b/tests/unit/slider/slider.html
@@ -15,7 +15,6 @@
<link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
<script type="text/javascript" src="../../../external/qunit.js"></script>
<script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
<script type="text/javascript" src="slider_core.js"></script>
<script type="text/javascript" src="slider_defaults.js"></script>
@@ -23,6 +22,18 @@
<script type="text/javascript" src="slider_methods.js"></script>
<script type="text/javascript" src="slider_options.js"></script>
<script type="text/javascript" src="slider_tickets.js"></script>
+
+ <script type="text/javascript">
+ // disable this stale testsuite for testswarm only
+ var url = window.location.search;
+ url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
+ if ( url && url.indexOf("http") == 0 ) {
+ // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
+ QUnit.init();
+ test("slider", function() { ok(true, "disabled slider testsuite"); });
+ }
+ </script>
+ <script type="text/javascript" src="../testsuite.js"></script>
</head>
<body>