org.apache.maven.surefire.junitcore
Class LogicalStream

java.lang.Object
  extended by org.apache.maven.surefire.junitcore.LogicalStream

public class LogicalStream
extends Object

A stream-like object that preserves ordering between stdout/stderr


Constructor Summary
LogicalStream()
           
 
Method Summary
 String getOutput(boolean stdOut)
           
 void write(boolean stdout, byte[] b, int off, int len)
           
 void writeDetails(ConsoleOutputReceiver outputReceiver)
           
 void writeDetails(Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalStream

public LogicalStream()
Method Detail

write

public void write(boolean stdout,
                  byte[] b,
                  int off,
                  int len)

writeDetails

public void writeDetails(Reporter reporter)

writeDetails

public void writeDetails(ConsoleOutputReceiver outputReceiver)

getOutput

public String getOutput(boolean stdOut)


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.