зеркало из https://github.com/mozilla/pjs.git
Backing out bug 473506 now that 473259 was already backed out, to get rid of orange.
This commit is contained in:
Родитель
eb61c4f4f7
Коммит
7e2295ee3a
|
@ -74,15 +74,13 @@ Tester.prototype = {
|
|||
|
||||
if (this.tests.length) {
|
||||
this.dumper.dump("\nBrowser Chrome Test Summary\n");
|
||||
|
||||
|
||||
function sum(a,b) a+b;
|
||||
var passCount = this.tests.map(function (f) f.passCount).reduce(sum);
|
||||
var failCount = this.tests.map(function (f) f.failCount).reduce(sum);
|
||||
var todoCount = this.tests.map(function (f) f.todoCount).reduce(sum);
|
||||
|
||||
this.dumper.dump("\tPassed: " + passCount + "\n" +
|
||||
"\tFailed: " + failCount + "\n" +
|
||||
"\tTodo: " + todoCount + "\n");
|
||||
|
||||
this.dumper.dump("\tPass: " + passCount + "\n\tFail: " + failCount + "\n\tTodo: " + todoCount + "\n");
|
||||
} else {
|
||||
this.dumper.dump("TEST-UNEXPECTED-FAIL | (browser-test.js) | " +
|
||||
"No tests to run. Did you pass an invalid --test-path?");
|
||||
|
|
Загрузка…
Ссылка в новой задаче