All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.testsystems.ConsoleExecutionLogListener Maven / Gradle / Ivy

The newest version!
package fitnesse.testsystems;

public class ConsoleExecutionLogListener implements ExecutionLogListener {
  @Override
  public void commandStarted(ExecutionContext context) {
	    System.out.println(context.getTestSystemName());
	    System.out.println(context.getCommand());
  }

  @Override
  public void stdOut(String output) {
    System.out.println(output);
  }

  @Override
  public void stdErr(String output) {
    System.err.println(output);
  }

  @Override
  public void exitCode(int exitCode) {
  }

  @Override
  public void exceptionOccurred(Throwable e) {
    e.printStackTrace();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy