8000 Tests: POC for intern support using accordion/autocomplete module by apsdehal · Pull Request #1575 · jquery/jquery-ui · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7f006d3
Tests: Add requirejs text for intern POC
apsdehal Jun 11, 2015
344eba7
Tests: Add intern grunt and config setting
apsdehal Jun 11, 2015
f2a291f
Tests: Modify bootstrap and css js files to return functions
apsdehal Jun 12, 2015
1954384
Tests: Shift intern tests to use intern qunit
apsdehal Jun 12, 2015
1073182
Tests: Add intern dependency
apsdehal Jun 12, 2015
f7b63ea
Tests: Complete the POC by modifying setup and teardown
apsdehal Jun 12, 2015
805c21e
Tests: Deps related changes
apsdehal Jun 13, 2015
9ad657e
Tests: Changes for POC to work
apsdehal Jun 13, 2015
843ba49
Tests: More changes to bring stuff atleast in working condition
apsdehal Jun 17, 2015
e724301
Tests: Remove test swarm stuff
apsdehal Jun 18, 2015
215d254
Tests: Fix some of accordion test
apsdehal Jun 18, 2015
22ea3d4
Tests: Push current structure
apsdehal Jun 25, 2015
08136e9
Tests: Revert back to original bug
apsdehal Jun 25, 2015
bda9302
Tests: New POC
apsdehal Jul 7, 2015
4f92416
Build: Shift qunit-assert-close to apsdehal's fork
apsdehal Jul 8, 2015
6add4f0
Tests: Move to a working POC
apsdehal Jul 8, 2015
251ff75
Tests: Fix issue of intern results
apsdehal Jul 8, 2015
2f75843
Tests: POC works now for accordion/core
apsdehal Jul 8, 2015
a317514
Tests: Extend POC to whole accordion
apsdehal Jul 8, 2015
12c2a23
Tests: Shift QUnit.equiv to assert.deepEqual
apsdehal Jul 8, 2015
e8e5586
Tests: Fix the equalHeight problem with accordion
apsdehal Jul 8, 2015
2d16a6c
Tests: Uncomment handle-click test in core
apsdehal Jul 8, 2015
2aeedac
Tests: Remove autostart command
apsdehal Jul 8, 2015
4e96e8c
Tests: Shift autocomplete to intern
apsdehal Jul 9, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tests: Revert back to original bug
  • Loading branch information
apsdehal committed Jun 25, 2015
commit 08136e9ebf02d85379cc2959820d7d2b1e2f8182
2 changes: 1 addition & 1 deletion external/qunit-assert-close/qunit-assert-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define("", [
define( [
"qunit"
], factory );
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"grunt-html": "4.0.1",
"grunt-jscs": "1.5.0",
"grunt-selenium-server": "0.1.2",
"intern": "git://github.com/apsdehal/intern#iss-415",
"intern": "git://github.com/theintern/intern",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What did you need that isn't released yet?

"load-grunt-tasks": "0.3.0",
"rimraf": "2.1.4",
"requirejs": "2.1.17",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad indentation for most of these.

Expand Down
11 changes: 2 additions & 9 deletions tests/intern.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,14 @@ define( [ "./config-helper" ], function ( configHelper ) {
},
map: {
"*": {
"qunit": "node_modules/intern/lib/interfaces/qunit",
"intern/dojo": "node_modules/intern/node_modules/dojo",
"dojo": 'node_modules/intern/node_modules/dojo',
"chai": 'node_modules/intern/node_modules/chai/chai',
"diff": 'node_modules/intern/node_modules/diff/diff'
"qunit": "intern!qunit"
}
},
shim: {
"globalize/ja-JP": [ "globalize" ],
"jquery-simulate": [ "jquery" ],
"qunit-assert-close": [ "qunit" ]
},
packages: [
{ name: 'intern', location: "node_modules/intern" }
]
}
},
suites: [
"tests/unit/all",
Expand Down
10 changes: 5 additions & 5 deletions tests/lib/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define( [ "require" ], function ( require ) {
define( [], function() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the empty array.


// Create a module that disables back compat for UI modules
define( "jquery-no-back-compat", [ "jquery" ], function( $ ) {
Expand Down Expand Up @@ -29,11 +29,11 @@ define( [ "require" ], function ( require ) {

// Load a set of test file along with the required test infrastructure
function requireTests( dependencies, noBackCompat ) {
dependencies = dependencies.concat([
dependencies = [
"lib/qunit",
noBackCompat ? "jquery-no-back-compat" : "jquery",
"jquery-simulate",
"lib/qunit"
]);
"jquery-simulate"
].concat( dependencies );

requireModules( dependencies, function( QUnit ) {
QUnit.start();
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/css.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define( [] , function () {
define( [], function () {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the empty array.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also bad spacing after function.

return function( options ) {

function includeStyle( url ) {
Expand Down