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 |
|---|---|
boolean |
containsNotification(String event) |
int |
getTestFailed() |
int |
getTestSucceeded() |
void |
testAssumptionFailure(ReportEntry report) |
void |
testError(ReportEntry report) |
void |
testExecutionSkippedByUser() |
void |
testFailed(ReportEntry report) |
void |
testSetCompleted(TestSetReportEntry report) |
void |
testSetStarting(TestSetReportEntry report) |
void |
testSkipped(ReportEntry report) |
void |
testSkippedByUser(ReportEntry report) |
void |
testStarting(ReportEntry report) |
void |
testSucceeded(ReportEntry report) |
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(TestSetReportEntry report)
testSetStarting in interface RunListenerpublic void testSetCompleted(TestSetReportEntry report)
testSetCompleted in interface RunListenerpublic void testStarting(ReportEntry report)
testStarting in interface RunListenerpublic void testSucceeded(ReportEntry report)
testSucceeded in interface RunListenerpublic void testSkipped(ReportEntry report)
testSkipped in interface RunListenerpublic void testExecutionSkippedByUser()
testExecutionSkippedByUser in interface RunListenerpublic void testSkippedByUser(ReportEntry report)
public int getTestSucceeded()
public int getTestFailed()
public void testError(ReportEntry report)
testError in interface RunListenerpublic void testFailed(ReportEntry report)
testFailed in interface RunListenerpublic void testAssumptionFailure(ReportEntry report)
testAssumptionFailure in interface RunListenerpublic boolean containsNotification(String event)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.