public class FileOutputConsumerProxy extends OutputConsumerProxy
File for each test suite.
This class is not threadsafe, but can be encapsulated with a SynchronizedOutputConsumer. It may still be
accessed from different threads (serially).| Constructor and Description |
|---|
FileOutputConsumerProxy(OutputConsumer outputConsumer,
java.io.File reportsDirectory)
Create a consumer that will write to a
File for each test |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeOutputLine(java.lang.String line)
Write the output to the current test file
|
void |
testSetCompleted()
Delegate to proxied
OutputConsumer |
void |
testSetStarting(ReportEntry reportEntry)
Delegate to proxied
OutputConsumer |
consumeFooterLine, consumeHeaderLine, consumeMessageLine, getOutputConsumerpublic FileOutputConsumerProxy(OutputConsumer outputConsumer, java.io.File reportsDirectory)
File for each testoutputConsumer - the output consumerreportsDirectory - directory where files will be savedpublic void testSetStarting(ReportEntry reportEntry)
OutputConsumerProxyOutputConsumertestSetStarting in interface OutputConsumertestSetStarting in class OutputConsumerProxyreportEntry - The ReportEntry with the name and group (optional) of the test that startspublic void testSetCompleted()
OutputConsumerProxyOutputConsumertestSetCompleted in interface OutputConsumertestSetCompleted in class OutputConsumerProxypublic void consumeOutputLine(java.lang.String line)
consumeOutputLine in interface OutputConsumerconsumeOutputLine in class OutputConsumerProxyline - the line to processCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.