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

scala.tools.nsc.interactive.tests.core.Reporter.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package scala.tools.nsc.interactive.tests.core

private[tests] trait Reporter {
  def println(msg: Any): Unit
}

/** Reporter that simply prints all messages in the standard output.*/
private[tests] object ConsoleReporter extends Reporter {
  def println(msg: Any) { Console.println(msg) }
}

/** Reporter that swallows all passed message. */
private[tests] object NullReporter extends Reporter {
  def println(msg: Any) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy