org.apache.maven.surefire.junit4
Class MockReporter
java.lang.Object
org.apache.maven.surefire.junit4.MockReporter
- All Implemented Interfaces:
- RunListener
public class MockReporter
- extends Object
- implements RunListener
Internal use only
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RUN_STARTED
public static final String RUN_STARTED
- See Also:
- Constant Field Values
RUN_COMPLETED
public static final String RUN_COMPLETED
- See Also:
- Constant Field Values
SET_STARTED
public static final String SET_STARTED
- See Also:
- Constant Field Values
SET_COMPLETED
public static final String SET_COMPLETED
- See Also:
- Constant Field Values
TEST_STARTED
public static final String TEST_STARTED
- See Also:
- Constant Field Values
TEST_COMPLETED
public static final String TEST_COMPLETED
- See Also:
- Constant Field Values
TEST_FAILED
public static final String TEST_FAILED
- See Also:
- Constant Field Values
TEST_ERROR
public static final String TEST_ERROR
- See Also:
- Constant Field Values
TEST_SKIPPED
public static final String TEST_SKIPPED
- See Also:
- Constant Field Values
MockReporter
public MockReporter()
MockReporter
public MockReporter(ReporterConfiguration reporterConfiguration)
runStarting
public void runStarting()
runCompleted
public void runCompleted()
testSetStarting
public void testSetStarting(ReportEntry report)
throws ReporterException
- Specified by:
testSetStarting
in interface RunListener
- Throws:
ReporterException
testSetCompleted
public void testSetCompleted(ReportEntry report)
throws ReporterException
- Specified by:
testSetCompleted
in interface RunListener
- Throws:
ReporterException
testStarting
public void testStarting(ReportEntry report)
- Specified by:
testStarting
in interface RunListener
testSucceeded
public void testSucceeded(ReportEntry report)
- Specified by:
testSucceeded
in interface RunListener
testSkipped
public void testSkipped(ReportEntry report)
- Specified by:
testSkipped
in interface RunListener
writeFooter
public void writeFooter(String footer)
writeDetailMessage
public void writeDetailMessage(String message)
getEvents
public List<String> getEvents()
getTestSucceeded
public int getTestSucceeded()
getTestIgnored
public int getTestIgnored()
getTestFailed
public int getTestFailed()
writeConsoleMessage
public void writeConsoleMessage(String message)
testError
public void testError(ReportEntry report)
- Specified by:
testError
in interface RunListener
testFailed
public void testFailed(ReportEntry report)
- Specified by:
testFailed
in interface RunListener
testAssumptionFailure
public void testAssumptionFailure(ReportEntry report)
- Specified by:
testAssumptionFailure
in interface RunListener
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.