Commit Graph

30 Commits

Author SHA1 Message Date
Scott González
f7b32d9a8f Menu tests: Removed test for key handling when the element doens't have focus (illogical test). 2012-07-17 14:08:16 -04:00
Scott González
9b6c1c5cdb Menu tests: Cleanup. 2012-06-27 09:49:56 -04:00
Scott González
156f07b48a Menu tests: Saner output for log helper. 2012-06-18 13:38:16 -04:00
Scott González
f92f8bb56b Menu tests: Cleanup. 2012-06-18 13:26:46 -04:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
kborchers
474912313a Menu Tests: Increase timeout on page up/down test 2012-05-23 07:24:49 -05:00
kborchers
c275ebe09b Menu Tests: Remove unused unit tests and add new unit tests to improve coverage. 2012-05-22 23:52:59 -05:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
kborchers
33df9b788d Menu tests: Update tests to test mouseenter instead of mouseover 2012-04-19 23:50:52 -05:00
kborchers
c16bd7c510 Menu tests: Don't pollute the global namespace with helpers. 2012-04-19 11:19:52 -05:00
kborchers
58a120bb4b Merge branch 'menuaria' into master 2012-04-19 09:24:08 -05:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -04:00
kborchers
890a45a22c Menu: Add unit tests for testing disabled items 2012-04-18 21:29:39 -05:00
Jörn Zaefferer
72023dd045 Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal. 2012-02-29 18:36:40 +01:00
kborchers
e2ca906141 Menu: Clean up tests to remove nested setTimeout calls 2012-02-17 16:06:14 -06:00
Scott González
2fd2ab23c9 Menu tests: Handle async focus events in IE. 2012-02-09 16:19:50 -05:00
kborchers
3ef4db2670 Menu: Focus the menu before performing keyboard unit tests. 2012-02-06 15:01:40 -06:00
kborchers
4f15e66f53 Menu: Added unit tests for the enable, disable and refresh methods as well as the disabled option. Cleaned up some variable names in unit tests. 2012-01-22 11:26:41 -06:00
kborchers
c88add2269 Menu: Fix close delay and increase the default delay 2011-12-20 11:49:48 -06:00
kborchers
a8d0e4c804 Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown 2011-12-15 12:43:28 -06:00
Corey Frang
34a0479d1c Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers 2011-09-22 15:30:46 -05:00
kborchers
9e617bbad1 Menu: Add support for structures other than UL/LI plus visual and unit tests 2011-09-14 10:29:36 -05:00
Jörn Zaefferer
ae0c4e44ff Merge remote branch 'kborchers/menu_autoCollapse' 2011-09-12 23:54:19 +02:00
kborchers
94317d7aa4 Menu: Added autoCollapse as the default and added a unit test 2011-09-12 08:43:49 -05:00
Scott González
6fb68568be Tests: Cleanup. 2011-08-03 21:43:52 -04:00
Scott González
cff6b56fd4 Menu tests: Cleanup. 2011-08-03 21:15:38 -04:00
Scott González
3c65bc3923 Menu tests: Removed console.log() call. 2011-07-26 14:38:18 -04:00
kborchers
23340f1162 Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav 2011-07-25 09:13:13 -05:00
kborchers
8224c675e1 Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit 2011-07-19 16:15:59 -05:00
dominiquevincent
c821aa680c Menu:the first set of unit test files.
Signed-off-by: dominiquevincent <dominique.vincent@toitl.com>
2010-05-06 17:10:52 +02:00