Commit Graph

26 Commits

Author SHA1 Message Date
Scott González
7134033365 Accordion tests: Cleanup. 2011-08-06 11:45:12 -04:00
Scott González
e549e18fc2 Accordion tests: Cleanup. 2011-06-13 14:51:13 -04:00
Scott González
4547da1ba5 Accordion tests: Coding standards. 2011-04-15 11:29:26 -04:00
jzaefferer
540b78d920 Adding a domEqual assertion to our testsuite for more sane DOM
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01: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
1b2f6ce095 Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh. 2011-01-14 12:18:33 -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
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
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04: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
f7c68244a0 Accordion unit tests: Cleaned and fixed destroy-method test, working around html rendering inconsistencies 2010-04-12 16:44:37 +02:00
jzaefferer
ad6b4624b0 Accordion unit tests: Cleaned and fixed resize-method test, using #navigation avoids the :visible matching display:none issue in IE8 2010-04-12 16:12:05 +02:00
jzaefferer
7902d3945f Accordion: Improved resize-method test, starting with a fixed container height 2010-04-03 17:27:00 +02:00
jzaefferer
7d1c9cd348 Accordion: Rewrote the resize method test; fails in IE8, probably related to :visible issue 2010-04-03 17:21:31 +02:00
jzaefferer
cf2b0ca0d8 Accordion unit tests: Cleanup 2010-04-03 17:14:58 +02:00
jzaefferer
ad5bfc7f60 Accordion unit tests: Refactored state-helper function 2010-04-03 17:08:45 +02:00
jzaefferer
d5a6b33466 Accordion unit tets: Replacing destory method test with autocomplete/button approach, comparing before/after html - had to add some classes and empty style attributes to ignore class='' and style='', harmless enough 2010-03-27 08:01:41 +01:00
Scott González
b3a095d3ef Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests. 2009-11-09 01:50:23 +00:00
Jörn Zaefferer
5db2f6b7f7 accordion: reverted previous change to test 2009-09-15 21:19:23 +00:00
Jörn Zaefferer
06702d8b30 updated to latest QUnit 2009-09-15 21:12:05 +00:00
Jörn Zaefferer
1bd910e6d0 accordion: activate test fix, use false to close, not -1 2009-09-15 15:21:42 +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
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
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