Commit Graph

325 Commits

Author SHA1 Message Date
Klaus Hartl
eb3e6499bf UI Tabs: fixed queued tests, review 2008-10-06 21:35:32 +00:00
Ca-Phun Ung
2f8d6547f2 Spinner: add group and point options for improved support for international numeric formats and added test case. 2008-10-06 17:20:57 +00:00
Klaus Hartl
f02dda5ade UI Tabs: fixed removal of inline styles set for a tab panel 2008-10-06 11:41:48 +00:00
Klaus Hartl
a47c2a87e8 added tabs to test overview 2008-10-06 11:37:51 +00:00
Keith Wood
bf66a8e140 'change' command is now 'option' command 2008-10-05 06:59:56 +00:00
Jörn Zaefferer
931aec74f0 Finishing move of autocomplete from trunk to 1.7 branch 2008-10-05 01:00:51 +00:00
Jörn Zaefferer
2bfbe85ba0 Moving autocomplete from trunk to 1.7 branch 2008-10-05 00:57:59 +00:00
Klaus Hartl
37f65f1947 UI Tabs: unselect class was attached inconsistently 2008-10-04 11:25:28 +00:00
Ca-Phun Ung
5958c417f6 Spinner: added thousand separator format to numbers and refactored code. 2008-10-02 18:06:30 +00:00
Klaus Hartl
c2b0afd3e7 UI Tabs: fixed "colon in id bug", wrote more unit tests and refactored stuff afterwards 2008-10-02 14:20:35 +00:00
Klaus Hartl
c0f4c0f8ef UI Tabs: started with writing tests 2008-09-28 11:47:07 +00:00
Scott González
f69b4fe35e Dialog: Added more tests. 2008-09-28 01:43:12 +00:00
Richard Worth
2b0cb8c231 Updated draggable defaults unit test 2008-09-27 16:10:43 +00:00
Ca-Phun Ung
c73e5e5fdc Spinner: Removed external jquery.mousewheel.js call from visual test. 2008-09-26 07:26:20 +00:00
Ca-Phun Ung
24afc68d5b Spinner: added a timer to mousewheel interaction which fires a change event when the mousewheel stops spinning.
Added a few missing options to test case.
2008-09-26 07:21:56 +00:00
Ca-Phun Ung
b5ce43ac6a Spinner: Add change event to dblclick and created a new visual test for all callbacks. timer is now set to 0 after being cleared. 2008-09-23 07:58:29 +00:00
David Bolter
5f9ffb28d3 Accept boolean values for aria state. (Thanks for catch Scott González) 2008-09-22 18:21:38 +00:00
David Bolter
fb3a5d4010 Added ariaRole and ariaState to ui.core with tests.
Added ARIA role and state to ui.dialog
Fixes #3350
(Inspired by jARIA plugin from Chris Hoffman)
2008-09-22 15:47:41 +00:00
Ca-Phun Ung
b6ad959811 Spinner: implemented init callback via trigger (thanks Scott González) 2008-09-22 11:22:14 +00:00
Ca-Phun Ung
dcb341e7f8 Spinner: new options: format, items & decimals (r728).
items: accepts a array of objects which will be converted to a list of items by the spinner.

format: printf style formatting of each item - accepts named arguments.
2008-09-20 19:04:01 +00:00
Richard Worth
77cea8f364 set svn:eol-style to native 2008-09-20 17:42:04 +00:00
Richard Worth
057d3c677e HTML5 doctype 2008-09-20 17:30:51 +00:00
Eduardo Lundgren
99f8a711de Progressbar - Added suport for animated equations (easeInOutQuint, ...) 2008-09-20 04:22:53 +00:00
Eduardo Lundgren
2f842cedd6 Progressbar duration option fixed 2008-09-20 04:09:27 +00:00
Scott González
14e0450dc7 Dialog: Added an id to the title span (needed for ARIA support). 2008-09-19 18:28:31 +00:00
Scott González
90d7b7f708 Dialog: Fixed #3087: Added beforeclose callback for dialogs (can prevent closing the dialog by returning false). 2008-09-19 02:07:54 +00:00
Paul Bakaus
cef66ee99f sortable: Fixed the floating functional demo, implemented forcePlaceholderSize 2008-09-16 12:40:48 +00:00
Paul Bakaus
7ba2beb903 - kickass draggable refactoring - fixes many bugs, many edge case issues
- added many new tests to draggable, especially related to scrolling and helper clone
2008-09-15 20:26:42 +00:00
Ca-Phun Ung
accc76bc64 Spinner: added an init callback which exposes the addItem method for dynamic population of spinner via an external objects. 2008-09-09 08:23:29 +00:00
Scott González
48cce41f39 Dialog: Added some more tests. 2008-09-07 22:14:15 +00:00
Keith Wood
41811fb8c3 Fixed 3183 onSelect and onClose have inconsistent signatures 2008-09-07 08:38:09 +00:00
Keith Wood
0db0ffe580 Fixed 3267 Alternate field not updated when using "setDate" 2008-09-07 07:55:02 +00:00
Scott González
0b771b43c6 Core: Improved :tabbable selector
- check tabindex >= 0 instead of != -1
  - check anchor tags for href
  - check for hidden input types
  - check styles (display and visibility; self and ancestors)
