Commit Graph

58 Commits

Author SHA1 Message Date
Scott González
4bf80d209a Tests: Use the qunit-assert-close module
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
2015-04-09 09:28:25 -04:00
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -04:00
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Jörn Zaefferer
8bcd363ae6 Build: Menu and Tabs now pass all jscs rules 2015-03-18 15:00:20 +01:00
Jörn Zaefferer
4e6e27d073 Build: Increase htmllint coverage by testing all files, ignoring errors
Also formats jscsBad array and sorts it alphabetically.

Closes gh-1507
2015-03-18 14:18:34 +01:00
Jörn Zaefferer
62620a3fdb Build: Update grunt-jscs to latest, use exceptions to improve coverage
Closes gh-1506
2015-03-18 13:50:56 +01:00
Alexander Schmitz
4959c81d80 Build: Add qunit-assert-classes plug-in for classes tests 2015-03-11 14:55:44 -04:00
Scott González
47a32fb5b3 Build: Don't use .min.js extension for individual source files
We don't actually use these files for anything other than size comparisons,
but having the .min.js extension means that AMD is broken.

Note: If you're using AMD with the minified files, just run a build instead.

Fixes #10674
Closes gh-1466
2015-03-05 09:11:53 -05:00
Scott González
8fdfea5fe9 Build: Upgrade to jQuery 1.11.2
Adds jQuery 1.11.0, 1.11.1, 1.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
2015-02-23 14:01:03 -05:00
Jörn Zaefferer
9d0f44fd7b All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.

Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.

Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +01:00
Anne-Gaelle Colom
c89cb74893 Build: Remove dates from copyright notice
Closes gh-1403
2015-01-02 09:02:12 -05:00
Scott González
068254455f Build: Upgrade to grunt-git-authors 2.0.0 and add update-authors task
Closes gh-1378
2014-10-24 09:40:55 -04:00
Mike Sherov
aa425ab95d Build: Pull in jquery.simulate.js from Bower
Fixes #10563
2014-08-22 17:01:50 -04:00
Mike Sherov
0ad31ca469 Resizable: fix JSCS violations 2014-08-11 09:51:45 -04:00
Scott González
1071346aea Build: Upgrade to jquery-mousewheel 3.1.12 2014-07-22 12:13:59 -04:00
Scott González
a0fea7d849 Bower: Change jquery dependency to >=1.6 (don't limit max version)
Fixes #10110
Closes gh-1266
2014-06-24 22:45:54 -04:00
Scott González
19dfa2dc1b Test: Get all jQuery versions from Bower
Ref gh-1266
2014-06-24 22:45:44 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
David Petersen
9a93a06fbd Tests: Add widget option
Allows running qunit tests for a single widget

Closes gh-1254
2014-05-26 10:58:08 -05:00
Jörn Zaefferer
919d9185f2 External: Update mousewheel plugin, copy only main file 2014-04-14 18:08:18 +02:00
TJ VanToll
a69ccd68e4 Build: Include draggable.css and sortable.css in the CSS concat step 2014-04-14 09:45:34 -04:00
Jörn Zaefferer
4752ee9a6c Build: Include grunt tasks files in jscs task 2014-03-12 10:35:15 +01:00
Jörn Zaefferer
d789d7ab19 Build: Use bower to manage client-side dependencies
Fixes #9507
Closes gh-1201
2014-03-05 16:04:43 +01:00
Mike Sherov
7017805745 Draggable: fix current JSCS violations. 2014-02-18 12:48:06 -05:00
Brian J. Dowling
9660b43c01 Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggable
Some unit tests were disabled in phantomjs. Dialog and draggable
depended on a larger viewPort. Tooltip just worked, that was reenabled
as well.

Closes gh-1173
2014-02-11 19:47:29 +01:00
Patrick Stapleton
05c5646071 Build: Add load-grunt-tasks
Closes gh-1191
2014-02-11 18:42:51 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Brian J. Dowling
f4423f508e Tests: Fix draggable_options expected test count to be dynamic
The test count was previously incremented to 8 when normally 6 tests
are run.  After figuring out the dynamic test code, I just made the
expect depend on the same array length

Also re-enabled the test in the Gruntfile since it now passes.
2014-01-16 21:25:28 +00:00
Jörn Zaefferer
3e57b29267 JSCS config: Set requireSpaceBeforeBinaryOperators, fix occurences 2013-12-09 13:02:19 +01:00
Jörn Zaefferer
327bcbae8c Grunt: Add grunt-esformatter, formats all source files (no validation) 2013-12-07 18:00:46 +01:00
Jörn Zaefferer
019e547ed9 Gruntfile: Formatting 2013-12-07 17:12:51 +01:00
Jörn Zaefferer
43772f3e5b Merge branch 'master' into selectmenu 2013-11-16 12:25:21 +01:00
Felix Nagel
ab2219b6ac Merge branch 'master' into selectmenu 2013-11-13 19:45:56 +01:00
Jörn Zaefferer
c462e66f5d Build: Add jscs task for code style checking 2013-11-13 19:20:16 +01:00
Scott González
8de24907b7 Build: Renamed jshint target from src to all. 2013-11-11 14:12:21 -05:00
Scott González
61d16ec939 Update grunt-contrib-jshint to 0.7.1 and squash jshint tasks. 2013-11-01 14:44:14 -04:00
Mike Sherov
a3715a7c91 Draggable Tests: Ensure all combinations of helper / draggable positions / scrollParents / parent positions are tested accurately. 2013-10-29 13:25:57 -04:00
Felix Nagel
e26e0df3af Merge branch 'master' into selectmenu 2013-10-10 00:08:49 +02:00
Jörn Zaefferer
9ef09edc79 Build: Remove the build task and it's dependencies. Will bring back testing against minified files later. 2013-09-20 18:27:07 +02:00
Felix Nagel
05832d6b6a Merge branch 'master' into selectmenu 2013-07-09 22:55:35 +02:00
Jörn Zaefferer
7da828375a Build: Implement an asciilint task to verify content of ui files (ignore i18n). Fixes #9037 - Build: Verify characters in output 2013-07-03 16:01:51 +02:00
Felix Nagel
c571f7bea9 Merge branch 'master' into selectmenu 2013-07-01 23:23:50 +02:00
Rafael Xavier de Souza
b8a875cabf Add comment (TODO: amend before land) 2013-06-26 12:40:58 -03:00
Rafael Xavier de Souza
a8897d4c72 Release: Use downloadBuilder to build pre/cdn packages instead of our grunt tasks 2013-06-26 12:40:57 -03:00
Felix Nagel
4efd006e26 Merge branch 'master' into selectmenu 2013-04-21 15:10:38 +02:00
Scott González
dd58f9832b Grunt: Allow tabs tests to run in PhantomJS. 2013-04-12 09:05:48 -04:00
Scott González
b8efbd6c07 Build: Change single quotes to double quotes. 2013-04-08 14:44:24 -04:00
Felix Nagel
1ce8d87f8b Merge branch 'master' into selectmenu 2013-03-19 19:59:31 +01:00
Scott González
39a2f465a5 Use .csslintrc instead of inlining rules in the Gruntfile. 2013-03-15 09:57:49 -04:00