| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jameleon.reporting.AbstractTestRunReporter
net.sf.jameleon.reporting.HtmlTestRunReporter
public class HtmlTestRunReporter
Reports on all script results in a given test run as a summary in HTML. The current implementation reports a single result as an HTML table row.
| Field Summary | |
|---|---|
static String | 
DEFAULT_FOOTER_TEMPLATE
 | 
static String | 
DEFAULT_HEADER_TEMPLATE
 | 
static String | 
DEFAULT_RESULT_ROW_TEMPLATE
 | 
| Constructor Summary | |
|---|---|
HtmlTestRunReporter()
 | 
|
| Method Summary | |
|---|---|
 String | 
getTestResultRowTemplate()
Gets the template for the invidual test script result  | 
 String | 
getTestRunResultsFooterTemplate()
Gets the test run results footer template  | 
 String | 
getTestRunResultsHeaderTemplate()
Gets the template for the test run results header file  | 
 void | 
reportScriptResult(TestCaseTag tct,
                   TestCaseCounter counter)
Reports the result of the script.  | 
 void | 
reportTestRunComplete(Calendar startTime,
                      Calendar endTime,
                      TestCaseCounter counter)
Reports the completion of a test run.  | 
 void | 
reportTestRunStart(Calendar startTime)
Reports the start of a test run.  | 
 void | 
setTestResultRowTemplate(String testResultRowTemplate)
Sets the template for the invidual test script result  | 
 void | 
setTestRunResultsFooterTemplate(String testRunResultsFooterTemplate)
Sets the test run results footer template  | 
 void | 
setTestRunResultsHeaderTemplate(String testRunResultsHeaderTemplate)
Sets the template for the test run results header file  | 
| Methods inherited from class net.sf.jameleon.reporting.AbstractTestRunReporter | 
|---|
cleanUp, getWriter, setWriter | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String DEFAULT_HEADER_TEMPLATE
public static final String DEFAULT_FOOTER_TEMPLATE
public static final String DEFAULT_RESULT_ROW_TEMPLATE
| Constructor Detail | 
|---|
public HtmlTestRunReporter()
| Method Detail | 
|---|
public void reportScriptResult(TestCaseTag tct,
                               TestCaseCounter counter)
TestRunReporter
tct - The test case of the scriptcounter - The test case counter of the test runpublic void reportTestRunStart(Calendar startTime)
TestRunReporter
startTime - The time the test run was kicked off
public void reportTestRunComplete(Calendar startTime,
                                  Calendar endTime,
                                  TestCaseCounter counter)
TestRunReporter
startTime - The time the test run beganendTime - The time the test run was completedcounter - The number of test cases run passed and failed.public String getTestRunResultsFooterTemplate()
public void setTestRunResultsFooterTemplate(String testRunResultsFooterTemplate)
testRunResultsFooterTemplate - The test run results footer templatepublic String getTestRunResultsHeaderTemplate()
public void setTestRunResultsHeaderTemplate(String testRunResultsHeaderTemplate)
testRunResultsHeaderTemplate - The test run results templatepublic String getTestResultRowTemplate()
public void setTestResultRowTemplate(String testResultRowTemplate)
testResultRowTemplate - The template for the invidual test script result
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||