Class StreamPair

java.lang.Object
com.github.sbt.junit.jupiter.api.StreamPair

public class StreamPair extends Object
Standard output and error stream pair.
  • Constructor Details

    • StreamPair

      public StreamPair(PrintStream out, PrintStream err)
      Creates a stream pair from the given output and error print stream.
      Parameters:
      out - The standard output print stream.
      err - the error output print stream.
  • Method Details

    • get

      public PrintStream get(StreamPair.Type type)
      Parameters:
      type - The requested type.
      Returns:
      The print stream of the specified type.