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