Commit Graph

32 Commits

Author SHA1 Message Date
Scott González
a4da197a91 Accordion: Added tests for custom header option. 2011-02-03 10:11:00 -05:00
Scott González
2e17770e54 Accordion: Update active option when programmatically collapsing the accordion. 2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2 Accordion: Handle negative values for active option on init. 2011-02-03 09:59:05 -05:00
Scott González
714a77f202 Accordion: Properly handle collapsible: false and active: false by changing active to 0. 2011-02-03 09:54:11 -05:00
Scott González
2e214f984d Accordion test: Fixed an icon test. 2011-01-24 21:00:39 -05:00
Scott González
25f420eb9a Accordion tests: Cleaned up deprecated tests. 2011-01-24 20:35:58 -05:00
Scott González
5ed1046a4a Accordion tests: Cleanup. 2011-01-24 19:20:09 -05:00
Scott González
c96c249780 Accordion: First pass at splitting out tests for deprecated functionality. 2011-01-24 14:38:23 -05:00
Scott González
8b23483c0b Accordion: First pass at deprecating the activate method. Renamed _clickHandler to _eventHandler and removed extraneous parameter. Updated all tests to use the option methods instead of the activate method. 2011-01-11 20:53:31 -05:00
Alex Dovenmuehle
b6ed9328ef Accordion: Deprecated icons.headerSelected in favor of icons.activeHeader. Fixes #6834 - Accordion: Change icons.headerSelected to icons.activeHeader. 2011-01-11 15:38:47 -05:00
Scott González
f908281bc3 Accordion: Added test for heightStyle: fill with absolutely positioned sibling. 2010-12-19 16:26:03 -05:00
Alex Dovenmuehle
94a1786d56 Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings() 2010-12-17 21:38:29 -05:00
Alex Dovenmuehle
490792be6a Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle 2010-12-16 22:55:59 -05:00
Alex Dovenmuehle
f54747b302 Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class. 2010-12-10 14:54:50 -05:00
jzaefferer
46b6a298cf Accordion unit tests: And another height-testing hotfix for Safari 3.x 2010-04-13 10:54:54 +02:00
jzaefferer
cfe3be7234 Accordion unit tests: One more height-testing hotfix for Safari 3.x 2010-04-13 10:36:04 +02:00
jzaefferer
4f4843a9fb Accordion unit tests: Remove role attribute to pass Opera 9 and adjust height tests to tolerate different results, as long as they are consistent 2010-04-13 10:13:13 +02:00
jzaefferer
ad5bfc7f60 Accordion unit tests: Refactored state-helper function 2010-04-03 17:08:45 +02:00
jzaefferer
b012de18a4 Accordion unit tests: Further normalization of styles to get consistent results across browsers 2010-03-27 07:42:43 +01:00
Jörn Zaefferer
63ed4dccce normalize margin/padding on test markup to get reliable height results 2010-03-20 14:32:06 +00:00
Richard Worth
9483dcdbe6 Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Jörn Zaefferer
ee28074bb0 accordion: icon test fix, was failing in webkits 2009-09-15 15:09:41 +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
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
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
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
Jörn Zaefferer
892824558c Fix for #4222 2009-05-11 11:43:48 +00:00
Richard Worth
7c17ab9b1e accordion unit tests: split tests into individual files 2009-02-03 08:23:48 +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