Backing out bug 473506 now that 473259 was already backed out, to get rid of orange.

This commit is contained in:
Gijs Kruitbosch 2009-10-29 13:21:12 +01:00
Родитель eb61c4f4f7
Коммит 7e2295ee3a
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -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?");