Commit Graph

124 Commits

Author SHA1 Message Date
Oleg Gaidarenko
80ea65edf7 Tests: Copy some Sizzle combinators tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
8084ab24bc Tests: Add more tests for Sizzle attributes 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
d7af36676b Tests: Add test for selectors with commas 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
3115d4c92d Tests: Copy Sizzle.uniqueSort tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
c63d1da7cd Tests: Copy Sizzle.contains tests 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
81aa237ee1 Tests: Move some of the Sizzle tests to selector 2014-04-15 17:45:59 +04:00
Michał Gołębiowski
4b39a82890 Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425. 2013-11-11 00:43:27 +01:00
Dave Methvin
9fdbc8bf33 Fix #13223. Re-allow leading space in HTML. Close gh-1264.
(cherry picked from commit 00eafdf028)
2013-05-09 14:53:15 -04:00
Richard Gibson
5d1dfe7474 Fix #13539: Utilize Sizzle hooks. Close gh-1215.
(cherry picked from commit 4ef516903e)
2013-04-05 00:37:36 -04:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Richard Gibson
6971d9d8e2 Fix 363299ac failures 2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24 Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
Timmy Willison
b326225d90 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:03:07 -05:00
Richard Gibson
a763ae7277 Fix #11115: Normalize boolean attributes/properties. Close gh-1066. 2012-12-15 23:16:48 -05:00
Richard Gibson
2c40fdd4a8 Fix #12600: don't use value property in place of value attribute. Close gh-1063. 2012-12-14 10:37:20 -05:00
timmywil
05531fc408 Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290. 2012-12-13 15:31:02 -05:00
Richard Gibson
ca26d45395 Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074. 2012-12-13 10:13:50 -05:00
Timo Tijhof
55313d32a2 Test: Update index.html to new QUnit format. Close gh-1061.
Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Mike Sherov
ed9e34482a enforce double quotes via JSHint. Closes gh-975 2012-10-16 10:17:14 -04:00
Timmy Willison
6ad4a0ef34 Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only. 2012-09-19 20:46:18 -04:00
Chad Killingsworth
de9bed319e Make unit tests friendly to Closure Compiler. Closes gh-845.
Conflicts:
    	test/unit/effects.js
    	test/unit/offset.js
2012-07-05 15:52:42 -04:00
Rick Waldron
7ff3da186c Unit tests are linted and passing. 2012-06-21 15:30:24 -04:00
Mike Sherov
5f35b3d9f9 Fix #11857. Modularize css.js, add dependency management. Closes gh-816.
See the pull request for more info on the dependency management details.
2012-06-10 21:54:16 -04:00
Mike Sherov
3225d61496 Make dimensions modular, adds optional build flag. Fixes #11856 2012-06-05 15:29:46 -04:00
timmywil
1122c8ce32 Adjust the return type for the tabindex attribute tests to be a string. Recomment a tabindex test since FF12's QSA includes video elements that don't have a tabindex attribute.
Related:
https://bugzilla.mozilla.org/show_bug.cgi?id=618737
2012-05-30 15:00:30 -04:00
timmywil
f633c7f165 Uncomment an old test for when the tabindex attrhook was deprecated 2012-05-30 14:07:59 -04:00
timmywil
3e2a77c5e8 Remove the tabindex attrHook. Fixes #8473 2012-05-30 13:46:50 -04:00
timmywil
a8d9d05388 Add quick-start documentation for testing with QUnit and using jQuery's helper methods. 2012-05-29 13:13:26 -04:00
timmywil
6f7bdf8977 Update Sizzle: Add test for [selected] attribute selections. Addresses a small issue in IE8's boolean attribute selections with QSA. 2012-05-28 18:32:20 -04:00
timmywil
66cf58e79f Move length tests to jQuery's selector tests as it relates to jQuery.merge. 2012-05-28 15:07:39 -04:00
timmywil
3ee332b238 Minor test suite adjustments 2012-05-28 12:43:41 -04:00
timmywil
a4fc2edaab Update Sizzle and add tests from the Sizzle suite that require jQuery for the selection to jquery/test/unit/selector.js 2012-05-28 12:41:58 -04:00
Mike Sherov
f36568324d fixes #10693, generalizes the "test something in an iframe" code when a callback isn't needed 2012-02-23 22:55:20 -05:00
Richard Gibson
6c8dd7e7d3 Fix #10931: Make unit tests work without web access.
Applies https://github.com/gibson042/jquery/tree/10931 to
  dd900460ac
2012-01-12 20:04:17 -05:00
timmywil
8723f3b9e1 Update sizzle; Add sizzle cache collision iframe test. Fixes #8539. 2011-10-13 11:11:41 -04:00
timmywil
92405d4f5f Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
2011-09-19 15:42:30 -04:00
John Resig
3f036281dd No need to duplicate Sizzle tests, just run them directly from Sizzle. 2011-02-10 16:19:35 -05:00
Anton M
f56b4a22a6 Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220." 2011-02-10 01:29:18 +01:00
Anton M
1e4f3c07c7 Pull over tests from Sizzle. Fixes #3729. Fixes #6428. 2011-01-28 01:50:39 +01:00
jeresig
9604a0321a Bring back in #main prefix on adjacent selectors. 2011-01-24 17:01:31 -05:00
jeresig
98234b0f93 Backing out disconnected + and ~ tests as they're not something that we actively support. 2011-01-24 16:58:56 -05:00
Anton M
4413c2fd93 Fix selector scope on some tests, so they don't fail on testswarm. 2011-01-22 01:12:18 +01:00
jeresig
9c76ac4f6d Disabled a broken test for now, until WebKit browsers become more current. 2011-01-17 18:12:42 -05:00
jeresig
e01e8d434d Accidentally removed the module teardown code. 2011-01-17 18:08:51 -05:00
jeresig
3ab7b72919 Opera was falling back to undefined, which it didn't appreciate. 2011-01-17 18:07:52 -05:00
jeresig
733eb5e253 Merge branch 'master' of github.com:jquery/jquery 2011-01-17 17:44:54 -05:00
jeresig
0c1ffe3cb3 Fixed a couple issues with escaping of attribute values in selectors. Fixes #6093. 2011-01-17 17:44:42 -05:00
Colin Snover
e2941d5a98 Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests. 2011-01-09 15:58:47 -06:00
Colin Snover
3e0cc81504 Clean trailing whitespace from all files. 2010-12-30 00:34:48 -06:00
John Resig
d1a88b2e58 Merge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAdjacentTests 2010-11-09 15:49:07 -05:00