Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: third_party/qunit/src/browser_test_harness.js

Issue 2575253002: Fix Excessive test output. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qunit/src/browser_test_harness.js
diff --git a/third_party/qunit/src/browser_test_harness.js b/third_party/qunit/src/browser_test_harness.js
index 78537abc1b8ad3b4e61a0f3cb2ddc59406594458..f7c0fff660151227e278a5dd92a7d32f6c42c68a 100644
--- a/third_party/qunit/src/browser_test_harness.js
+++ b/third_party/qunit/src/browser_test_harness.js
@@ -33,24 +33,19 @@ TestReporter.prototype.init = function(qunit) {
/**
* @param {{ module:string, name: string }} details
*/
-TestReporter.prototype.onTestStart_ = function(details) {
- console.log('[===============]');
- console.log('[------RUN------] ' + details.module + '.' + details.name);
-};
+TestReporter.prototype.onTestStart_ = function(details) {};
/**
* @param {{ module:string, name: string }} details
*/
TestReporter.prototype.onTestDone_ = function(details) {
- console.log('[---COMPLETED---] ' + details.module + '.' + details.name);
- console.log('[===============]');
if (this.failedAssertions_.length > 0) {
this.errorMessage_ += ' ' + details.module + '.' + details.name + '\n';
this.errorMessage_ += this.failedAssertions_.map(
function(assertion, index){
return ' ' + (index + 1) + '. ' + assertion.message + '\n' +
' ' + assertion.source;
- }).join('\n');
+ }).join('\n') + '\n';
this.failedAssertions_ = [];
this.failedTestsCount_++;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698