aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Remove the define.amd.jQuery check, close gh-1150.jrburke2013-04-031-3/+1
| | | | | | | Cherry picked from 2.0 master 34c4e122a333bbfc80bd4f6e79db20f3a73ae5b3 Conflicts: src/exports.js
* Fixes #11151, #13388. Minor refactor of response conversion and when/wherejaubourg2013-02-281-0/+6
| | | | responseXXX fields are set on the jqXHR. Close gh-1164.
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-12/+15
| | | | (cherry picked from commit 59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9)
* Ref #13316: Sync all test documents on full vs. minified source.Richard Gibson2013-02-0821-23/+48
|
* Fix #13310. Get the right display value for disconnected nodes. Close gh-1155.Oleg2013-02-041-0/+2
|
* Fix #13316. Use minified version in unit testing.Dave Methvin2013-01-2618-17/+42
| | | | Also migrates the XHR check added to 2.0 in 62acda819f9b6fba9263d0b613e15285807b23a7.
* Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.Richard Gibson2013-01-251-0/+22
|
* Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes ↵byroot2013-01-241-0/+5
| | | | #13261.
* Fix #13064: better test fixture cleanup. Close gh-1075.Richard Gibson2012-12-161-2/+2
|
* Test: Update index.html to new QUnit format. Close gh-1061.Timo Tijhof2012-12-101-2/+2
| | | | Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
* Test: Remove fixtures from QUnit.done hook. Close gh-1069.Timo Tijhof2012-12-101-0/+5
| | | | | | This fixes jquery/testswarm#197. These are currently removed from the TestSwarm injector, however this is jQuery specific, and should be done from this end instead.
* Make compatible with jshint, lint test/data. Close gh-1043.Timo Tijhof2012-12-063-10/+10
|
* Revert "Organizes the php scripts used for testing better, so that the whole ↵jaubourg2012-12-0534-126/+526
| | | | | | logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." This reverts commit 228ab3ddae527f72cc3122a1c6115d7718bcfd57.
* Revert "228ab3d followup 1: fix test failures. Close gh-1056."jaubourg2012-12-051-4/+4
| | | | This reverts commit 20608b3579d70d3bac7fd74b4e11e4c08cd9d9b5.
* 228ab3d followup 1: fix test failures. Close gh-1056.Richard Gibson2012-12-051-4/+4
|
* Organizes the php scripts used for testing better, so that the whole logic ↵jaubourg2012-12-0434-526/+126
| | | | of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
* More improvements per @jaubourgRichard Gibson2012-12-032-23/+29
|
* Improvements per @jaubourgRichard Gibson2012-12-032-2/+4
|
* No ticket: improve global variable/ajax request trackingRichard Gibson2012-12-023-33/+40
|
* sandboxes start for real this time (fixes test failures in IE)jaubourg2012-11-272-8/+8
|
* Greatly simplifies ajaxTestjaubourg2012-11-261-65/+45
|
* Total revamping of the ajax unit testsjaubourg2012-11-262-1/+100
|
* No ticket: update test suite to pass QUnit globals check in most ↵Richard Gibson2012-11-051-2/+7
| | | | environments. Close gh-1016.
* Remove gratuitous punctuationRichard Gibson2012-11-011-3/+3
|
* No ticket: remove test suite external dependenciesRichard Gibson2012-11-014-24/+23
|
* Fix testing of no-ajax custom buildsRichard Gibson2012-11-013-14/+23
|
* No ticket: fix effects test failure in IE6. Close gh-1012.Timo Tijhof2012-10-311-7/+29
|
* Implement expectation test instead of using _removeData. Close gh-997.Timo Tijhof2012-10-282-48/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed inline usage of QUnit.reset() because it is messing with the expectation model as reset does .empty() which does a recursive cleanData on everything in #qunit-fixture, so any expectJqData above .reset() would fail negatively. Instead of calling reset inline, either updated the following assertions to take previous assertions' state into account, or broke the test() up into 2 tests at the point where it would call QUnit.reset. * After introducing the new memory leak discovery a whole bunch of tests were failing as they didn't clean up everything. However I didn't (yet) add QUnit.expectJqData calls all over the place because in most if not all of these cases it is valid data storage. For example in test "data()", there will be an internal data key for "parsedAttrs". This particular test isn't intending to test for memory leaks, so therefor I made the new discovery system only push failures when the test contains at least 1 call to QUnit.expectJqData. When not, we'll assume that whatever data is being stored is acceptable because the relevant elements still exist in the DOM anyway (QUnit.reset will remove the elements and clean up the data automatically). I did add a "Always check jQuery.data" mode in the test suite that will trigger it everywhere. Maybe one day we'll include a call to everywhere, but for now I'm keeping the status quo: Only consider data left in storage to be a problem if the test says so ("opt-in"). * Had to move #fx-tests inside the fixture because ".remove()" test would otherwise remove stuff permanently and cause random other tests to fail as "#hide div" would yield an empty collection. (Why wasn't this in the fixture in the first place?) As a result moving fx-tests into the fixture a whole bunch of tests failed that relied on arbitrary stuff about the document-wide or fixture-wide state (e.g. number of divs etc.). So I had to adjust various tests to limit their sample data to not be so variable and unlimited... * Moved out tests for expando cleanup into a separate test. * Fixed implied global variable 'pass' in effects.js that was causing "TypeError: boolean is not a function" in *UNRELATED* dimensions.js that uses a global variable "pass = function () {};" ... * Removed spurious calls to _removeData. The new test exposed various failures e.g. where div[0] isn't being assigned any data anyway. (queue.js and attributes.js toggleClass). * Removed spurious clean up at the bottom of test() functions that are already covered by the teardown (calling QUnit.reset or removeClass to supposedly undo any changes). * Documented the parentheses-less magic line in toggleClass. It appeared that it would always keep the current class name if there was any (since the assignment started with "this.className || ...". Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently). Only added the comment for now, though I prefer clarity with logical operators, I'd rather not face the yayMinPD[1] in this test-related commit. * Updated QUnit urlConfig to the new format (raw string is deprecated). * Clean up odd htmlentities in test titles, QUnit escapes this. (^\s+test\(.*)(&gt\;) → $1> (^\s+test\(.*)(&lt\;) → $1< [1] jQuery MinJsGz Release Police Department (do the same, download less)
* Fix #11542. document.body should not be special in .offset() and ↵Daniel Gálvez2012-10-241-1/+3
| | | | document.documentElement is the default element.offsetParent. Close gh-899.
* Fix #12048. Set attributes for XML fragments. Close gh-965.Sai Wong2012-10-201-0/+15
|
* no ticket: fix jQuery suite failure on AndroidRichard Gibson2012-10-171-1/+1
|
* Fixes #11635, Explicit overflow:auto is overridden by inline overflow:hidden ↵Mike Petrovich2012-10-161-0/+23
| | | | during animation, closes gh-981
* Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js ↵Rick Waldron2012-10-151-0/+3
| | | | QUnit configurations.
* Test: Clean up and fix misc issuesTimo Tijhof2012-10-092-7/+7
| | | | | | | | | | | | * Clean up testinit and testrunner * Uncomment isLocal (at least make sure it is declared) * Rephrase environment assertions to make sense if one reads them when they pass. * Optimise an expensive loop that might be the cause of this in IE6: http://cl.ly/image/3f20053m112n
* Scorch the earth and retreat on readyState interactive! Close gh-907.Mike Sherov2012-08-234-102/+0
|
* Fix #12266. IE9/10 says document[0] is document.frames[0]? Close gh-903.Elijah Manor2012-08-221-0/+36
|
* Neuter the partialLoadReady test until it's ngnix-readyDave Methvin2012-08-221-3/+3
|
* Fix #12282. IE has premature .readyState == "interactive". Close gh-901.Mike Sherov2012-08-202-1/+41
|
* Don't expect QUnit to clean up jQuery internal data. Close gh-883.Dave Methvin2012-08-191-2/+9
|
* Really support subproject tests in testswarm, closes gh-868Richard Gibson2012-07-221-61/+107
|
* Let subproject tests use their own test fixture. Closes gh-867.Dave Methvin2012-07-191-0/+74
|
* Image location is relative to css file, not html file.Dave Methvin2012-07-121-1/+1
|
* Fix #11547. toLowerCase not work good on XML attributes.Dave Methvin2012-07-111-1/+1
| | | | This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.
* Fix #12018, readyState "interactive" in oldIE lies! Closes gh-848.Mike Sherov2012-07-065-23/+57
|
* Fix #11971: force numeric animation start to be numeric, closes gh-836.Richard Gibson2012-07-051-1/+4
|
* Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves ↵Rick Waldron2012-06-251-2/+2
| | | | jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965
* Tweak test for #11743 in an attempt to placate Jenkins.Dave Methvin2012-06-111-0/+1
| | | | I can't get the current test to fail locally or in Browserstack, but suspect it may have something to do with badjson.js.
* Test: Remove unused file "include_js.php", closes gh-820.Timo Tijhof2012-06-111-106/+0
|
* Here is hoping everything works with the full build and the build without ↵jaubourg2012-06-111-2/+2
| | | | ajax... looking at you @dmethvin ;)
* Prevent total unit test meltdown ... and now over to @jaubourg!Dave Methvin2012-06-111-1/+1
|