Sha256: 58e3508b5e96457ab43851d7597d3c93fae9886608044fc25d513e38c15eef5a

Contents?: true

Size: 1.65 KB

Versions: 8

Compression:

Stored size: 1.65 KB

Contents

/*
 * droppable_options.js
 */
(function($) {

module("droppable: options");

test("{ accept '*' }, default ", function() {
	equals(droppable_defaults.accept, '*');

	ok(false, 'missing test - untested code is broken code');
});

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

test("{ accept: function(draggable) }", function() {
	ok(false, 'missing test - untested code is broken code');
});

test("activeClass", function() {
	ok(false, 'missing test - untested code is broken code');
});

test("{ addClasses: true }, default", function() {
	equals(droppable_defaults.addClasses, true);

	el = $("<div></div>").droppable({ addClasses: true });
	ok(el.is(".ui-droppable"), "'ui-droppable' class added");
	el.droppable("destroy");
});

test("{ addClasses: false }", function() {
	el = $("<div></div>").droppable({ addClasses: false });
	ok(!el.is(".ui-droppable"), "'ui-droppable' class not added");
	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);

Version data entries

8 entries across 7 versions & 1 rubygems

Version Path
survivalkit-0.3.4 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.3.3 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.3.3 templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.3.2 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.3.1 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.3 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.2.1 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js
survivalkit-0.1 templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js