public class ForkClient extends Object implements StreamConsumer
| Constructor and Description |
|---|
ForkClient(DefaultReporterFactory defaultReporterFactory,
Properties testVmSystemProperties) |
ForkClient(DefaultReporterFactory defaultReporterFactory,
Properties testVmSystemProperties,
TestProvidingInputStream testProvidingInputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean hadTimeout) |
void |
consumeLine(String s) |
void |
consumeMultiLineContent(String s) |
StackTraceWriter |
getErrorInFork() |
RunListener |
getReporter(Integer channelNumber)
Used when getting reporters on the plugin side of a fork.
|
boolean |
isErrorInFork() |
boolean |
isSaidGoodBye() |
public ForkClient(DefaultReporterFactory defaultReporterFactory, Properties testVmSystemProperties)
public ForkClient(DefaultReporterFactory defaultReporterFactory, Properties testVmSystemProperties, TestProvidingInputStream testProvidingInputStream)
public void consumeLine(String s)
consumeLine in interface StreamConsumerpublic void consumeMultiLineContent(String s) throws IOException
IOExceptionpublic RunListener getReporter(Integer channelNumber)
channelNumber - The logical channel numberpublic void close(boolean hadTimeout)
public boolean isSaidGoodBye()
public StackTraceWriter getErrorInFork()
public boolean isErrorInFork()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.