public class NonConcurrentRunListener extends JUnit4RunListener implements ConsoleOutputReceiver
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, getClassName, rethrowAnyTestMechanismFailures
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 JUnit4RunListener
protected SimpleReportEntry createReportEntryForTestSet(Description description)
public void testStarted(Description description) throws Exception
testStarted
in class JUnit4RunListener
Exception
public void testFinished(Description description) throws Exception
testFinished
in class JUnit4RunListener
Exception
public void testIgnored(Description description) throws Exception
testIgnored
in class JUnit4RunListener
Exception
public void testFailure(Failure failure) throws Exception
testFailure
in class JUnit4RunListener
Exception
public void testAssumptionFailure(Failure failure)
testAssumptionFailure
in class 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–2013 The Apache Software Foundation. All rights reserved.