Skip to content
Permalink
Browse files

sortable unit tests: stubbed out missing tests

  • Loading branch information
rdworth committed Feb 3, 2009
1 parent 4b3b9d8 commit e1292ce71d4e23359da8840e4d664456c9040d93
Showing with 224 additions and 0 deletions.
  1. +224 −0 tests/unit/sortable/sortable_options.js
@@ -5,6 +5,14 @@

module("sortable: options");

test("{ accurateIntersection: true }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ accurateIntersection: false }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ appendTo: 'parent' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});
@@ -37,4 +45,220 @@ test("{ cancel: Selector }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ connectWith: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ connectWith: Selector }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: Element }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: 'document' }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: 'parent' }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: 'window' }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ containment: Selector }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ cursor: 'auto' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ cursor: 'move' }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ cursorAt: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ cursorAt: true }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ delay: 0 }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ delay: 100 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ distance: 1 }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ distance: 10 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ dropOnEmpty: true }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ dropOnEmpty: false }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ forcePlaceholderSize: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ forcePlaceholderSize: true }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ forceHelperSize: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ forceHelperSize: true }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ grid: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ grid: [17, 3] }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ grid: [3, 7] }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ handle: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ handle: Element }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ handle: Selector }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ helper: 'original' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ helper: Function }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ items: '> *' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ items: Selector }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ opacity: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ opacity: .37 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ opacity: 1 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ placeholder: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ placeholder: String }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ revert: false }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ revert: true }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scroll: true }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scroll: false }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSensitivity: 20 }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSensitivity: 2 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSensitivity: 200 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSpeed: 20 }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSpeed: 2 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scrollSpeed: 200 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scope: 'default' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ scope: ??? }, unexpected", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ tolerance: 'intersect' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ tolerance: 'pointer' }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ zIndex: 1000 }, default", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ zIndex: 1 }", function() {
ok(false, "missing test - untested code is broken code.");
});

test("{ zIndex: false }", function() {
ok(false, "missing test - untested code is broken code.");
});

})(jQuery);

0 comments on commit e1292ce

Please sign in to comment.
You can’t perform that action at this time.