assertSubString("<script>document.getElementById(\"test-summary\").innerHTML =" +
" \"<div id=\\\"progressBar\\\" class=\\\"pass\\\" style=\\\"width:0.0%\\\">", pageBuffer.toString());
assertSubString("Running tests ... (1/20)", pageBuffer.toString());
pageBuffer.setLength(0);
formatter.processTestResults("RelativeName", new TestSummary(1, 0, 0, 0));
formatter.announceStartNewTest("RelativeName", "FullName");
assertSubString("<script>document.getElementById(\"test-summary\").innerHTML =" +
" \"<div id=\\\"progressBar\\\" class=\\\"pass\\\" style=\\\"width:5.0%\\\">", pageBuffer.toString());
assertSubString("(2/20)", pageBuffer.toString());
pageBuffer.setLength(0);
formatter.processTestResults("RelativeName", new TestSummary(1, 0, 0, 0));
formatter.announceStartNewTest("RelativeName", "FullName");
assertSubString("<script>document.getElementById(\"test-summary\").innerHTML =" +
" \"<div id=\\\"progressBar\\\" class=\\\"pass\\\" style=\\\"width:10.0%\\\">", pageBuffer.toString());
assertSubString("(3/20)", pageBuffer.toString());