diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-04-20 19:08:36 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-04-20 22:57:41 +0200 |
commit | 89fd256787695774771b5d4509de493271267585 (patch) | |
tree | a58383ca643d0302e4de61d783cabb138a75c7b1 /test | |
parent | 016bc3db52d6f1ffa3ef2285d5801f82f5f49167 (diff) | |
download | scala-89fd256787695774771b5d4509de493271267585.tar.gz scala-89fd256787695774771b5d4509de493271267585.tar.bz2 scala-89fd256787695774771b5d4509de493271267585.zip |
scala.reflect.api: Reporters => FrontEnds
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/toolbox_console_reporter.scala | 4 | ||||
-rw-r--r-- | test/files/run/toolbox_silent_reporter.scala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/toolbox_console_reporter.scala b/test/files/run/toolbox_console_reporter.scala index fd244b40ec..1da9a6bc16 100644 --- a/test/files/run/toolbox_console_reporter.scala +++ b/test/files/run/toolbox_console_reporter.scala @@ -1,10 +1,10 @@ import scala.reflect.mirror._ object Test extends App { - // todo. cannot test this unfortunately, because ConsoleReporter grabs Console.out too early + // todo. cannot test this unfortunately, because ConsoleFrontEnd grabs Console.out too early // todo. and isn't affected by Console.setOut employed by partest to intercept output - //val toolbox = mkToolBox(reporter = mkConsoleReporter(), options = "-deprecation") + //val toolbox = mkToolBox(frontEnd = mkConsoleFrontEnd(), options = "-deprecation") //toolbox.runExpr(reify{ // object Utils { // @deprecated("test", "2.10.0") diff --git a/test/files/run/toolbox_silent_reporter.scala b/test/files/run/toolbox_silent_reporter.scala index 7e9259946b..5f264f7d74 100644 --- a/test/files/run/toolbox_silent_reporter.scala +++ b/test/files/run/toolbox_silent_reporter.scala @@ -11,6 +11,6 @@ object Test extends App { Utils.foo }) println("============compiler messages============") - toolbox.reporter.infos.foreach(println(_)) + toolbox.frontEnd.infos.foreach(println(_)) println("=========================================") }
\ No newline at end of file |