Commit Graph

114 Commits

Author SHA1 Message Date
TJ VanToll
c29b4434b6 Tests: Use closeEnough() to account for rounding differences
Selectmenu's test suite broke with b0e8380, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.

Closes gh-1275
2014-06-25 12:16:29 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Scott González
23ea063b3c Selectmenu: Work around test bug in IE 2014-04-24 08:38:09 -04:00
Scott González
69a3d94a06 Selectmenu: Test cleanup 2014-04-22 18:24:04 -04:00
Scott González
bdb0f7a4cb Selectmenu: Test cleanup 2014-04-22 12:57:05 -04:00
Scott González
56f6f92314 Selectmenu: Test cleanup 2014-04-22 12:19:12 -04:00
Scott González
d8062dc4cf Selectmenu: Test cleanup 2014-04-21 20:15:36 -04:00
Scott González
fd7e1e3040 Selectmenu: Default disabled option to null 2014-04-21 10:32:49 -04:00
Scott González
8b2606a650 Selectmenu: Fix reference to jQuery in tests 2014-04-21 10:11:55 -04:00
Scott González
712ac17fc7 Selectmenu: Remove unused var 2014-04-18 12:46:41 -04:00
Scott González
1272fca9ef Selectmenu: Don't use active items at all
Menus only use active items for nested menus which selectmenu doesn't support.
Selectmenu should only be working with focused items.

Ref gh-1224
2014-04-18 12:37:06 -04:00
Jörn Zaefferer
0c754f9d9e Selectmenu: Refactor appendTo option tests 2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18 Selectmenu: Fall back to .ui-front searching for empty jQuery objects
Fixes #9757
2014-02-21 13:35:34 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Felix Nagel
0cc8554077 Selectmenu Tests: add unit tests for empty options 2013-12-18 19:05:17 +01:00
Felix Nagel
1656cd2f34 Selectmenu Tests: add unit and visual tests for width option 2013-12-07 19:10:50 +01:00
Felix Nagel
027d8d4cab Selectmenu: close menu on other element mousedown not on click 2013-10-29 20:54:16 +01:00
Felix Nagel
480e89b1aa Selectmenu Tests: remove widthMenu option and rename widthButton option to width 2013-10-24 00:17:22 +02:00
Felix Nagel
7af3dab075 Selectmenu: Remove links in menu items 2013-10-10 01:01:41 +02:00
Felix Nagel
f8377ed5af Selectmenu Tests: add width options to common test 2013-09-29 15:41:47 +02:00
Felix Nagel
4ddd14fe43 Selectmenu Tests: check CSS class on menu items 2013-09-04 21:34:20 +02:00
Felix Nagel
d668c94e3e Selectmenu Tests: check if button text is updated when selected option is added 2013-08-31 03:10:52 +02:00
Felix Nagel
24c293215c Selectmenu tests: lint fix 2013-08-13 19:49:17 +02:00
Felix Nagel
a156c2cadc Selectmenu tests: check item focus 2013-08-03 01:16:42 +02:00
Felix Nagel
b9fa8f7a8c Selectmenu Tests: fix lint issues 2013-07-01 23:08:55 +02:00
Felix Nagel
3483b9460b Selectmenu Tests: add item looping tests 2013-07-01 22:59:43 +02:00
Felix Nagel
2c9f5a8c01 Selectmenu Tests: use trigger instead of simulate for click events in order to make tests work in IE/ and IE8 2013-07-01 22:04:30 +02:00
Felix Nagel
ab48ae7e30 Selectmenu tests: fix lint issues 2013-06-04 21:16:13 +02:00
Felix Nagel
1821517d81 Selectmenu Tests: use asyncTest when working with focus events 2013-05-30 22:30:56 +02:00
Felix Nagel
e7d200f308 Selectmenu tests: test if close event is fired when selectmenu is closed by click on body 2013-05-30 21:21:44 +02:00
Felix Nagel
84ee9d8645 Selectmenu tests: improve all other focus callback event tests 2013-05-30 21:11:08 +02:00
Felix Nagel
29f726c553 Selectmenu tests: improve focus callback event test, add keydown focus test, add multiple focus events test 2013-05-30 21:02:38 +02:00
Felix Nagel
97cca1ed78 Selectmenu Tests: improve events tests, check for original option element not only for node type 2013-05-12 21:02:03 +02:00
Felix Nagel
1c878ce844 Selectmenu Tests: simplify asyncTest 2013-05-07 22:17:41 +02:00
Felix Nagel
ef8c792db8 Selectmenu Tests: fixed spacing 2013-05-07 22:17:22 +02:00
Felix Nagel
adcfa63ac4 Selectmenu Tests: use asyncTest when working with focus events 2013-05-01 00:33:37 +02:00
Felix Nagel
4c930fd59b Selectmenu Tests: add spaces to [0] 2013-04-29 23:15:56 +02:00
Felix Nagel
d66528b3db Selectmenu Test: rename widget method test 2013-04-29 21:08:20 +02:00
Felix Nagel
0d7b25d946 Selectmenu Tests: clean up spacing and intention 2013-04-29 21:07:59 +02:00
Felix Nagel
1cca8292e8 Selectmenu Tests: add toLowerCase() to node type checks 2013-04-29 20:59:35 +02:00
Felix Nagel
f2bd23603d Selectmenu Tests: remove unneeded test 2013-04-29 20:51:01 +02:00
Felix Nagel
1fa8c20009 Selectmenu Tests: use simulate instead of trigger 2013-04-29 20:49:06 +02:00
Felix Nagel
8b6c81e8a6 Selectmenu Tests: remove unneeded test 2013-04-29 20:48:48 +02:00
Felix Nagel
c73f7e81ad Selectmenu Tests: cleanup unit tests 2013-04-29 20:47:02 +02:00
Felix Nagel
4d986a46b5 Selectmenu Tests: rename wrapper divs 2013-04-29 20:34:16 +02:00
Felix Nagel
026f5171c7 Selectmenu Tests: updated jQuery and old testsuite version 2013-04-29 20:31:02 +02:00
Felix Nagel
2f7bd63dcf Selectmenu tests: remove aria-selected tests 2013-03-09 13:30:35 +01:00
Felix Nagel
a7ea386498 Selectmenu tests: improve widget method tests 2013-03-08 00:03:21 +01:00
Felix Nagel
6acc6bdd7f Selectmenu tests: adjust tests due to removed button wrapper element 2013-03-07 23:53:43 +01:00