Commit graph

40 commits

Author SHA1 Message Date
Jörn Zaefferer 98b1b580c7 A few corrections to the testsuite to imrove the failure testing 2006-12-21 15:23:59 +00:00
Jörn Zaefferer 6b8ffe79f4 Implemented a better error handling for ajax requests. Exceptions caused by dropping connections are now handled, too. 2006-12-21 13:35:32 +00:00
Jörn Zaefferer f1c91fd023 Renamed $.ajax's "before"-option to "beforeSend" to prevent conflict with form plugin - may be a good convention to use beforeXXX and afterXXX everytime for callbacks... 2006-12-05 22:58:27 +00:00
Jörn Zaefferer 47a6a32b27 Introduced before callback (#384) (updated test data) 2006-12-04 20:42:38 +00:00
Jörn Zaefferer ae58d24fd5 Another attempt to fix the getScript problem 2006-11-21 09:55:34 +00:00
Jörn Zaefferer a87fa0188b Improved testsuite (pass/fail indicator already exists in markup) 2006-11-20 20:54:42 +00:00
Jörn Zaefferer 7cc550727c Testsuite 2.0 2006-11-18 13:37:01 +00:00
Jörn Zaefferer 1e620109d7 Fixed an issue with getJSON (type was not correctly passed on when data was ommited); Added more options to $.ajax to provide more flexibility (bug #371) 2006-11-17 09:56:30 +00:00
Jörn Zaefferer db621dd8dd Added visual pass/fail indicator (JUnit/Eclipse style) 2006-11-15 10:08:08 +00:00
Jörn Zaefferer 03b0a9c654 Modified test for load(); added fix for trigger, where it modifies data passed to it, which causes ugly side-effects 2006-11-09 21:16:03 +00:00
Jörn Zaefferer 7b780def0d Refactored ajax module: Dropped internal arguments from ajax(); Modified testsuite to improve display 2006-11-03 11:30:57 +00:00
Jörn Zaefferer 5131224427 Modified core and form test suites to use a single stylesheet; Modified form.js to use :submit instead of [@type=submit] and :image... 2006-10-26 10:58:23 +00:00
Brandon Aaron 14b09024cb Fix and tests for appending HTML options to select elements.
Fixed previous tests for 193 and 170.
2006-10-17 19:12:22 +00:00
Brandon Aaron 6f7cd66959 Added tests for 193 and 170.
Removed unused line of code from fx.
2006-10-17 15:34:19 +00:00
Jörn Zaefferer e7669f64d8 Added test for #174; Modified failing (IE) tests for find 2006-10-13 14:56:14 +00:00
Jörn Zaefferer cb53fc02b6 Fixed #216, added several tests for ajax module and fixed more stuff revealed by those; Reverted Johns change for each (changeset 433), caused way too much trouble 2006-10-13 13:57:55 +00:00
Jörn Zaefferer 2e544e9eb8 Added 2 of 3 fixes of #164 2006-10-11 13:35:05 +00:00
Jörn Zaefferer b30a469a5a Fixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It does not work the default selections 2006-10-08 16:19:51 +00:00
Jörn Zaefferer 0121530083 Changed readFile to java-based read function to handle \r\n, fixes docs and test, lite still broken 2006-10-08 09:57:17 +00:00
Jörn Zaefferer 374dbbe80a I had to put the check for 'typeof console != "undefined"' back in, otherwise IE complains about console not being defined. 2006-10-03 10:54:55 +00:00
John Resig 3527e8f674 css('display') works slightly differently in Safari. Also, the test suite having <input checked/> doesn't work in Safari, at all. Fixed to be standards compliant. 2006-10-03 09:40:16 +00:00
John Resig 215f785de6 Fixed minor bug with Safari and the test suite. 2006-10-03 08:45:16 +00:00
Jörn Zaefferer 308d771dd1 Refactored and fixed test suite to run async tests 2006-09-30 14:34:49 +00:00
Jörn Zaefferer b5a33456e3 Clear timeout (prevents freezing of test suite when async tests fail) when start is called 2006-09-19 10:18:57 +00:00
Jörn Zaefferer b0c3711d3e Refactored test suite to allow async tests (use stop() before starting an async request, use start() when finished), added test for bug #164 2006-09-19 09:49:22 +00:00
Jörn Zaefferer 826bb93cc3 Refactored test suite once more, as proposed by John 2006-09-17 11:41:44 +00:00
Jörn Zaefferer 060c55bf04 Added test for bug #190 2006-09-16 17:09:54 +00:00
Jörn Zaefferer 529203f6b5 Fixed bug #194, added regression tests 2006-09-16 14:57:15 +00:00
Jörn Zaefferer f6ecc6a95c Refactored test suite: All tests are now compiled into one file, runs much faster and does not require ugly synchronization; Changed build.xml (tested) and Makefile (not tested!); Replaced calls to cmpOK() with ok(), removed cmpOK(); Tests can now call reset() to be able to always test against the unmodified test setup 2006-09-16 12:19:56 +00:00
Jörn Zaefferer f50224d653 Added test to verify bug #160, had to modify fixture (index.html) 2006-09-09 23:21:30 +00:00
Jörn Zaefferer f337b8a637 Added more test for attr, one for filter; Added test to check IE issue $('input').attr('name', 'something'), modified fixture to test this 2006-09-08 17:48:21 +00:00
Jörn Zaefferer fd4fc0bcdd Fixed missing brackets (d'oh) 2006-09-05 20:00:36 +00:00
Jörn Zaefferer ded1402498 Refactored the testsuite code with the hope in mind to make the test suite run faster 2006-09-05 19:50:13 +00:00
Jörn Zaefferer b5220adbbc Modified example for css(String) as proposed in the list (concerning camlCase for dashed properties like font-weight); Modified test to cache test fixture instead of reloading it, should make the test suite run faster 2006-09-05 17:58:22 +00:00
Jörn Zaefferer 00e6e81f94 Testcase now logs exceptions if a console is avaiable, makes it easier to find bugs; Added test for all base events 2006-09-05 15:05:56 +00:00
Jörn Zaefferer 97ea47492f Improved test suite to reset fixture after each test, added selects to test ':selected'; Added docs for index(obj); Modified is(expr) to return false for an invalid expression, changed docs, too; Added lots of testcases; Changed filename of testfiles: adding leading zeros 2006-09-04 04:51:57 +00:00
John Resig 906478800d Fixed some bugs with the test suite and fixed a bug with setting attributes. 2006-08-25 18:38:24 +00:00
John Resig 76ac10ed1f Added additional changes to the test suite. 2006-08-14 01:47:47 +00:00
John Resig 7448c61ee2 Massive overhauls to the test suite - it is now generated dynamically, along with the documentation. 2006-08-14 01:46:05 +00:00
John Resig e943090a72 Moved the test directory. 2006-08-13 20:01:26 +00:00