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) |
void |
testError(ReportEntry report) |
void |
testFailed(ReportEntry report) |
void |
testSetCompleted(ReportEntry report) |
void |
testSetStarting(ReportEntry report) |
void |
testSkipped(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(ReportEntry report)
testSetStarting
in interface RunListener
public void testSetCompleted(ReportEntry 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 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
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.