|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.surefire.booterclient.output.SynchronizedOutputConsumer
public class SynchronizedOutputConsumer
Imposes synchronization on a non-thredsafe OutputConsumer
Constructor Summary | |
---|---|
SynchronizedOutputConsumer(OutputConsumer target)
|
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 |
void |
testSetCompleted()
This method will be called when a test set ends, after consuming all its surefire message lines. |
void |
testSetStarting(ReportEntry reportEntry)
This method will be called when a test set starts, before consuming surefire message lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizedOutputConsumer(OutputConsumer target)
Method Detail |
---|
public void consumeHeaderLine(String line)
OutputConsumer
consumeHeaderLine
in interface OutputConsumer
line
- the line to processpublic void consumeMessageLine(String line)
OutputConsumer
consumeMessageLine
in interface OutputConsumer
line
- the line to processpublic void consumeFooterLine(String line)
OutputConsumer
consumeFooterLine
in interface OutputConsumer
line
- the line to processpublic void consumeOutputLine(String line)
OutputConsumer
consumeOutputLine
in interface OutputConsumer
line
- the line to processpublic void testSetStarting(ReportEntry reportEntry)
OutputConsumer
testSetStarting
in interface OutputConsumer
reportEntry
- The ReportEntry
with the name and group (optional) of the test that startspublic void testSetCompleted()
OutputConsumer
testSetCompleted
in interface OutputConsumer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |