imported the whole jquery-ui package, refreshed with 1.10.2
[myslice.git] / third-party / jquery-ui-1.10.2 / tests / unit / droppable / droppable_options.js
1 /*
2  * droppable_options.js
3  */
4 (function($) {
5
6 module("droppable: options");
7
8 /*
9 test("{ accept '*' }, default ", function() {
10         ok(false, 'missing test - untested code is broken code');
11 });
12
13 test("{ accept: Selector }", function() {
14         ok(false, 'missing test - untested code is broken code');
15 });
16
17 test("{ accept: function(draggable) }", function() {
18         ok(false, 'missing test - untested code is broken code');
19 });
20
21 test("activeClass", function() {
22         ok(false, 'missing test - untested code is broken code');
23 });
24 */
25 test("{ addClasses: true }, default", function() {
26         expect( 1 );
27         var el = $("<div></div>").droppable({ addClasses: true });
28         ok(el.is(".ui-droppable"), "'ui-droppable' class added");
29         el.droppable("destroy");
30 });
31
32 test("{ addClasses: false }", function() {
33         expect( 1 );
34         var el = $("<div></div>").droppable({ addClasses: false });
35         ok(!el.is(".ui-droppable"), "'ui-droppable' class not added");
36         el.droppable("destroy");
37 });
38 /*
39 test("greedy", function() {
40         ok(false, 'missing test - untested code is broken code');
41 });
42
43 test("hoverClass", function() {
44         ok(false, 'missing test - untested code is broken code');
45 });
46
47 test("scope", function() {
48         ok(false, 'missing test - untested code is broken code');
49 });
50
51 test("tolerance, fit", function() {
52         ok(false, 'missing test - untested code is broken code');
53 });
54
55 test("tolerance, intersect", function() {
56         ok(false, 'missing test - untested code is broken code');
57 });
58
59 test("tolerance, pointer", function() {
60         ok(false, 'missing test - untested code is broken code');
61 });
62
63 test("tolerance, touch", function() {
64         ok(false, 'missing test - untested code is broken code');
65 });
66 */
67 })(jQuery);