]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog tests: Enabling in TestSwarm.
authorScott González <scott.gonzalez@gmail.com>
Tue, 7 Sep 2010 16:28:36 +0000 (12:28 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 7 Sep 2010 16:28:36 +0000 (12:28 -0400)
tests/unit/dialog/dialog.html
tests/unit/dialog/dialog_options.js

index 4062f76aba87e796834c82746e50a135120e081c..f2e47b978564d35bb4fd966156340b936a215108 100644 (file)
        <script type="text/javascript" src="dialog_options.js"></script>
        <script type="text/javascript" src="dialog_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("dialog", function() { ok(true, "disabled dialog testsuite"); });
-       }
-       </script>
        <script type="text/javascript" src="../swarminject.js"></script>
 </head>
 <body>
index 11e1f4a8ef313f9d7e21059aa66da82597b5e276..ac457d9b23737042c4a9cca7ade7f9aaab41eab1 100644 (file)
@@ -261,10 +261,6 @@ test("minWidth", function() {
        el.remove();
 });
 
-test("modal", function() {
-       ok(false, 'missing test - untested code is broken code');
-});
-
 test("position, default center on window", function() {
        var el = $('<div></div>').dialog();
        var dialog = el.dialog('widget');
@@ -389,10 +385,6 @@ test("resizable", function() {
        el.remove();
 });
 
-test("stack", function() {
-       ok(false, 'missing test - untested code is broken code');
-});
-
 test("title", function() {
        expect(9);