Added tests for :tabbable selector
2008-09-06 03:44:32 +00:00
Ca-Phun Ung
9248368f20 Spinner: For DOM based spinners, the height is now calculated based on number of children. 2008-08-30 20:01:23 +00:00
Ca-Phun Ung
66d90af241 spinner: changed data list to support any DOM container not just <ul> 2008-08-30 19:15:08 +00:00
Ca-Phun Ung
3ac690bcde spinner: fixed styling issues in IE 2008-08-26 07:50:40 +00:00
Ca-Phun Ung
ea0ce45c97 spinner: Included support for generic objects - currently only supports <ul>. See visual test (#s4) for example usage. Needs more work... 2008-08-26 07:28:14 +00:00
Eduardo Lundgren
5d261bf7b1 Remove invalid includes 2008-08-24 23:36:20 +00:00
Keith Wood
732c7fb7d5 Added tests for 3191 - handling NaN and other invalid values for relative dates 2008-08-21 09:33:39 +00:00
Chi Cheng
50fae3972c spinner test: currency 2008-08-19 18:35:25 +00:00
Chi Cheng
6d0e27d2de Spinner test: up, down callback 2008-08-19 17:58:57 +00:00
Chi Cheng
c0147da718 Spinner: ui() doesn't return instance 2008-08-19 16:31:42 +00:00
Chi Cheng
bf1d243ce7 Spinner: this.options._decimals -> this._decimals
decimal test
2008-08-19 15:52:35 +00:00
Chi Cheng
62ed7d0388 spinner test 2008-08-19 09:54:47 +00:00
Chi Cheng
1de76c6f77 Spinner test: a bug when set stepping:0.3 2008-08-19 08:56:48 +00:00
Chi Cheng
9da87e28e6 Spinner test: currency and decimal options
test all: .load to load html from single html
2008-08-19 08:51:59 +00:00
Ca-Phun Ung
9858045fcc updated testcase to reflect the new ui.spinner changes:
- removed div.* for case #9 because ui.spinner now uses <button>
- changed case #5 because LEFT and RIGHT keys no longer change the value of the input box. This is by design so that users could move the cursor within the input box
2008-08-19 07:33:30 +00:00
Ca-Phun Ung
198d809f9b Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html
Enhancements include:
- removal of all hardcoded styling for better theming capability
- visual test page made more appealing supporting browser zooming
- added utility functions to disable, enable and destroy ui.spinner
- up/down buttons listens to more mouse and keyboard events
- support for decimal and currency format
- ui.spinner now restricts input on keydown
- cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability
2008-08-19 07:18:04 +00:00
Chi Cheng
b4e2e0e9ca Progressbar test: init 2008-08-19 06:32:56 +00:00
Chi Cheng
951312cfcb Spinner test: spin without auto-incremental stepping 2008-08-19 06:24:24 +00:00
Chi Cheng
2ac541d500 Spinner test: callback 2008-08-19 06:07:56 +00:00
Chi Cheng
1f6a9c9eda Spinner test: spin with auto-incremental stepping 2008-08-19 05:54:49 +00:00
Chi Cheng
f50d9f0a95 home key to start if min not set. 2008-08-18 11:44:42 +00:00
Chi Cheng
da0ebd589e Spinner: test case 2008-08-18 11:38:12 +00:00
Chi Cheng
a48241c831 typo 2008-08-18 10:38:23 +00:00
Scott González
4705f5cc2e Dialog: Added tests for isOpen method. 2008-08-15 15:07:09 +00:00
Paul Bakaus
d90fe750a3 visual tests: added stripped down autocomplete demo 2008-08-11 09:35:12 +00:00
Eduardo Lundgren
a3977524f3 Progressbar updates 2008-08-09 23:51:46 +00:00
Eduardo Lundgren
c654cd6ac5 Progressbar updates - using .animate() 2008-08-09 23:06:18 +00:00
Keith Wood
edd4ab0ccd Added tests for stepMonths and stepBigMonths
Added tests for onChangeMonthYear callback from setDate
2008-08-08 10:36:52 +00:00
Eduardo Lundgren
1064e63967 Source formatting 2008-08-08 05:57:52 +00:00
Paul Bakaus
ac86d4c6db autocomplete: added init/destroy tests 2008-07-30 18:13:58 +00:00
Paul Bakaus
841751a0d5 1.8: initial version of tree component, dependant upon sortables and droppables
1.6: droppables can now operate in a seperate scope, droppables and sortables in the current dragged item are filtered out at start, preventing node hierarchy issues
2008-07-28 18:34:01 +00:00
Keith Wood
30be7d0953 Tests for inline disabled datepicker 2008-07-23 12:23:34 +00:00
Keith Wood
0f1592128f Added tests for inline datepicker 2008-07-18 08:28:31 +00:00
Jörn Zaefferer
30952e6b3f accordion: fixed incosistent accordionchange event arguments (http://dev.jquery.com/ticket/3111) 2008-07-13 14:42:27 +00:00
Scott González
ac6189fd57 Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title is provided (after initialization). 2008-07-12 00:14:19 +00:00
Keith Wood
3bc322fd37 Added tests for datepicker structure and callbacks
Enhanced tests for destroy, enable/disable, ranges, and status
Added tests for gotoCurrent, highlihgtWeek, yearRange, navigationAsDateFormat, rangeSeparator settings
Added tests for day-of-year in format and parse
2008-07-11 11:02:45 +00:00
Paul Bakaus
979e64bdd2 - moved all default css files into themes/default
- added Colorpicker, heavily modified for UI (thanks Stefan!)
2008-07-10 15:52:18 +00:00
Paul Bakaus
4e06fa6304 - removed 1.6 branch
- changed version in tags/1.5.2 to 1.5.2
- merged trunk with 1.6
2008-07-09 11:09:40 +00:00
Keith Wood
0b4831cedb Refactored datepicker to use $.data for instance settings
Added tests for setDate
2008-07-06 05:33:41 +00:00
Keith Wood
c32255fcfa New tests for invocation, mouse interactions, alternate field, status, localisation 2008-06-30 09:56:14 +00:00
Richard Worth
77fe442f08 restored test image from [236] - still referenced in a few test files. 2008-06-27 00:28:34 +00:00
Richard Worth
f7dc618ede tests visual draggable - moved handle test to its own file. default visual tests should have no options. 2008-06-26 11:35:28 +00:00
Richard Worth
8ccab9a11f tests dialog - added unit tests for #3017 - Dialog callback scopes 2008-06-26 11:08:49 +00:00
Paul Bakaus
8111e87bc6 visual css: corrected styles for slider 2008-06-26 11:07:51 +00:00
Richard Worth
e42b0f6b8b resizable, selectable, sortable: changed cancel default to ':input' instead of (redundant) ':input,button' 2008-06-26 10:23:38 +00:00
Richard Worth
0f0fb77a9e tests draggable #2965 - fixed to account for distance: 1 default 2008-06-26 10:20:48 +00:00
Richard Worth
3e5e8704c1 tests resizable - restructured to match others, added defaults test 2008-06-26 09:49:54 +00:00
Paul Bakaus
173eddaf46 sortable: added visual test page for profiling performance 2008-06-25 15:22:40 +00:00
Richard Worth
d0c11e932b fixed #3025 - dialog should have an autoResize option; default value: true 2008-06-25 10:01:24 +00:00
Paul Bakaus
17115b6b07 sortable: changed default distance to 1 2008-06-24 14:30:26 +00:00
Paul Bakaus
c73ccd5c71 sortable: changed default distance to 1 2008-06-24 14:29:29 +00:00
Paul Bakaus
e46d3df57c draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value 2008-06-24 13:25:15 +00:00
Paul Bakaus
f96e61789e sortable: added default checks for scroll options 2008-06-24 13:17:02 +00:00
Paul Bakaus
a002680ba9 sortable:fixed #3019, stop being fird too early 2008-06-24 11:47:42 +00:00
Richard Worth
b876be002d tests dialog - added missing tests (placeholders) 2008-06-22 05:37:11 +00:00
Jörn Zaefferer
2e3b8eac77 accordion: added test for headers with descendants; replaced while-loop to find header-parent with call to parents 2008-06-21 16:16:59 +00:00
Richard Worth
9196c2022c tests dialog - added some tests and placeholders 2008-06-21 13:54:41 +00:00
Richard Worth
2361bda9ba simulate - drag: added mousemove [+1, +1] after mousedown. Removed mouseover and mouseout as they're not minimal/required for drag. They were there as work-around for resizable. Moved work-around to resizable test. 2008-06-21 10:52:58 +00:00
Richard Worth
2e920f0fea tests selectable - removed unneeded refs to draggable and resizable 2008-06-21 10:24:04 +00:00
Richard Worth
bc778a6e27 tests draggable - corrected defaults tests tracking [304], and [305] 2008-06-21 10:17:56 +00:00
Richard Worth
f3000e3506 tests datepicker - added closure (for isolation in all.html) 2008-06-21 10:10:23 +00:00
Richard Worth
cad08b6315 tests all - added sortable 2008-06-21 10:09:23 +00:00
Richard Worth
284d427bb2 tests sortable - fixed failing disable tests 2008-06-21 10:05:29 +00:00
Richard Worth
63f11cd243 tests sortable - fixed failing enable test 2008-06-21 10:04:40 +00:00
Richard Worth
77c5305b2e tests sortable - corrected page title 2008-06-21 09:53:57 +00:00
Richard Worth
a862b258b8 visual tests: dialog - removed unused offset var 2008-06-20 12:11:01 +00:00
Keith Wood
3f38ebc88d Tests for relative dates with multiple periods
Tests for default date
2008-06-16 09:59:24 +00:00
Keith Wood
74b7cde939 Add tests for destroying datepicker, keystrokes, minimum/maximum date processing, ranges, and callbacks 2008-06-13 13:25:59 +00:00
Keith Wood
7b309defda Add named keystrokes 2008-06-13 13:22:57 +00:00
Paul Bakaus
abdda174f2 tests: initial version of sortable tests/
sortable: added default value for helper ("clone")
2008-06-13 12:42:44 +00:00
Richard Worth
21daf50102 removed (unused) flora class from body 2008-06-10 22:12:00 +00:00
Keith Wood
0ea1e7af11 Add datepicker tests 2008-06-10 12:46:28 +00:00
Richard Worth
175015866c whitespace 2008-06-10 00:34:41 +00:00
Richard Worth
cecc4838a2 Added effects visual test pages 2008-06-09 12:19:59 +00:00
Eduardo Lundgren
bfa77e4855 fix for slider visual test 2008-06-09 08:30:52 +00:00
Richard Worth
b2233945a6 Added droppable visual test 2008-06-09 08:06:54 +00:00
Richard Worth
4a0df13665 Added simple slider test 2008-06-09 07:40:29 +00:00
Eduardo Lundgren
90abe576ec Delete uneeded test files 2008-06-09 06:24:14 +00:00
Eduardo Lundgren
d185e8cc05 - Added functional demo application
- Removed datepicker folder from functional demo folder
2008-06-09 06:20:15 +00:00
Richard Worth
a6b0fc7a83 tests - all.html, removed links for missing .js files 2008-06-09 06:04:53 +00:00
Richard Worth
03528f2942 tests - wrapped in closures so all.html will work 2008-06-09 05:59:18 +00:00
Richard Worth
d2397d8d63 added simple visual tests 2008-06-09 05:42:13 +00:00
Richard Worth
665f17ce2c tests - added selectable unit tests 2008-06-09 05:40:24 +00:00
Richard Worth
0d74c8463b tests dialog - added some option and callback tests 2008-06-09 03:06:12 +00:00
Paul Bakaus
593cb1ffef core: cancel checks for type string before it's used
draggable-test: changed cancel: true test: this should cancel on all elements, but simply do nothing, since true is a unsupported value.
2008-06-08 11:00:47 +00:00
Richard Worth
67117bc563 tests dialog - draggable option 2008-06-08 03:37:43 +00:00
Richard Worth
f193346177 tests dialog - added more to the buttons test 2008-06-08 02:50:32 +00:00
Richard Worth
0132665f17 test dialog - first dialog unit tests 2008-06-08 02:29:44 +00:00
Richard Worth
030ca01d4d tests - single quotes to double quotes 2008-06-07 20:12:36 +00:00
Richard Worth
94236b3834 tests - some html cleanup 2008-06-07 19:26:35 +00:00
Richard Worth
5e3e19d75c moved (still experimental) test automation files to experimental branch 2008-06-07 18:15:44 +00:00
Richard Worth
505a7e19e2 updated some paths 2008-06-07 18:03:19 +00:00
Richard Worth
3524ef0c26 removed extra level ui folder 2008-06-07 17:35:27 +00:00