|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.surefire.booterclient.output.PrintWriterOutputConsumer
public class PrintWriterOutputConsumer
Surefire output consumer that writes everything to a Writer
| Constructor Summary | |
|---|---|
PrintWriterOutputConsumer(PrintWriter writer)
Create a consumer that will write to the specified Writer |
|
PrintWriterOutputConsumer(Writer writer)
Create a consumer that will write to the specified Writer |
|
| Method Summary | |
|---|---|
void |
consumeFooterLine(String line)
Process a line from Surefire footer |
void |
consumeHeaderLine(String line)
Process a line from Surefire header |
void |
consumeMessageLine(String line)
Process a line with a Surefire message (not part of test output) |
void |
consumeOutputLine(String line)
Process a line from test output |
PrintWriter |
getPrintWriter()
Get the PrintWriter used by this object |
void |
testSetCompleted()
Do nothing |
void |
testSetStarting(ReportEntry reportEntry)
Do nothing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintWriterOutputConsumer(Writer writer)
Writer
writer - where to write topublic PrintWriterOutputConsumer(PrintWriter writer)
Writer
writer - where to write to| Method Detail |
|---|
public PrintWriter getPrintWriter()
PrintWriter used by this object
public void consumeHeaderLine(String line)
OutputConsumer
consumeHeaderLine in interface OutputConsumerline - the line to processpublic void consumeMessageLine(String line)
OutputConsumer
consumeMessageLine in interface OutputConsumerline - the line to processpublic void consumeFooterLine(String line)
OutputConsumer
consumeFooterLine in interface OutputConsumerline - the line to processpublic void consumeOutputLine(String line)
OutputConsumer
consumeOutputLine in interface OutputConsumerline - the line to processpublic void testSetStarting(ReportEntry reportEntry)
testSetStarting in interface OutputConsumerreportEntry - The ReportEntry with the name and group (optional) of the test that startspublic void testSetCompleted()
testSetCompleted in interface OutputConsumer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||