コード例 #1
0
ファイル: TestResponder.java プロジェクト: smryoo/fitnesse
 protected void close() throws Exception {
   response.add(HtmlUtil.getHtmlOfInheritedPage("PageFooter", page));
   response.add(formatter.tail());
   response.closeChunks();
   response.addTrailingHeader("Exit-Code", String.valueOf(exitCode()));
   response.closeTrailer();
   response.close();
 }
コード例 #2
0
ファイル: TestResponder.java プロジェクト: smryoo/fitnesse
 protected void startHtml() throws Exception {
   if (response.isXmlFormat()) {
     testResultsDocument = XmlUtil.newDocument();
     testResultsElement = testResultsDocument.createElement("testResults");
     testResultsDocument.appendChild(testResultsElement);
     XmlUtil.addTextNode(testResultsDocument, testResultsElement, "rootPath", page.getName());
   } else {
     buildHtml();
     addToResponse(formatter.head());
   }
 }
コード例 #3
0
ファイル: TestResponder.java プロジェクト: smryoo/fitnesse
 private void addEmptyContentMessage() throws Exception {
   response.add(formatter.messageForBlankHtml());
 }
コード例 #4
0
ファイル: TestResponder.java プロジェクト: smryoo/fitnesse
 protected void addLog() throws Exception {
   response.add(formatter.testSummary(assertionCounts));
   response.add(formatter.executionStatus(log));
 }