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, RunReporter
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 1063892 2011-01-26 22:04:57Z krosenvold $
Methods inherited from class org.apache.maven.surefire.report.AbstractTextReporter |
getElapsedTimeSummary, getOutput, getTestSetSummary, isTestSetCompletedMessage, reset, setWriter, testError, testFailed, testSetCompleted, testSkipped, testSucceeded, writeDetailMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORKING_PREFIX_STANDARD
public static final 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 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 String FORKING_PREFIX_FOOTER
- Surefire output lines part of the footer will start with this value
- See Also:
- Constant Field Values
ForkingConsoleReporter
public ForkingConsoleReporter(ReporterConfiguration reporterConfiguration)
writeFooter
public void writeFooter(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(String message)
- Write a surefire message line prepending
FORKING_PREFIX_STANDARD
- Specified by:
writeMessage
in interface Reporter
- Overrides:
writeMessage
in class AbstractTextReporter
- Parameters:
message
- The message to write.
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.