File tree Expand file tree Collapse file tree 4 files changed +48
-4
lines changed
Expand file tree Collapse file tree 4 files changed +48
-4
lines changed Original file line number Diff line number Diff line change 1111 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
1212 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
1313 < script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
14- < script type ="text/javascript " src ="../testsuite.js "> </ script >
1514
1615 < script type ="text/javascript " src ="core.js "> </ script >
1716 < script type ="text/javascript " src ="selector.js "> </ script >
1817
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+
1930 < style type ="text/css ">
2031 .zindex {z-index : 100 }
2132 .absolute {position : absolute}
Original file line number Diff line number Diff line change 1616 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
1717 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
1818 < script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
19- < script type ="text/javascript " src ="../testsuite.js "> </ script >
2019
2120 < script type ="text/javascript " src ="datepicker_core.js "> </ script >
2221 < script type ="text/javascript " src ="datepicker_defaults.js "> </ script >
2322 < script type ="text/javascript " src ="datepicker_events.js "> </ script >
2423 < script type ="text/javascript " src ="datepicker_methods.js "> </ script >
2524 < script type ="text/javascript " src ="datepicker_options.js "> </ script >
2625 < 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 >
2738</ head >
2839< body >
2940
Original file line number Diff line number Diff line change 1919 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
2020 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
2121 < script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
22- < script type ="text/javascript " src ="../testsuite.js "> </ script >
2322
2423 < script type ="text/javascript " src ="dialog_core.js "> </ script >
2524 < script type ="text/javascript " src ="dialog_defaults.js "> </ script >
2625 < script type ="text/javascript " src ="dialog_events.js "> </ script >
2726 < script type ="text/javascript " src ="dialog_methods.js "> </ script >
2827 < script type ="text/javascript " src ="dialog_options.js "> </ script >
2928 < 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 >
3041</ head >
3142< body >
3243
Original file line number Diff line number Diff line change 1515 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
1616 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
1717 < script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
18- < script type ="text/javascript " src ="../testsuite.js "> </ script >
1918
2019 < script type ="text/javascript " src ="tabs_core.js "> </ script >
2120 < script type ="text/javascript " src ="tabs_defaults.js "> </ script >
2221 < script type ="text/javascript " src ="tabs_events.js "> </ script >
2322 < script type ="text/javascript " src ="tabs_methods.js "> </ script >
2423 < script type ="text/javascript " src ="tabs_options.js "> </ script >
2524 < 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 >
2637</ head >
2738< body >
2839
You can’t perform that action at this time.
0 commit comments