public class NonConcurrentRunListener extends org.apache.maven.surefire.common.junit4.JUnit4RunListener implements ConsoleOutputReceiver
RunListener.ThreadSafe
reporter
Constructor and Description |
---|
NonConcurrentRunListener(RunListener reporter) |
Modifier and Type | Method and Description |
---|---|
protected SimpleReportEntry |
createReportEntry(Description description) |
protected SimpleReportEntry |
createReportEntryForTestSet(Description description) |
void |
testAssumptionFailure(Failure failure) |
void |
testFailure(Failure failure) |
void |
testFinished(Description description) |
void |
testIgnored(Description description) |
void |
testRunFinished(Result result) |
void |
testRunStarted(Description description) |
void |
testStarted(Description description) |
void |
writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout) |
createStackTraceWriter, extractClassName, extractMethodName, rethrowAnyTestMechanismFailures, testExecutionSkippedByUser
public NonConcurrentRunListener(RunListener reporter) throws TestSetFailedException
TestSetFailedException
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
writeTestOutput
in interface ConsoleOutputReceiver
protected SimpleReportEntry createReportEntry(Description description)
createReportEntry
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
protected SimpleReportEntry createReportEntryForTestSet(Description description)
public void testStarted(Description description) throws Exception
testStarted
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
Exception
public void testFinished(Description description) throws Exception
testFinished
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
Exception
public void testIgnored(Description description) throws Exception
testIgnored
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
Exception
public void testFailure(Failure failure) throws Exception
testFailure
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
Exception
public void testAssumptionFailure(Failure failure)
testAssumptionFailure
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
public void testRunStarted(Description description) throws Exception
testRunStarted
in class RunListener
Exception
public void testRunFinished(Result result) throws Exception
testRunFinished
in class RunListener
Exception
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.