Commit graph

54 commits

Author SHA1 Message Date
Jörn Zaefferer a69aad2242 Added equals helper for easier debugging of failed tests, soon to be used more often, see coreTest.js attr(String) for an example 2007-02-06 11:55:44 +00:00
Jörn Zaefferer 495ecb70b2 Fix for #907 2007-02-05 20:16:46 +00:00
Jörn Zaefferer de4e28e1ba Added test for #745 2007-01-31 21:56:32 +00:00
Jörn Zaefferer c6a893b680 Updated testsuite: To prevent crashes in Safari, each test waits for 250 milliseconds before running the next 2007-01-14 22:36:54 +00:00
Jörn Zaefferer 378bb9ded8 Fixed eval code (Thanks Fil) 2007-01-10 15:04:54 +00:00
Jörn Zaefferer 8ec860d637 Disable error reporting in PHP test files 2007-01-10 15:03:40 +00:00
Jörn Zaefferer 955fdb87a7 Fixed test for object/param selection (thanks Andrea) 2007-01-07 10:26:58 +00:00
Jörn Zaefferer e0c7e6aec4 Updated test for #750 2007-01-03 20:48:40 +00:00
Mike Alsup ac78ad07c2 Add new test file 2007-01-01 17:20:42 +00:00
John Resig 61504d516a Moved all the expressions tests over into selector area, out of the main suite. 2006-12-31 18:09:05 +00:00
Jörn Zaefferer 8cbb4a0ae6 Modified tests to show #746 2006-12-31 15:44:59 +00:00
Jörn Zaefferer 4c66f62a6f Improved Mikes hack to ease testing against IE cache 2006-12-31 15:09:07 +00:00
Jörn Zaefferer 8786fa5276 Fix for #745 2006-12-30 10:13:14 +00:00
Jörn Zaefferer fc84b9db10 Implemented global ajax settings - no documentation yet 2006-12-22 13:56:36 +00:00
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