public class MockReporter extends Object implements RunListener
| Modifier and Type | Field and Description |
|---|---|
static String |
SET_COMPLETED |
static String |
SET_STARTED |
static String |
TEST_COMPLETED |
static String |
TEST_SKIPPED |
static String |
TEST_STARTED |
| Constructor and Description |
|---|
MockReporter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTestFailed() |
int |
getTestSucceeded() |
void |
testAssumptionFailure(ReportEntry report)
Event fired when a test assumption failure was encountered.
|
void |
testError(ReportEntry report)
Event fired when a test ended with an error (non anticipated problem)
|
void |
testFailed(ReportEntry report)
Event fired when a test ended with a failure (anticipated problem)
|
void |
testSetCompleted(ReportEntry report)
Indicates end of a given test-set
|
void |
testSetStarting(ReportEntry report)
Indicates the start of a given test-set
|
void |
testSkipped(ReportEntry report)
Event fired when a test is skipped
|
void |
testStarting(ReportEntry report)
Event fired when a test is about to start
|
void |
testSucceeded(ReportEntry report)
Event fired when a test ended successfully
|
public static final String SET_STARTED
public static final String SET_COMPLETED
public static final String TEST_STARTED
public static final String TEST_COMPLETED
public static final String TEST_SKIPPED
public void testSetStarting(ReportEntry report)
RunListenertestSetStarting in interface RunListenerreport - the report entry describing the testsetpublic void testSetCompleted(ReportEntry report)
RunListenertestSetCompleted in interface RunListenerreport - the report entry describing the testsetpublic void testStarting(ReportEntry report)
RunListenertestStarting in interface RunListenerreport - The report entry to log forpublic void testSucceeded(ReportEntry report)
RunListenertestSucceeded in interface RunListenerreport - The report entry to log forpublic void testSkipped(ReportEntry report)
RunListenertestSkipped in interface RunListenerreport - The report entry to log forpublic int getTestSucceeded()
public int getTestFailed()
public void testError(ReportEntry report)
RunListenertestError in interface RunListenerreport - The report entry to log forpublic void testFailed(ReportEntry report)
RunListenertestFailed in interface RunListenerreport - The report entry to log forpublic void testAssumptionFailure(ReportEntry report)
RunListenertestAssumptionFailure in interface RunListenerreport - The report entry to log forCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.