github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 386
    • 45
  • Source
  • Commits
  • Network (45)
  • Graphs
  • Tree: baa3678

click here to add a description

click here to add a homepage

  • Switch Branches (6)
    • bind
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (16)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Unit tests: Disable stale widget tests on testswarm
jzaefferer (author)
Wed Apr 14 11:19:20 -0700 2010
commit  baa3678477027de9191468fd6af1d3568d7597b5
tree    b5dc7597e33f58f4314761f0cef434f674e9f5f5
parent  9e8e339648901899827a58e5bf919f7dda03b88e
M tests/unit/core/core.html 13 ••••
M tests/unit/datepicker/datepicker.html 13 ••••
M tests/unit/dialog/dialog.html 13 ••••
M tests/unit/tabs/tabs.html 13 ••••
Txt tests/unit/core/core.html
  • View file @ baa3678
... ...
@@ -11,11 +11,22 @@
11 11
   <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
12 12
   <script type="text/javascript" src="../../../external/qunit.js"></script>
13 13
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
14  
-  <script type="text/javascript" src="../testsuite.js"></script>
15 14
   
16 15
   <script type="text/javascript" src="core.js"></script>
17 16
   <script type="text/javascript" src="selector.js"></script>
18 17
   
  18
+  <script type="text/javascript">
  19
+  // disable this stale testsuite for testswarm only
  20
+  var url = window.location.search;
  21
+  url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
  22
+  if ( url && url.indexOf("http") == 0 ) {
  23
+    // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
  24
+    QUnit.init();
  25
+    test("core", function() { ok(true, "disabled core testsuite"); });
  26
+  }
  27
+  </script>
  28
+  <script type="text/javascript" src="../testsuite.js"></script>
  29
+  
19 30
   <style  type="text/css">
20 31
     .zindex {z-index: 100}
21 32
     .absolute {position: absolute}
Txt tests/unit/datepicker/datepicker.html
  • View file @ baa3678
... ...
@@ -16,7 +16,6 @@
16 16
   <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
17 17
   <script type="text/javascript" src="../../../external/qunit.js"></script>
18 18
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
19  
-  <script type="text/javascript" src="../testsuite.js"></script>
20 19
   
21 20
   <script type="text/javascript" src="datepicker_core.js"></script>
22 21
   <script type="text/javascript" src="datepicker_defaults.js"></script>
... ...
@@ -24,6 +23,18 @@
24 23
   <script type="text/javascript" src="datepicker_methods.js"></script>
25 24
   <script type="text/javascript" src="datepicker_options.js"></script>
26 25
   <script type="text/javascript" src="datepicker_tickets.js"></script>
  26
+  
  27
+  <script type="text/javascript">
  28
+  // disable this stale testsuite for testswarm only
  29
+  var url = window.location.search;
  30
+  url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
  31
+  if ( url && url.indexOf("http") == 0 ) {
  32
+    // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
  33
+    QUnit.init();
  34
+    test("datepicker", function() { ok(true, "disabled datepicker testsuite"); });
  35
+  }
  36
+  </script>
  37
+  <script type="text/javascript" src="../testsuite.js"></script>
27 38
 </head>
28 39
 <body>
29 40
 
Txt tests/unit/dialog/dialog.html
  • View file @ baa3678
... ...
@@ -19,7 +19,6 @@
19 19
   <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
20 20
   <script type="text/javascript" src="../../../external/qunit.js"></script>
21 21
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
22  
-  <script type="text/javascript" src="../testsuite.js"></script>
23 22
   
24 23
   <script type="text/javascript" src="dialog_core.js"></script>
25 24
   <script type="text/javascript" src="dialog_defaults.js"></script>
... ...
@@ -27,6 +26,18 @@
27 26
   <script type="text/javascript" src="dialog_methods.js"></script>
28 27
   <script type="text/javascript" src="dialog_options.js"></script>
29 28
   <script type="text/javascript" src="dialog_tickets.js"></script>
  29
+  
  30
+  <script type="text/javascript">
  31
+  // disable this stale testsuite for testswarm only
  32
+  var url = window.location.search;
  33
+  url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
  34
+  if ( url && url.indexOf("http") == 0 ) {
  35
+    // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
  36
+    QUnit.init();
  37
+    test("dialog", function() { ok(true, "disabled dialog testsuite"); });
  38
+  }
  39
+  </script>
  40
+  <script type="text/javascript" src="../testsuite.js"></script>
30 41
 </head>
31 42
 <body>
32 43
 
Txt tests/unit/tabs/tabs.html
  • View file @ baa3678
... ...
@@ -15,7 +15,6 @@
15 15
   <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
16 16
   <script type="text/javascript" src="../../../external/qunit.js"></script>
17 17
   <script type="text/javascript" src="../../jquery.simulate.js"></script>
18  
-  <script type="text/javascript" src="../testsuite.js"></script>
19 18
 
20 19
   <script type="text/javascript" src="tabs_core.js"></script>
21 20
   <script type="text/javascript" src="tabs_defaults.js"></script>
... ...
@@ -23,6 +22,18 @@
23 22
   <script type="text/javascript" src="tabs_methods.js"></script>
24 23
   <script type="text/javascript" src="tabs_options.js"></script>
25 24
   <script type="text/javascript" src="tabs_tickets.js"></script>
  25
+  
  26
+  <script type="text/javascript">
  27
+  // disable this stale testsuite for testswarm only
  28
+  var url = window.location.search;
  29
+  url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
  30
+  if ( url && url.indexOf("http") == 0 ) {
  31
+    // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
  32
+    QUnit.init();
  33
+    test("tabs", function() { ok(true, "disabled tabs testsuite"); });
  34
+  }
  35
+  </script>
  36
+  <script type="text/javascript" src="../testsuite.js"></script>
26 37
 </head>
27 38
 <body>
28 39
 

0 notes on commit baa3678

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server