Skip to content

Commit 0c82f7e

Browse files
committed
Dialog tests: Enabling in TestSwarm.
1 parent 409f5d1 commit 0c82f7e

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

tests/unit/dialog/dialog.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@
2828
<script type="text/javascript" src="dialog_options.js"></script>
2929
<script type="text/javascript" src="dialog_tickets.js"></script>
3030

31-
<script type="text/javascript">
32-
// disable this stale testsuite for testswarm only
33-
var url = window.location.search;
34-
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
35-
if ( url && url.indexOf("http") == 0 ) {
36-
// reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
37-
QUnit.init();
38-
test("dialog", function() { ok(true, "disabled dialog testsuite"); });
39-
}
40-
</script>
4131
<script type="text/javascript" src="../swarminject.js"></script>
4232
</head>
4333
<body>

tests/unit/dialog/dialog_options.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,6 @@ test("minWidth", function() {
261261
el.remove();
262262
});
263263

264-
test("modal", function() {
265-
ok(false, 'missing test - untested code is broken code');
266-
});
267-
268264
test("position, default center on window", function() {
269265
var el = $('<div></div>').dialog();
270266
var dialog = el.dialog('widget');
@@ -389,10 +385,6 @@ test("resizable", function() {
389385
el.remove();
390386
});
391387

392-
test("stack", function() {
393-
ok(false, 'missing test - untested code is broken code');
394-
});
395-
396388
test("title", function() {
397389
expect(9);
398390

0 commit comments

Comments
 (0)