2009-02-02 07:09:15 +00:00
|
|
|
/*
|
2009-02-02 13:23:51 +00:00
|
|
|
* droppable_options.js
|
2009-02-02 07:09:15 +00:00
|
|
|
*/
|
|
|
|
(function($) {
|
|
|
|
|
|
|
|
module("droppable: options");
|
|
|
|
|
2009-02-02 13:23:51 +00:00
|
|
|
test("{ accept '*' }, default ", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("{ accept: Selector }", function() {
|
2009-02-02 07:09:15 +00:00
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
2009-02-02 13:23:51 +00:00
|
|
|
test("{ accept: function(draggable) }", function() {
|
2009-02-02 07:09:15 +00:00
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("activeClass", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
2009-02-02 07:14:19 +00:00
|
|
|
test("{ addClasses: true }, default", function() {
|
|
|
|
el = $("<div></div>").droppable({ addClasses: true });
|
|
|
|
ok(el.is(".ui-droppable"), "'ui-droppable' class added");
|
2009-02-02 07:18:27 +00:00
|
|
|
el.droppable("destroy");
|
2009-02-02 07:14:19 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
test("{ addClasses: false }", function() {
|
|
|
|
el = $("<div></div>").droppable({ addClasses: false });
|
|
|
|
ok(!el.is(".ui-droppable"), "'ui-droppable' class not added");
|
2009-02-02 07:09:15 +00:00
|
|
|
el.droppable("destroy");
|
|
|
|
});
|
|
|
|
|
|
|
|
test("greedy", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("hoverClass", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("scope", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("tolerance, fit", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("tolerance, intersect", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("tolerance, pointer", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
test("tolerance, touch", function() {
|
|
|
|
ok(false, 'missing test - untested code is broken code');
|
|
|
|
});
|
|
|
|
|
|
|
|
})(jQuery);
|