aboutsummaryrefslogtreecommitdiffstats
path: root/test/index.html
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix sinon timers for oldIEOleg2014-01-131-0/+1
|
* Tests: Straighten out sinon dependenciesDave Methvin2014-01-101-2/+1
| | | | | * Cherry-pick took the wrong lines for a couple of things. * Update and commit dependencies after `grunt bower`
* Effects: Integrate sinon fake timers into testsJohn Paul2014-01-091-0/+1
| | | | | | (cherry picked from commit b407bddea2ae65200df0802bef7cf06c16b5e524) Closes gh-1377
* Manage bower dependencies with grunt-bowercopyTimmy Willison2013-12-061-3/+4
| | | | | | | | | | | | | | | | Tracked bower dependencies are located at "src/sizzle" and "test/libs". The source-destination mapping is in the Gruntfile. When updating a bower dependency, update the version in bower.json, run `grunt bower`, and then commit the result. When adding a dependency, update the bowercopy task accordingly. Fixes #14615. Closes gh-1452. Conflicts: bower.json test/index.html
* Use grunt and bower packages as local dependencies. Close gh-1433.Timmy Willison2013-11-141-3/+3
|
* Use full version of jQuery 1.9.1Oleg2013-11-081-2/+5
| | | | | Had some weird failures in IE with xhr build of 1.9.1. Cherry picked from 626cbde7f8267e2463cef85d84f9f0172f1c7cb9 commit
* Convert testrunner to an AMD module and ensure jQuery is on the page when ↵Timmy Willison2013-09-061-0/+7
| | | | | | | | executing the testrunner (another race condition amplified by swarm) Conflicts: test/data/testinit.js test/data/testrunner.js
* Move test loader to testinit.js. Fix race condition with dependency loading.Timmy Willison2013-09-061-54/+1
|
* Use requirejs to load the testswarm inject scriptTimmy Willison2013-09-061-2/+15
|
* Pass all tests (and load Sizzle fixture correctly) when loading with AMDTimmy Willison2013-08-291-30/+44
| | | | | Conflicts: src/css.js
* Fixed pulling in Sizzle subproject when testing with min/dev.Oleg Gaidarenko2013-08-161-0/+6
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-57/+27
| | | | | | | | | | | | | | | | | | | | Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
* Fix paths for qunit filesOleg2013-07-241-2/+2
| | | | (cherry picked from commit c8c32f1d0583711355c593fb4c84332bfba18254)
* Include Sizzle and Qunit with bower. Fixes #14118.Timmy Willison2013-07-101-3/+3
|
* Fix #13741. Make wrap/unwrap methods optional; close gh-1236.Michał Gołębiowski2013-04-171-0/+1
| | | | | | | move size() test to unit/deprecated; don't use size() in other tests; make 2 unit tests actually fire; code cleanup
* Fix #13596; #13722: .replaceWith consistency. Close gh-1216.Richard Gibson2013-04-161-1/+1
|
* Adjust the return value of the tabIndex propHook to match the spec. Fixes ↵Oleg Gaidarenko2013-04-081-0/+6
| | | | #13752.
* Fix #13265 #13332: Allow .parent/.closest with text nodes. Close gh-1146.Richard Gibson2013-02-131-1/+1
|
* Ref #13316: Sync all test documents on full vs. minified source.Richard Gibson2013-02-081-1/+1
|
* Fix #13310. Get the right display value for disconnected nodes. Close gh-1155.Oleg2013-02-041-0/+1
|
* Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens ↵Timmy Willison2013-01-301-1/+1
| | | | #13132, #10406.
* Fix #13316. Use minified version in unit testing.Dave Methvin2013-01-261-6/+6
| | | | Also migrates the XHR check added to 2.0 in 62acda819f9b6fba9263d0b613e15285807b23a7.
* Fix failing tests, add support for empty spans in Opera. Supplements #13132, ↵Timmy Willison2013-01-211-1/+1
| | | | #10406.
* Test: Update index.html to new QUnit format. Close gh-1061.Timo Tijhof2012-12-101-8/+4
| | | | Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
* update SizzleRichard Gibson2012-11-161-10/+13
|
* No ticket: speedup effects testsRichard Gibson2012-11-121-1/+3
|
* Fix testing of no-ajax custom buildsRichard Gibson2012-11-011-0/+3
|
* No ticket: fix effects test failure in IE6. Close gh-1012.Timo Tijhof2012-10-311-14/+14
|
* Implement expectation test instead of using _removeData. Close gh-997.Timo Tijhof2012-10-281-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Shim/shiv the datalist element for crabby Uncle oldIE.Dave Methvin2012-09-051-1/+1
|
* Let subproject tests use their own test fixture. Closes gh-867.Dave Methvin2012-07-191-2/+5
|
* Extracts the serialization code from the ajax module so that alternative ↵jaubourg2012-07-131-0/+1
| | | | ajax implementations can use it without the need for the whole ajax module to be included in the build.
* Fix #8482, offsetParent should not return null. Closes gh-847.Nowres Rafid2012-07-061-0/+3
|
* Update Sizzle: reduced size. Add Sizzle's utilities.js to unit teststimmywil2012-06-271-0/+1
|
* Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves ↵Rick Waldron2012-06-251-0/+1
| | | | jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965
* Ensure that IE stays in Big Boy mode.Dave Methvin2012-06-161-0/+1
| | | | | | Although we use a lot of iframes in the test, the IE document mode is set by the parent document so we just need a single X-UA-Compatible in the main file. http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx
* Use QUnit's URL configs to simplify custom configuration. Closes gh-827Scott González2012-06-151-28/+16
|
* Add necessary test html from Sizzle tests; Add an easy way to turn off QSA ↵timmywil2012-06-151-16/+32
| | | | in tests
* Rough draft of version=min test capabilities reintroduced.Rick Waldron2012-06-061-1/+21
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Relativize all urls pertaining to dist/jquery.js so users can run their ↵timmywil2012-06-041-1/+1
| | | | server from any file location; Make sure Sizzle is available for its tests in testrunner.
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-2/+2
|
* Update Sizzle and add tests from the Sizzle suite that require jQuery for ↵timmywil2012-05-281-1/+1
| | | | the selection to jquery/test/unit/selector.js
* Amends #10324. Remove object markup fixture; create programmaticallyRick Waldron2012-04-111-1/+0
|
* Followup on #10324. Eliminate duplicate name attribute.Dave Methvin2012-04-101-1/+1
|
* Ensure innerHTML of src/dest clone nodes is correctly set. Fixes #10324Rick Waldron waldron.rick@gmail.com2012-03-231-0/+1
| | | | Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
* Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055Rick Waldron2012-01-111-1/+1
|
* Fix #10902. DRY up the ways to include src files in tests.Mike Sherov2012-01-111-23/+1
|
* Remove the invisible body in support; Add temporary tests to verify correct ↵timmywil2011-11-171-1/+1
| | | | support completions for upcoming support changes.
* Landing pull request 586. Create exports.js for exporting jQuery to window ↵jrburke2011-11-141-0/+2
| | | | | | | | and AMD. Fixes #10687. More Details: - https://github.com/jquery/jquery/pull/586 - http://bugs.jquery.com/ticket/10687
* Run offset support tests at doc ready. Fixes #10613.timmywil2011-10-311-0/+1
|