draglistgroup_test.js
No description.

File Location

/goog/fx/draglistgroup_test.js


Public Protected Private

Global Functions

assertIdle(dlg)
Asserts that the DragListGroup is in idle state.
Arguments:
dlg : !goog.fx.DragListGroup
The DragListGroup to examine.
code »
setUp()
No description.
code »
tearDown()
No description.
code »
testAddCurrentDragItemClasses()
Test the effect of dragging an item. (DRAGSTART event.) Check that after the MOUSEDOWN browser event is handled by the handlePotentialDragStart_() method the currDragItem has the CSS classes set by the setter method.
code »
testAddDragItemHandleHoverClasses()
No description.
code »
testAddDragItemHoverClasses()
Test the effect of hovering over a list. Check that after the MOUSEOVER browser event these classes are added to the current target of the event.
code »
testAddItemToDragList()
Tests that a new item can be added to a drag list after the control has been initialized.
code »
testFiredEvents()
No description.
code »
testFiredEventsWithHysteresis()
No description.
code »
testInsertItemInDragList()
Tests that a new item added to a drag list after the control has been initialized is inserted at the correct position.
code »
testPreventDefaultBeforeDragStart()
No description.
code »
testPreventDefaultBeforeDragStartWithHysteresis()
No description.
code »
testRemoveCurrentDragItemClasses()
Test the effect of dragging an item. (DRAGEND event.) Check that after the MOUSEUP browser event handled by the handleDragEnd_() method the currDragItem has no CSS classes set in the dispatched event.
code »
testRemoveDragItemHandleHoverClasses()
No description.
code »
testRemoveDragItemHoverClasses()
Test the effect of stopping hovering over a list. Check that after the MOUSEOUT browser event all CSS classes are removed from the target (as we are no longer hovering over the it).
code »
testRightClick()
No description.
code »
testSettersAfterInit()
Test the initial assumptions. Verify that the setter methods work properly, i.e., the CSS classes are stored in the private arrays after init() but are not added yet to target. (Since initially, we are not yet hovering over any list, in particular, over this target.)
code »

Global Variables

No description.
Code »
No description.
Code »
initialListenerCount :
The number of event listeners registered by the DragListGroup after the init() call.
Code »
list :
No description.
Code »

Directory fx

File Reference