Commit Graph

691 Commits

Author SHA1 Message Date
Jörn Zaefferer
c958e0c714 draggable: tests cleanup, put all elements into #main 2009-09-15 08:37:22 +00:00
Jörn Zaefferer
09fd7fc1fa core tests: a few comments about failing tests, a few fixes for existing tests, mostly messages; primary remaining issue is that both $("area").is(":visible") and $("area").is(":hidden") return true, which is most likely a bug in jQuery core 2009-09-15 08:35:46 +00:00
Jörn Zaefferer
b9b604936e accordion: remove deprecated alwaysOpen option (collapsible was introduced in last stable release); fixed collapsible-false accordion in combination with activate method (with fasly-argument to close all); changed activate-option default to 0 (which was the "computed" default anyway); lots of fixes for the testsuite, while removing some of the "missing" tests: header accepts only a selector (updated spec to make that more clear), while testing animations in unit tests is rather pointless 2009-09-15 08:33:28 +00:00
Jörn Zaefferer
a282bba6cd common widget tests: improve handling of functions (even same() can't compare two functions by their "content") 2009-09-15 08:26:59 +00:00
Jörn Zaefferer
526f6c565c slider tests: fixing variable scopes 2009-09-15 08:25:00 +00:00
Jörn Zaefferer
219c81a208 dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF) 2009-09-14 14:54:15 +00:00
Jörn Zaefferer
fde0b18eea progressbar: implemented missing tests 2009-09-11 18:47:34 +00:00
Jörn Zaefferer
40f75ee65c removed code that created testsuite markup; QUnit handles that 2009-09-11 18:31:15 +00:00
Jörn Zaefferer
4908a27b14 change script ordering to load testswarm agent after QUnit 2009-09-11 18:30:23 +00:00
Jörn Zaefferer
4dd740a5ac inject testswarm agent when the test is run by testswarm 2009-09-11 18:22:52 +00:00
Jörn Zaefferer
9c41eccb52 moving test.html file to child dir for testswarm compability 2009-09-01 08:26:53 +00:00
Jörn Zaefferer
6334a67b6a moving all*.html to tests/unit for testswarm compability 2009-09-01 08:25:29 +00:00
Jörn Zaefferer
9d075e1077 rename modules for testswarm compability 2009-09-01 08:16:10 +00:00
Jörn Zaefferer
7f54a1bad9 update to lastest QUnit 2009-08-30 10:46:20 +00:00
Scott González
bba67df747 Widget factory: Added support for deep extending multiple option hashes on init. 2009-08-28 00:39:43 +00:00
Scott González
6c6218fa12 Widget factory: Support passing multiple option hashes on init. Fixes #4784. 2009-08-26 02:06:19 +00:00
Richard Worth
1a6e100031 dialog unit tests: added position and stackfix 2009-08-12 08:20:57 +00:00
Jörn Zaefferer
417d5b29b4 accordion: Fix for #4695 2009-08-11 18:58:03 +00:00
Richard Worth
5c5e0832d4 Accordion: added a couple failing tests for option active: init and collapsed 2009-08-11 00:57:50 +00:00
Richard Worth
7b506cf2ae Fixed accordion option active getter and setter. Normalized getter to number, 0-based index. 2009-08-11 00:45:01 +00:00
Richard Worth
57e3595115 Removed jquery.simulate from external/ as it's being removed from jqueryjs.googlecode.com/svn/trunk/plugins 2009-08-10 09:38:14 +00:00
Jörn Zaefferer
425e76355a accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug) 2009-08-06 18:44:36 +00:00
Scott González
5e89481ab8 Added zIndex method. Fixes #4709 - Add zIndex setter/getter method. 2009-08-05 13:30:55 +00:00
Scott González
ec4d469a36 Draggable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:13:13 +00:00
Scott González
d3bd7ae09f Dialog tests: Switch bgiframe to stackfix. 2009-07-27 23:53:58 +00:00
Scott González
eff793d014 Copied position plugin from /branches/dev/positionTo r2971. 2009-07-24 18:24:13 +00:00
Keith Wood
ef4000d9df Datepicker: Fixed #3891 Autosize input field 2009-07-22 08:37:28 +00:00
Keith Wood
61e15b1f76 Datepicker: Fixed #4647 setDate cannot be called multiple times 2009-07-22 08:28:01 +00:00
Scott González
a716261ab6 Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose. 2009-07-11 00:36:36 +00:00
Scott González
1a03453654 Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase. 2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7 Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered. 2009-07-10 20:00:06 +00:00
Scott González
292d9df1ce Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash. 2009-07-09 03:22:57 +00:00
Scott González
44ec979713 Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650: ui hash not always provided in events/callbacks. 2009-07-04 03:39:19 +00:00
Jörn Zaefferer
b6bdbb4211 accordion fix for #4653: added tests, adopted no-auto-height demo to also cover navigation option; fixed an unrelated bug, where ui-accordion-content-active was never removed 2009-07-03 21:05:22 +00:00
Keith Wood
3b5c91fdc6 Datepicker. Fixed #3657 showOtherMonths should allow the selection of days from other months 2009-06-21 07:28:51 +00:00
Scott González
82df8dbf53 Tabs: Added defaults for callback options. Fixed 4619 (Tabs doesn't define default for select option). 2009-06-20 13:17:05 +00:00
Scott González
3057d49b68 Tests: Fixed includes of cookie and simulate plugins. 2009-06-20 13:08:16 +00:00
Scott González
940259ac35 Tests: Fixed import of testsuite.css. 2009-06-20 13:03:59 +00:00
Keith Wood
f07a17bbf0 Datepicker: default, min, and max dates can be specified as date strings in the current format 2009-06-16 08:44:56 +00:00
Jörn Zaefferer
32c342a282 replaced svn:externals with versioned files within trunk/externals 2009-05-27 17:50:56 +00:00
Jörn Zaefferer
892824558c Fix for #4222 2009-05-11 11:43:48 +00:00
Scott González
cedf663e2f Core: Added asynchronous focus. Fixed #3559 - :focusable, :tabbable, setFocus(). 2009-04-18 13:04:07 +00:00
Richard Worth
8fac95cea3 whitespace 2009-04-17 21:28:37 +00:00
Keith Wood
8f503d8d31 Datepicker: Fixed #3861 Manually entered date does not update altField 2009-04-16 10:42:04 +00:00
Scott González
62f11b4a2e Progressbar: Modified value method to act as both a getter and setter. Fixed #4427 - progressbar('value') returns a reference to this instead of the value. 2009-04-16 01:57:56 +00:00
Scott González
1195854aaa Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters. 2009-04-15 02:33:28 +00:00
Keith Wood
4ae29ba06b Datepicker: Apply min/max settings on setDate 2009-04-10 08:22:47 +00:00
Keith Wood
fc75c3e3ad Datepicker: added Windows ticks format 2009-04-01 10:56:58 +00:00
Keith Wood
a6c705420b Datepicker: Corrected unit tests for structural changes and end of month 2009-04-01 10:15:29 +00:00
Keith Wood
4d5f8d4ae0 Datepicker: fixed #4301 - option dateFormat getter does not return same value as setter 2009-04-01 10:11:35 +00:00
Scott González
2b8109e119 Fixed dialog tests to use same instead of equals for hashes. 2009-03-28 00:37:16 +00:00
Klaus Hartl
240a588bce Tabs: few fixes required in destroy method, removed ol as tabifyable element 2009-03-01 14:32:29 +00:00
Klaus Hartl
53aad38b66 Tabs: refactored so that it's using queue, fixes #4060 2009-02-25 22:09:45 +00:00
Scott González
47cdc542e8 Sortable: Removed accurateIntersection option (Fixes #4225). 2009-02-25 04:15:48 +00:00
Richard Worth
352b081a39 Switched to jQuery 1.3.2 2009-02-20 11:40:25 +00:00
Klaus Hartl
1ca5ae160c Tabs: normalization of href attribute required in IE, fixes #4134 2009-02-19 20:19:13 +00:00
Klaus Hartl
07809340c8 Tabs: solved spinner issues and ajax loading not being stopped when selecting a static page tab, fixes #4109, #3929 2009-02-18 21:44:34 +00:00
Scott González
f39561cc7f Slider: Removed support for auto orientation, set default to horizontal. Fixed #4174. 2009-02-18 03:00:03 +00:00
Klaus Hartl
f3feb25712 Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard 2009-02-13 23:05:16 +00:00
Scott González
95c5d5e3fd Datepicker: Added test for #4055 - onclick events contain references to "jQuery". 2009-02-13 04:12:28 +00:00
Scott González
9f93e8db3a Sortable: Removed sortIndicator option. Fixed #4118 - option sortIndicator is undocumented. 2009-02-13 03:47:53 +00:00
Scott González
a5d5c4f60a Resizable:
- Fixed destroy method.
  - Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false).
2009-02-13 03:36:56 +00:00
Scott González
a6f1cd1db7 Resizable tests: Removed preserveCursor and proportionallyResize options. 2009-02-09 14:04:39 +00:00
Scott González
8eb2922452 Resizable tests: Removed transparent option. 2009-02-09 14:03:12 +00:00
Richard Worth
176b2d21cd dialog: added some missing defaults 2009-02-09 11:15:23 +00:00
Scott González
615127e8c5 Resizable: Fixed #4093: Removed disableSelection option. 2009-02-09 01:36:51 +00:00
Richard Worth
a5af2cf430 resizable unit tests: defaults alpha order 2009-02-07 21:22:47 +00:00
Richard Worth
191ec35cf1 resizable unit tests: zIndex default: 1000 2009-02-07 12:37:23 +00:00
Richard Worth
49939ec4f5 unit tests: Added all defaults test page 2009-02-07 12:34:53 +00:00
Paul Bakaus
4701c0bb98 sortable: implemented tests for start,stop,beforeStop,change and update 2009-02-06 07:39:52 +00:00
Richard Worth
c7361062d0 sortable unit tests - fixed el.css not a function 2009-02-06 02:41:46 +00:00
Klaus Hartl
fbc6ff5f81 Tabs: fixed bug related to setting selected via data method, cleaned up mess in tests 2009-02-05 19:36:31 +00:00
Klaus Hartl
8aee174cdb Tabs: Added tests for select method while at the same time implemented consistent handling of possible values to pass, addresses #4051 2009-02-05 19:02:47 +00:00
Scott González
dd3636c97a Dialog: Removed shadow option due to introducing too many bugs. (Reopens #3681). 2009-02-05 14:30:59 +00:00
Richard Worth
65172cdeb2 accordion defaults in alpha order 2009-02-05 04:34:38 +00:00
Klaus Hartl
fac375df3b just reviewed 2009-02-04 09:35:52 +00:00
Richard Worth
d3045754f0 unit tests: added index page 2009-02-04 05:11:45 +00:00
Richard Worth
f7bc2e9006 all unit tests: fixed paths to point to new separate files 2009-02-04 05:06:37 +00:00
Richard Worth
53f57ffdb5 selectable unit tests: split tests into individual files 2009-02-04 04:53:09 +00:00
Richard Worth
96b1534483 resizable unit tests: split tests into individual files 2009-02-04 04:47:39 +00:00
Richard Worth
04b3040311 progressbar unit tests: split tests into individual files 2009-02-04 04:39:31 +00:00
Richard Worth
52005f42dd dialog unit tests: split tests into individual files 2009-02-04 04:35:18 +00:00
Richard Worth
b18da5cd64 datepicker unit tests: split tests into individual files 2009-02-04 04:27:14 +00:00
Richard Worth
037f5d5ce1 tabs unit tests: split tests into individual files, added some missing tests 2009-02-03 13:37:54 +00:00
Richard Worth
7c17ab9b1e accordion unit tests: split tests into individual files 2009-02-03 08:23:48 +00:00
Richard Worth
1c2f51f571 sortable unit tests: stubbed out missing tests 2009-02-03 02:53:34 +00:00
Richard Worth
e1292ce71d sortable unit tests: stubbed out missing tests 2009-02-03 02:49:49 +00:00
Richard Worth
87796aff53 Fixed #4038 (sortable: cssNamespace option should be removed) 2009-02-03 02:18:12 +00:00
Richard Worth
d5f41446dd sortable defaults 2009-02-03 01:20:55 +00:00
Richard Worth
66976a9326 sortable unit tests: split tests into individual files 2009-02-03 00:33:00 +00:00
Klaus Hartl
24c51e5a95 Tabs: introduced "collapsible" option while deprecating "deselectable", fixes #4029 2009-02-02 20:15:06 +00:00
Richard Worth
43ab3a04e5 unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 14:36:08 +00:00
Richard Worth
7ed45e68de unit tests: minor updates 2009-02-02 13:23:51 +00:00
Richard Worth
4ad531044e Fixed #4037 (droppable: cssNamespace option should be removed, addClasses option added) 2009-02-02 07:18:27 +00:00
Richard Worth
977c6e955d Failing test for #4037 (droppable: cssNamespace option should be removed, addClasses option added) 2009-02-02 07:14:19 +00:00
Richard Worth
60b7c7e0f1 slider unit tests: moved init and destroy tests to 'slider: methods' module 2009-02-02 07:13:25 +00:00
Richard Worth
a5f6558a1d draggable unit tests: typo in 'addClasses: false' test 2009-02-02 07:12:37 +00:00
Richard Worth
bff0f70e2c droppable unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 07:09:15 +00:00
Richard Worth
39b0bbc9ca unit tests: added common widget tests. Thanks Scott G. 2009-02-02 06:46:56 +00:00
Richard Worth
c5df36e277 Fixed #4036 (draggable: cssNamespace option should be removed, addClasses option added) 2009-02-02 06:45:50 +00:00
Richard Worth
c42164097c draggable unit tests: cleanup 2009-02-02 06:34:44 +00:00
Richard Worth
c3046b9d79 slider unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 05:58:49 +00:00
Scott González
94c16d6378 Accordion: Fixed #3969: Deprecated alwaysOpen for collapsible option; fixed demos, tests, and using alwaysOpen on init. 2009-02-02 02:29:31 +00:00
Klaus Hartl
844d0c1833 Tabs: fixed test in IE... 2009-02-01 21:28:10 +00:00
Klaus Hartl
bc967db6b2 Tabs: added simple test for length method 2009-02-01 21:22:05 +00:00
Klaus Hartl
c8360e619b Tabs: Fixed IE bug which would mistake tabs as ajax with dynamically created HTML, fixes #4033 2009-02-01 21:09:02 +00:00
Richard Worth
b900ea855c unit tests: fixed missing tests to hide with new qunit checkbox 2009-02-01 01:57:28 +00:00
Richard Worth
63f7e01d61 draggable unit tests: added some missing tests 2009-02-01 01:54:28 +00:00
Scott González
b642b98619 Sortable: Added defaults for cursor, cursorAt, opacity. 2009-02-01 01:02:34 +00:00
Richard Worth
79d2a2891a draggable unit tests: created separate file for each module: defaults, events, methods, options, tickets 2009-02-01 00:25:58 +00:00
Richard Worth
9f382c5814 dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next. 2009-01-31 05:47:58 +00:00
Klaus Hartl
195838c443 Tabs: simplified tests a bit, found bug by that - fixed as well as two other unreported bugs 2009-01-31 00:45:14 +00:00
Scott González
256ea0670a Resizable: Fixed defaults in tests. 2009-01-30 04:53:30 +00:00
Scott González
3ad604216e Accordion: Fixed tests. 2009-01-30 04:01:04 +00:00
Scott González
967d6595a6 Accordion: Fixed destroy method with new markup. 2009-01-30 03:27:44 +00:00
Richard Worth
1b7948cd93 sortable unit tests: fixed default value for tolerance: intersect 2009-01-30 03:17:26 +00:00
Richard Worth
1fc03acdde dialog unit tests: no more overlay option 2009-01-30 03:08:20 +00:00
Richard Worth
3268e41300 dialog unit tests: no more overlay option 2009-01-30 03:07:40 +00:00
Richard Worth
633ceff190 accordion unit tests: fixed cap. of autoHeight 2009-01-30 03:00:38 +00:00
Scott González
2c1d4675a8 Accordion: Fixed #3788: Removed wrapper divs and smoothed animations, allowing accordions to work with dl's and ul's again. 2009-01-30 02:35:37 +00:00
Richard Worth
0305e19240 slider unit tests: updated default value for orientation option (now 'auto' instead of 'horizontal') 2009-01-28 23:03:16 +00:00
Klaus Hartl
43efa580dd Tabs: organized code - public and private (pseudo) methods, added unit test for ui data object 2009-01-26 11:34:28 +00:00
Klaus Hartl
a7c0141875 Tabs: overall fixed selected property for all tabs unselected case (is -1 in such case), added sanity check for selected out of bound, fixes #3936 2009-01-25 23:42:56 +00:00
Richard Worth
19a1468fc3 switched to jQuery 1.3.1 2009-01-22 09:13:28 +00:00
Scott González
621392624b Core tests: Tests for :data selector. 2009-01-22 01:45:42 +00:00
Scott González
f80d9eb465 Core: Partial fix for #3559: Proper implementation for :focusable and :tabbable selectors. 2009-01-21 03:25:02 +00:00
Klaus Hartl
59c6f97625 UI Tabs: url containing a fragment identfier broke Ajax tab loading, fixes #3627 2009-01-19 23:11:30 +00:00
Keith Wood
10de3f0be2 Remove tests that no longer apply 2009-01-19 10:43:08 +00:00
Keith Wood
56b1f93434 Fixed #3859 - Datepicker can't pick years before 1999 2009-01-19 10:33:45 +00:00
Klaus Hartl
f0aa486bd6 UI Tabs: fixed init tests, simplified destroy tests 2009-01-18 21:47:50 +00:00
Klaus Hartl
941f6feede UI Tabs: fixed incomplete destroy method, fixes #3798 2009-01-18 21:09:31 +00:00
Scott González
0ce1fa2302 Tabs: Fixed tests for #3691: Removed the following options from the defaults hash:
- deselectableClass
- disabledClass
- hideClass
- loadingClass
- navClass
- panelClass
- selectedClass
2009-01-17 19:50:26 +00:00
Scott González
358be8bd46 Draggable: Fixed # 3808: Setting default opacity to null (preserve current opacity). 2009-01-15 23:19:27 +00:00
Eduardo Lundgren
c1b698bb55 Sortable test unit: change tolerance to default 2009-01-15 22:08:39 +00:00
Richard Worth
2b728dc730 Happy Birthday jQuery (switched to jQuery 1.3) 2009-01-14 23:26:15 +00:00
Richard Worth
877f03b853 switched to jQuery 1.3rc2 2009-01-13 00:49:10 +00:00
Richard Worth
3bec130f7b set eol-style to native 2009-01-09 11:47:42 +00:00
Richard Worth
9c3105200e reverted r1544 (it was temporary) 2009-01-08 05:44:34 +00:00
Richard Worth
c3d9d6261c temporarily switched back to 1.2.6 2009-01-08 05:39:38 +00:00
Paul Bakaus
c333dade68 tests: updated default value for 'cancel' option in tests 2009-01-07 17:45:15 +00:00
Richard Worth
b792bd46ec restructured unit tests folder 2009-01-07 03:31:15 +00:00