-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INTERNAL] QUnit 2.x: add version 2.3.2 as qunit-2, adapt test tooling
This change adds QUnit 2.3.2 in addition to the current QUnit 1.18.0, in order to allow step-by-step migration of test cases in all layers. Fixes #1359 . Details: qunit / qunit-2 - add QUnit 2.3.2 and its CSS, add CSS wrapper module, update 3rdparty info sinon-qunit bridge - no longer use the abandoned signature variant of QUnit.test() - design time dependency is still to qunit.js for compatibility reasons qunit-junit - abandon legacy globals ("assert", "raises", "equals") when qunit-2 is used QUnitUtils - abandon legacy globals ("raises") when qunit-2 is used - don't configure QUnit.config.reorder when qunit-2 is used TestUtils - QUnit.push has been removed, use QUnit.assert.push (also deprecated!) Opa - no longer use the abandoned signature variant of QUnit.test() - after a QUnit timeout, Opa must no longer call the assert.async() - QUnit.throws no longer accepts string literal as 'expected' TestRunner - failed to parse the test results from the DOM (with QUnit 2, there's more than one <strong> tag in each test case) Tests - fully migrate Opa's own tests to QUnit 2.0 APIs - Execute Opa's own tests for both, QUnit 1.x and QUnit 2.x - timeout test failed to extract assertion messages (also has extracted any 'diff' messages) Change-Id: I1e6748405e95e87d0478e72eecdc0566bd8dbba4 JIRA: CPOUIFPHOENIXCORE-1783 (cherry picked from commit 33c3583) CR-Id: 002075125900001531432017
- Loading branch information
1 parent
62fef80
commit 764bee8
Showing
45 changed files
with
5,627 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/*! | ||
* ${copyright} | ||
*/ | ||
|
||
(function() { | ||
"use strict"; | ||
|
||
/*global jQuery */ | ||
|
||
var sUrl = jQuery.sap.getModulePath("sap.ui.thirdparty.qunit-2", ".css"); | ||
jQuery.sap.includeStyleSheet(sUrl); | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.