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