org.apache.maven.plugin.surefire.booterclient
Class MockReporter
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.MockReporter
- All Implemented Interfaces:
- ConsoleLogger, ConsoleOutputReceiver, RunListener
public class MockReporter
- extends java.lang.Object
- implements RunListener, ConsoleLogger, ConsoleOutputReceiver
Internal use only
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SET_STARTING
public static final java.lang.String SET_STARTING
- See Also:
- Constant Field Values
SET_COMPLETED
public static final java.lang.String SET_COMPLETED
- See Also:
- Constant Field Values
TEST_STARTING
public static final java.lang.String TEST_STARTING
- See Also:
- Constant Field Values
TEST_SUCCEEDED
public static final java.lang.String TEST_SUCCEEDED
- See Also:
- Constant Field Values
TEST_FAILED
public static final java.lang.String TEST_FAILED
- See Also:
- Constant Field Values
TEST_ERROR
public static final java.lang.String TEST_ERROR
- See Also:
- Constant Field Values
TEST_SKIPPED
public static final java.lang.String TEST_SKIPPED
- See Also:
- Constant Field Values
TEST_ASSUMPTION_FAIL
public static final java.lang.String TEST_ASSUMPTION_FAIL
- See Also:
- Constant Field Values
CONSOLE_OUTPUT
public static final java.lang.String CONSOLE_OUTPUT
- See Also:
- Constant Field Values
STDOUT
public static final java.lang.String STDOUT
- See Also:
- Constant Field Values
STDERR
public static final java.lang.String STDERR
- See Also:
- Constant Field Values
MockReporter
public MockReporter()
testSetStarting
public void testSetStarting(ReportEntry report)
- Specified by:
testSetStarting in interface RunListener
testSetCompleted
public void testSetCompleted(ReportEntry report)
- Specified by:
testSetCompleted in interface RunListener
testStarting
public void testStarting(ReportEntry report)
- Specified by:
testStarting in interface RunListener
testSucceeded
public void testSucceeded(ReportEntry report)
- Specified by:
testSucceeded in interface RunListener
testError
public void testError(ReportEntry report)
- Specified by:
testError in interface RunListener
testFailed
public void testFailed(ReportEntry report)
- Specified by:
testFailed in interface RunListener
testSkipped
public void testSkipped(ReportEntry report)
- Specified by:
testSkipped in interface RunListener
getEvents
public java.util.List getEvents()
getData
public java.util.List getData()
getFirstEvent
public java.lang.String getFirstEvent()
getFirstData
public ReportEntry getFirstData()
testAssumptionFailure
public void testAssumptionFailure(ReportEntry report)
- Specified by:
testAssumptionFailure in interface RunListener
info
public void info(java.lang.String message)
- Specified by:
info in interface ConsoleLogger
writeTestOutput
public void writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
- Specified by:
writeTestOutput in interface ConsoleOutputReceiver
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.