Timmy Willison
88046440da
Selector: pass jQuery unit tests with selector-native
...
- Ignore certain tests that obviously are not supported
- Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions
Fixes gh-1742
Fixes gh-2048
Close gh-2703
2015-11-11 10:10:10 -05:00
Gary Ye
03eaadb131
Tests:Docs: Fix various typos
...
* Changes "baar" to "bar" when used with "foo" in readme
and comments of js files
* mousenter -> mouseenter
Thanks @garysye, @KimTaehee
Closes gh-2613
Closes gh-2601
2015-10-12 18:08:13 +03:00
Oleg Gaidarenko
c8d15a2f9f
Tests: further improvements QUnit 2.0 migration
...
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref b930d14ce6
2015-09-08 04:06:20 +03:00
Oleg Gaidarenko
10fdad742a
Build: Update jscs and lint files
...
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Oleg Gaidarenko
b930d14ce6
Tests: partially use new qunit interface
...
http://qunitjs.com/upgrade-guide-2.x/
For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package
However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used
Fixes gh-2540
2015-08-16 09:02:01 +03:00
Timmy Willison
add85afed5
Selector: add test for jQuery.unique() alias
2015-05-05 07:59:12 -07:00
Timmy Willison
e1090c3d2b
Selector: add jQuery.uniqueSort; deprecate jQuery.unique
...
Fixes gh-2228
2015-05-04 15:27:12 -07:00
Oleg Gaidarenko
dc4b914a05
Build: Fix various typos
...
Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844
2014-11-08 17:24:33 +03:00
Michał Gołębiowski
86e62d8b37
Selector: Remove "#" exception for identifier tokens
...
Port Sizzle test change from:
f204a61122
2014-06-30 18:13:57 +02:00
Oleg Gaidarenko
3b9057a18d
Selector: Use jQuery reference not Sizzle
2014-05-29 21:54:45 +04:00
Oleg Gaidarenko
efc4f8d781
Selector: Fix test iframe submission for firefox
...
Ref jquery/sizzle@20fbadb087
2014-05-29 21:45:59 +04:00
Oleg Gaidarenko
4f14bea2c2
Tests: Remove unused variables
2014-04-15 17:46:00 +04:00
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