}, 50 );
});
-
-
asyncTest( "handle race condition", function() {
expect( 3 );
var count = 0,
* button_core.js
*/
-
(function($) {
module("button: core");
*/
(function($) {
-
module("button: methods");
test("destroy", function() {
beforeShowDayThis = null,
beforeShowDayOK = true;
-
function beforeAll(input, inst) {
beforeShowThis = this;
beforeShowInput = input;
},
onFocus: TestHelpers.onFocus,
PROP_NAME: "datepicker"
-};
\ No newline at end of file
+};
element.remove();
});
-
test( "focus", function() {
expect( 5 );
var element, other;
ok( !droppable2.hasClass( "active" ), "subsequent droppable no longer active" );
});
-
-
// todo: comment the following in when ready to actually test
/*
test("activate", function() {
// todo: actually implement this
ok(true, "missing test - untested code is broken code");
}
-};
\ No newline at end of file
+};
setTimeout( menumouseleave1, 350 );
});
-
asyncTest( "handle keyboard navigation on menu without scroll and without submenus", function() {
expect( 12 );
var element = $( "#menu1" ).menu({
equal( other.width(), 130, "alsoResize width" );
});
-
test("aspectRatio: 'preserve' (e)", function() {
expect(4);
dy: dy
});
}
-};
\ No newline at end of file
+};
/*
* selectable_core.js
- */
\ No newline at end of file
+ */
sel = $("*", el),
selected = function() { actual += 1; };
-
el = $("#selectable1").selectable({ filter: ".special", selected: selected });
el.simulate( "drag", {
dx: 1000,
});
});
-
test( "_renderButtonItem()", function() {
expect( 2 );
$( "#selectmenu-wrap2" )[ 0 ], "empty jQuery object, inside .ui-front" );
});
-
test( "CSS styles", function() {
expect( 2 );
"menu styles dropdown" );
});
-
test( "width", function() {
expect( 5 );
// todo: see if these events should actually have sane values in them
ok("position" in hash, "UI hash includes: position");
ok("offset" in hash, "UI hash includes: offset");
-
-
});
test("sort", function() {
});
equal( $( handle ).parent().children().index( handle ), index, msg );
}
-};
\ No newline at end of file
+};
.simulate( "keyup", { keyCode: keyCode, shiftKey: shift || false } );
}
};
-
element.tabs( "option", "active", 1 );
});
-
}( jQuery ) );
deepEqual( actual, expected );
}
};
-
reset.apply( this, arguments );
};
-
QUnit.config.requireExpects = true;
/*