From b900ea855cf72adfadc8e6b4343c600b5b04e75e Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sun, 1 Feb 2009 01:57:28 +0000 Subject: [PATCH] unit tests: fixed missing tests to hide with new qunit checkbox --- tests/unit/dialog/dialog.js | 8 ++++---- tests/unit/droppable/droppable.js | 34 +++++++++++++++---------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/unit/dialog/dialog.js b/tests/unit/dialog/dialog.js index f71ad2ab6..8fc627a27 100644 --- a/tests/unit/dialog/dialog.js +++ b/tests/unit/dialog/dialog.js @@ -306,7 +306,7 @@ test("buttons", function() { }); test("closeOnEscape", function() { - ok(false, 'missing test'); + ok(false, 'missing test - untested code is broken code'); }); test("closeText", function() { @@ -455,11 +455,11 @@ test("minWidth", function() { }); test("modal", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("position", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("resizable", function() { @@ -479,7 +479,7 @@ test("resizable", function() { }); test("stack", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("title", function() { diff --git a/tests/unit/droppable/droppable.js b/tests/unit/droppable/droppable.js index 31915defc..0e0dca62d 100644 --- a/tests/unit/droppable/droppable.js +++ b/tests/unit/droppable/droppable.js @@ -20,11 +20,11 @@ var defaults = { var el, drg; function shouldBeDroppable() { - ok(false, "missing test - should be droppable"); + ok(false, 'missing test - untested code is broken code'); } function shouldNotBeDroppable() { - ok(false, "missing test - should not be droppable"); + ok(false, 'missing test - untested code is broken code'); } // Droppable Tests @@ -144,15 +144,15 @@ test("option setting", function() { module("droppable: Options"); test("accept, selector", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("accept, fn", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("activeClass", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("cssNamespace", function() { @@ -168,53 +168,53 @@ test("cssNamespace", function() { }); test("greedy", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("hoverClass", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("scope", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("tolerance, fit", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("tolerance, intersect", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("tolerance, pointer", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("tolerance, touch", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); module("droppable: Callbacks"); test("activate", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("deactivate", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("over", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("out", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); test("drop", function() { - ok(false, "missing test"); + ok(false, 'missing test - untested code is broken code'); }); module("droppable: Tickets");