1 package org.apache.maven.surefire.report; 2 3 import java.io.PrintStream; 4 5 /** 6 * @author <a href="mailto:kristian@zenior.no">Kristian Rosenvold</a> 7 */ 8 public class DefaultDirectConsoleReporter 9 implements DirectConsoleReporter 10 { 11 private final PrintStream systemOut; 12 13 public DefaultDirectConsoleReporter( PrintStream systemOut ) { 14 this.systemOut = systemOut; 15 } 16 17 public void writeMessage(String message) { 18 systemOut.println(message); 19 } 20 }