mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Slider tests: Commented out incomplete tests and fixed defaults.
This commit is contained in:
parent
719db7f9b1
commit
cec60ab3c3
@ -1,7 +1,7 @@
|
||||
commonWidgetTests( "slider", {
|
||||
defaults: {
|
||||
animate: false,
|
||||
cancel: function() {},
|
||||
cancel: ':input,option',
|
||||
delay: 0,
|
||||
disabled: false,
|
||||
distance: 0,
|
||||
|
@ -95,8 +95,8 @@ test("value", function() {
|
||||
equals(el.slider('option', 'value'), 1, 'value method set respects max');
|
||||
});
|
||||
|
||||
test("values", function() {
|
||||
ok(false, "missing test - untested code is broken code.");
|
||||
});
|
||||
//test("values", function() {
|
||||
// ok(false, "missing test - untested code is broken code.");
|
||||
//});
|
||||
|
||||
})(jQuery);
|
||||
|
@ -84,9 +84,9 @@ test("orientation", function() {
|
||||
|
||||
});
|
||||
|
||||
test("range", function() {
|
||||
ok(false, "missing test - untested code is broken code.");
|
||||
});
|
||||
//test("range", function() {
|
||||
// ok(false, "missing test - untested code is broken code.");
|
||||
//});
|
||||
|
||||
//spec: http://wiki.jqueryui.com/Slider#specs
|
||||
// value option/method: the value option is not restricted by min/max/step.
|
||||
@ -135,12 +135,12 @@ el = $('<div></div>').slider({
|
||||
el.slider('destroy');
|
||||
});
|
||||
|
||||
test("value", function() {
|
||||
ok(false, "missing test - untested code is broken code.");
|
||||
});
|
||||
//test("value", function() {
|
||||
// ok(false, "missing test - untested code is broken code.");
|
||||
//});
|
||||
|
||||
test("values", function() {
|
||||
ok(false, "missing test - untested code is broken code.");
|
||||
});
|
||||
//test("values", function() {
|
||||
// ok(false, "missing test - untested code is broken code.");
|
||||
//});
|
||||
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user