rem: TestRunner.logger.log("TinderboxPrint: <table cellpadding='0' " + "cellspacing='2' border='0'>" + "<tr><td colspan='2'>mochitest</td></tr>" + "<tr><td>Passed: </td>" + "<td>" + $("pass-count").innerHTML + "</td></tr>" + "<tr><td>Failed: </td>" + "<td>" + $("fail-count").innerHTML + "</td></tr>" + "<tr><td>Todo: </td>" + "<td>" + $("todo-count").innerHTML + "</td></tr></table>"); } 
add: TestRunner.logger.log("Passed: " + $("pass-count").innerHTML); TestRunner.logger.log("Failed: " + $("fail-count").innerHTML); TestRunner.logger.log("Todo:   " + $("todo-count").innerHTML); } 
context: TestRunner.runNextTest = function() {    if (TestRunner._currentTest < TestRunner._urls.length) {        var url = TestRunner._urls[TestRunner._currentTest];        $("current-test-path").innerHTML = url;                if (TestRunner.logEnabled)            TestRunner.logger.log("Running " + url + "...");                TestRunner._makeIframe(url);    }  else {        $("current-test").innerHTML = "<b>Finished</b>";        TestRunner._makeIframe("about:blank");        if (TestRunner.logEnabled) {            TestRunner.logger.log("SimpleTest FINISHED");	    TestRunner.logger.log("TinderboxPrint: <table cellpadding='0' " +				  "cellspacing='2' border='0'>" +				  "<tr><td colspan='2'>mochitest</td></tr>" +				  "<tr><td>Passed: </td>" +				  "<td>" + $("pass-count").innerHTML +				  "</td></tr>" +				  "<tr><td>Failed: </td>" +				  "<td>" + $("fail-count").innerHTML +				  "</td></tr>" +				  "<tr><td>Todo: </td>" +				  "<td>" + $("todo-count").innerHTML +				  "</td></tr></table>");		}        if (TestRunner.onComplete)            TestRunner.onComplete();    }};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/bc3226ce06013db8771eea22b2c1648737daf944/TestRunner.js/clean/testing/mochitest/tests/SimpleTest/TestRunner.js