aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-07 12:28:36 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-07 12:28:36 -0400
commit0c82f7ec2c9333bfa7dc03750195f6abe0f0e83a (patch)
treef55ef6e1e73c4a8bc46eb5f5522f11c30e2c6e11 /tests/unit
parent409f5d1ba0fe572e8a208a550c42aed516fc4fe3 (diff)
downloadjquery-ui-0c82f7ec2c9333bfa7dc03750195f6abe0f0e83a.tar.gz
jquery-ui-0c82f7ec2c9333bfa7dc03750195f6abe0f0e83a.zip
Dialog tests: Enabling in TestSwarm.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/dialog/dialog.html10
-rw-r--r--tests/unit/dialog/dialog_options.js8
2 files changed, 0 insertions, 18 deletions
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index 4062f76ab..f2e47b978 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -28,16 +28,6 @@
<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>
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js
index 11e1f4a8e..ac457d9b2 100644
--- a/tests/unit/dialog/dialog_options.js
+++ b/tests/unit/dialog/dialog_options.js
@@ -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);