Scott González
f9097a6d86
Tests: Handle globals in .jshintrc.
...
(cherry picked from commit 2c43548ac6
)
2013-04-17 14:56:45 -04:00
Scott González
1f65b3bca9
Whitespace.
2013-01-16 13:45:54 -05:00
Scott González
3c2acc3227
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8
Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
...
This reverts commit d687a1b10d
.
2012-12-04 09:21:33 -05:00
Jörn Zaefferer
d687a1b10d
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
2012-12-04 00:35:47 +01:00
Scott González
608341d20d
Tests: Commented out getElementStyles() while its not used.
2012-11-13 09:46:19 -05:00
Scott González
248e632f4d
Tests: Temporarily remove style checks in domEqual().
2012-11-13 09:38:29 -05:00
Scott González
902df84fce
Tests: Allow async domEqual() tests.
2012-11-12 11:19:20 -05:00
Mike Sherov
543abc9b1f
Dev: clean up dialog test suite with new helper methods. Fixes #8803 - Dev: re-enable the dialog test suite
2012-11-09 15:02:26 -05:00
Scott González
fd48568c40
Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called.
2012-11-09 14:52:57 -05:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329
Build: Upgrade to the latest Grunt and JSHint - Closes gh-786
2012-10-22 17:04:08 -05:00
Jörn Zaefferer
7852583980
Restore QUnit's now dead feature of using jQuery to reset the fixture. Fixes tooltip unit tests
2012-08-30 15:20:36 +02:00
Scott González
42b21fd3ed
Tests: Removed completed TODO.
2012-08-26 18:37:30 -04:00
Jörn Zaefferer
0a4c334430
Update to QUnit 1.9.0 and use new urlConfig for custom checkboxes
2012-07-11 14:44:23 +02:00
Scott González
5ae668fdb6
Tests: Enable QUnit.config.requireExpects.
2012-06-27 11:32:48 -04:00
Scott González
8e541f1bf6
Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'.
2012-06-15 13:42:00 -04:00
Scott González
aa1e8b5e6c
Tests: Check .data() and event bindings in domEqual().
2012-06-09 20:12:03 -04:00
Scott González
649a670d1c
Tests: Differentiate between attributes and properties in domEqual().
2012-05-29 15:14:35 -04:00
Scott González
e986f36871
Tests: Convert children to an array in domEqual().
2012-05-25 22:57:08 -04:00
Scott González
3b7c33fd49
Tests: Added several more property checks to domEqual().
2012-05-25 16:51:51 -04:00
Corey Frang
1da2bf0daf
Tests: Linting
2012-04-30 00:19:26 -05:00
Scott González
27072de094
Tests: Run JSHint.
2012-04-29 20:22:52 -04:00
Scott González
88e141801c
Tests: Check for null error objects when reporting JSHint errors.
2012-04-24 07:43:26 -04:00
Scott González
3cb9ab723a
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
2012-04-23 10:47:43 -04:00
Scott González
b042f8ebd6
Tests: Moved loadResources to TestHelpers.
2012-04-23 10:43:01 -04:00
Scott González
3b54760b51
Tests: Run JSHint in unit tests, unless nojshint=1 is specified in the query string.
2012-04-23 08:44:55 -04:00
Scott González
e9d5079b04
Tests: Move commonWidgetTests() to TestHelpers.
2012-04-19 13:03:21 -04:00
Scott González
163555d7bf
Accordion tests: Don't polloute the global namespace with helpers.
2012-04-19 11:37:39 -04:00
Scott González
a28983086e
Tests: Lint.
2012-04-18 22:36:15 -04:00
Jörn Zaefferer
72023dd045
Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.
2012-02-29 18:36:40 +01:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00
Scott González
e77fcaa6eb
Tests: Updated version check.
2011-05-28 15:42:55 -04:00
Jörn Zaefferer
5c47098829
Add simple error handling for domEqual method (was failing for menu, output not helpful).
2011-05-02 20:35:49 +02:00
Scott González
255a8dbba5
Tests: Allow overriding enable and disable methods to add custom logic.
2011-03-29 20:38:58 -04:00
jzaefferer
93fd447493
Use QUnit.push instead of assertion method for custom assertions to get
...
correct filename and line number output
2011-03-20 15:56:48 +01:00
jzaefferer
540b78d920
Adding a domEqual assertion to our testsuite for more sane DOM
...
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00
Scott González
6096aed0a3
Widget: Fixed super methods with deep inheritance chains.
2011-02-10 21:25:50 -05:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
088ef05142
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
2011-01-25 00:05:55 -05:00
Scott González
63c72aba0d
Tests: Fixed erroneous refernece to accordion.
2011-01-24 22:37:57 -05:00
Scott González
5ed1046a4a
Accordion tests: Cleanup.
2011-01-24 19:20:09 -05:00
jzaefferer
d8bee228b3
Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions
2010-08-29 17:21:39 +02:00
jzaefferer
467b6f9bb6
Update testswarm url for new server
2010-03-23 20:23:15 +01:00
Jörn Zaefferer
234c6cbfea
global introduced by jQuery 1.3.x is gone, don't need the noglobals fix anymore
2010-03-20 14:31:23 +00:00
Scott González
90fb45dffa
Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests).
2010-01-07 03:19:50 +00:00
Jörn Zaefferer
6c222d286a
uni tests: cleanup after common widget tests
2009-09-17 14:55:35 +00:00
Jörn Zaefferer
e7927c3535
tests: declare global introduced in jQuery 1.3.2 Sizzle (fixed in trunk/1.3.3)
2009-09-15 21:20:51 +00:00
Jörn Zaefferer
a282bba6cd
common widget tests: improve handling of functions (even same() can't compare two functions by their "content")
2009-09-15 08:26:59 +00:00
Jörn Zaefferer
40f75ee65c
removed code that created testsuite markup; QUnit handles that
2009-09-11 18:31:15 +00:00