org.apache.maven.plugin.surefire.report
Class ConsoleOutputFileReporter
java.lang.Object
org.apache.maven.plugin.surefire.report.ConsoleOutputFileReporter
- All Implemented Interfaces:
- TestcycleConsoleOutputReceiver, ConsoleOutputReceiver
public class ConsoleOutputFileReporter
- extends Object
- implements TestcycleConsoleOutputReceiver
Surefire output consumer proxy that writes test output to a File
for each test suite.
This class is not threadsafe, but can be serially handed off from thread to thread.
- Author:
- Kristian Rosenvold, Carlos Sanchez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleOutputFileReporter
public ConsoleOutputFileReporter(File reportsDirectory,
String reportNameSuffix)
testSetStarting
public void testSetStarting(ReportEntry reportEntry)
- Specified by:
testSetStarting
in interface TestcycleConsoleOutputReceiver
testSetCompleted
public void testSetCompleted(ReportEntry report)
throws ReporterException
- Specified by:
testSetCompleted
in interface TestcycleConsoleOutputReceiver
- Throws:
ReporterException
close
public void close()
- Specified by:
close
in interface TestcycleConsoleOutputReceiver
writeTestOutput
public void writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
- Specified by:
writeTestOutput
in interface ConsoleOutputReceiver
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.