Commit graph

16 commits

Author SHA1 Message Date
jeresig 2301e2a1c3 Update the TestSwarm URL to point to the new jQuery swarm location. 2010-03-23 15:21:42 -04:00
jeresig f6a50cacd8 Handle auto-running of the TestSwarm injection script in the test suite. 2010-03-23 12:19:47 -04:00
Jörn Zaefferer db63af1068 core/test: replaced local qunit copy with qunit via svn:externals; inlined styles specific to polluted.php; kept testrunner.js with just the noConflict call 2008-08-08 17:42:52 +00:00
Ariel Flesler febe463cc2 test runner: closes #3048. The text from the tests, is html-escaped. 2008-06-17 20:11:47 +00:00
Ariel Flesler 9e48649729 test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
2008-05-28 23:18:25 +00:00
Ariel Flesler 16f6b3684d test runner: when errors are thrown in a test, the message is successfully show on all browsers. 2008-05-12 22:31:27 +00:00
Jörn Zaefferer aec0dad980 jquery core: reverted qunit introduction until build scripts are updated 2008-05-08 21:42:40 +00:00
Jörn Zaefferer b6bb0d46b6 jquery testsuite: switch to qunit 2008-05-08 19:33:49 +00:00
Jörn Zaefferer 1753ab3d82 jquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between tests 2008-05-06 19:39:58 +00:00
Jörn Zaefferer d726a96b1f jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel 2008-05-05 23:29:28 +00:00
Ariel Flesler ba391eccf9 - Adding the enhancements to the test runner, to accept multiple(and negative) filters from the GET variables, as specified in the ticket #2738. 2008-04-24 21:32:35 +00:00
Jörn Zaefferer f12d94a628 testrunner: refactored url-test-filter, still regex based 2008-04-24 20:08:50 +00:00
Jörn Zaefferer f861c88b1b jquery testrunner: accept regexp to select tests, eg. /test/?^core|^selector to run both core and selector module 2008-04-22 22:43:18 +00:00
Jörn Zaefferer 4d13f3701c fixed jsdoc for equals 2007-12-04 16:42:42 +00:00
John Resig 3a4e1233aa Landing the new expando management code. Completely overhauls how data is associated with elements.
Plugins will be most interested in:
- jQuery.data(elem) -> Unique ID for the element
- jQuery.data(elem, name) -> Named data store for the element
- jQuery.data(elem, name, value) -> Saves a value to the named data store
- jQuery.removeData(elem) -> Remove the expando and the complete data store
- jQuery.removeData(elem, name) -> Removes just this one named data store

jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so:
{{{
  $("#foo").remove().appendTo("#bar");
}}}
should be written like so:
{{{
  $("#foo").appendTo("#bar");
}}}
in order to avoid losing the bound events.
2007-09-08 23:31:23 +00:00
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
Renamed from build/test/data/testrunner.js (Browse further)