public class TestReport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
extraErrorHtml |
protected String |
extraInfoHtml |
protected int |
numRetries |
protected static String |
RETURN |
protected static String |
TEST_REPORT_DEFAULT |
protected static String |
TEST_REPORT_PROPERTY |
protected String |
testReport |
protected static int |
WIDTH_PERCENTAGE |
protected PrintWriter |
writer |
| Constructor and Description |
|---|
TestReport(String name,
int numRetries) |
TestReport(String name,
int numRetries,
String htmlHeader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraErrorHtml(String html) |
void |
addExtraErrorText(String text) |
void |
addExtraInfoHtml(String html) |
void |
addExtraInfoText(String text) |
void |
appendCode(Object[] text) |
void |
appendCode(String text) |
void |
appendError(String text) |
void |
appendException(Throwable throwable,
TestScenario testScenario) |
void |
appendHeader(String text) |
void |
appendHtml(String html) |
void |
appendLine() |
void |
appendSuccess(String text) |
void |
appendText(Object[] text) |
void |
appendText(String text) |
void |
appendTitle(String text) |
void |
appendTrace(String text) |
void |
appendWarning(String text) |
void |
carriageReturn() |
String |
escapeHtml(String text) |
void |
flushExtraErrorHtml() |
void |
flushExtraInfoHtml() |
String |
getCode(String text) |
void |
initPage() |
protected static final String TEST_REPORT_PROPERTY
protected static final String TEST_REPORT_DEFAULT
protected String testReport
protected static final String RETURN
protected static final int WIDTH_PERCENTAGE
protected PrintWriter writer
protected String extraInfoHtml
protected String extraErrorHtml
protected int numRetries
public TestReport(String name, int numRetries)
public void initPage()
public void appendTitle(String text)
public void appendHeader(String text)
public void carriageReturn()
public void appendLine()
public void appendCode(String text)
public void appendCode(Object[] text)
public void appendText(Object[] text)
public void appendText(String text)
public void appendSuccess(String text)
public void appendWarning(String text)
public void appendError(String text)
public void appendHtml(String html)
public void appendTrace(String text)
public void appendException(Throwable throwable, TestScenario testScenario)
public void addExtraInfoText(String text)
public void addExtraInfoHtml(String html)
public void addExtraErrorText(String text)
public void addExtraErrorHtml(String html)
public void flushExtraInfoHtml()
public void flushExtraErrorHtml()
Copyright © 2015 Kurento. All rights reserved.