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 String |
testReport |
protected static int |
WIDTH_PERCENTAGE |
protected PrintWriter |
writer |
| Constructor and Description |
|---|
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) |
static TestReport |
getSingleton(String name,
int numRetries) |
static TestReport |
getSingleton(String name,
int numRetries,
String htmlHeader) |
void |
initPage() |
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 static TestReport getSingleton(String name, int numRetries)
public static TestReport getSingleton(String name, int numRetries, String htmlHeader)
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 © 2021 Kurento. All rights reserved.