org.apache.maven.surefire.report
Class ForkingConsoleReporter
java.lang.Object
org.apache.maven.surefire.report.AbstractReporter
org.apache.maven.surefire.report.AbstractTextReporter
org.apache.maven.surefire.report.AbstractConsoleReporter
org.apache.maven.surefire.report.ConsoleReporter
org.apache.maven.surefire.report.ForkingConsoleReporter
- All Implemented Interfaces:
- Reporter
public class ForkingConsoleReporter
- extends ConsoleReporter
Surefire reporter that will prefix surefire output to make it easier to parse when forking tests
- Version:
- $Id: ForkingConsoleReporter.java 510866 2007-02-23 08:13:49Z brett $
Field Summary |
static java.lang.String |
FORKING_PREFIX_FOOTER
Surefire output lines part of the footer will start with this value |
static java.lang.String |
FORKING_PREFIX_HEADING
Surefire output lines part of the header will start with this value |
static java.lang.String |
FORKING_PREFIX_STANDARD
Surefire output lines not part of header or footer, nor test output will start with this value. |
Methods inherited from class org.apache.maven.surefire.report.AbstractReporter |
elapsedTimeAsString, getErrorSources, getFailureSources, getNumErrors, getNumFailures, getNumSkipped, getNumTests, getStackTrace, reset, runCompleted, runStopped, testStarting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORKING_PREFIX_STANDARD
public static final java.lang.String FORKING_PREFIX_STANDARD
- Surefire output lines not part of header or footer, nor test output will start with this value.
eg. "Running org.foo.BarTest" or "Tests run: ..."
- See Also:
- Constant Field Values
FORKING_PREFIX_HEADING
public static final java.lang.String FORKING_PREFIX_HEADING
- Surefire output lines part of the header will start with this value
- See Also:
- Constant Field Values
FORKING_PREFIX_FOOTER
public static final java.lang.String FORKING_PREFIX_FOOTER
- Surefire output lines part of the footer will start with this value
- See Also:
- Constant Field Values
ForkingConsoleReporter
public ForkingConsoleReporter(java.lang.Boolean trimStackTrace)
writeHeading
public void writeHeading(java.lang.String message)
- Write a header line prepending
FORKING_PREFIX_HEADING
- Overrides:
writeHeading
in class AbstractConsoleReporter
writeFooter
public void writeFooter(java.lang.String footer)
- Write a footer line prepending
FORKING_PREFIX_FOOTER
- Specified by:
writeFooter
in interface Reporter
- Overrides:
writeFooter
in class AbstractReporter
writeMessage
public void writeMessage(java.lang.String message)
- Write a surefire message line prepending
FORKING_PREFIX_STANDARD
- Specified by:
writeMessage
in interface Reporter
- Overrides:
writeMessage
in class AbstractTextReporter
Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.