dd-tests.js revision 9978b1aecffaa9ccea4d57d518566d040a33e7c1
6e221ae4f7dae2427891d51efd15b9ed89ae4cccMartin Owens 'drag:drag',
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico 'drag:drophit',
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico 'drag:start',
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico 'drag:enter',
2041edc9e0c8a75ae1ee22aec3d0fb66e1cc16a1Martin Owens 'drag:over',
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico 'drop:over',
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico 'drop:enter',
var _count = {},
_resetCount = function() {
var noop = function() {};
_resetCount();
if (flip) {
_data = {
_handleCount = function(e) {
template = {
setUp : function() {
tearDown : function() {
test_shim: function() {
test_drop_setup: function() {
test_drop_setup_events: function() {
test_drag_setup: function() {
test_shim_after: function() {
test_drag_drop_setup: function() {
test_drag_invalids: function() {
test_drag_groups: function() {
test_drop_groups: function() {
test_drop_overs: function() {
test_drag_handles: function() {
fired = false;
preventDefault: function() {
fired = true;
test_drag_drop_group_setup: function() {
Y.Assert.areSame(dd.get('groups').length, dd.target.get('groups').length, 'Groups failed to pass from Drag to Drop');
test_drag_drop_group_pass_setup: function() {
test_drag_add_handle: function() {
Y.Assert.isNotUndefined(dd._handles[wrap._yuid], 'dd: Handles ' + wrap._yuid + ' not there (Node Based Handle)');
test_drag_setup_events: function() {
test_drag_move: function() {
test_drag_destroy: function() {
test_proxy: function() {
_resetCount();
moveOnEnd: false
test_proxy_setup_events: function() {
test_proxy_move: function() {
_resetCount();
_resetCount();
test_proxy_destroy: function() {
Y.Assert.isFalse(proxy.get('node').hasClass('yui3-dd-draggable'), 'proxy: Drag Instance NO ClassName');
test_drop_destroy: function() {
test_constrain_region_setup: function() {
test_constrain_node_setup: function() {
test_constrain_node_move: function() {
test_constrain_view_setup: function() {
constrain2view: true
test_constrain_inregion: function() {
test_tick_calc: function() {
test_tick_array: function() {
test_constrain_view_move: function() {
test_window_scroll: function() {
var self = this,
wait = function() {
test_delegate: function() {
target: true
test_delegate_setup_events: function() {
test_delegate_move: function() {
_resetCount();
//Y.Assert.areSame(moveCount, _count['drag:drag'], 'drag:drag should fire ' + moveCount + ' times');
test_delegate_move2: function() {
_resetCount();
test_delegate_disabled: function() {
_resetCount();
var mDown = false;
mDown = true;
test_delegate_destroy: function() {
test_css_gutter: function() {
test_swap_node_position: function() {
test_swap_node: function() {