diff options
author | Mirco Dotta <mirco.dotta@typesafe.com> | 2012-06-25 16:57:04 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-07-05 12:12:40 +0200 |
commit | 4b6ae392a7aaf147de3991998d52be5e7b7e665e (patch) | |
tree | f65bef9d84f473e1980d8833644c267c4317a0e0 /test/files/presentation/hyperlinks | |
parent | 33936243bdf597e438de8d10ae7b3ed30454be9f (diff) | |
download | scala-4b6ae392a7aaf147de3991998d52be5e7b7e665e.tar.gz scala-4b6ae392a7aaf147de3991998d52be5e7b7e665e.tar.bz2 scala-4b6ae392a7aaf147de3991998d52be5e7b7e665e.zip |
Enhanced presentation compiler test infrastructure
* Removed unneeded .flags.
* Renamed a few methods in `InteractiveTest`.
* Force the presentation compiler to shut down after each test.
* -sourcepath in the .flags file is now relative to the test's base directory.
* Use `InteractiveReporter` in Presentation Compiler tests.
By using the `InteractiveReporter`, compilation errors are collected in the
compilation unit. This was necessary for testing SI-5975.
Diffstat (limited to 'test/files/presentation/hyperlinks')
-rw-r--r-- | test/files/presentation/hyperlinks/Runner.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/presentation/hyperlinks/Runner.scala b/test/files/presentation/hyperlinks/Runner.scala index 3d19f2d948..61da49a3d7 100644 --- a/test/files/presentation/hyperlinks/Runner.scala +++ b/test/files/presentation/hyperlinks/Runner.scala @@ -1,11 +1,11 @@ import scala.tools.nsc.interactive.tests.InteractiveTest object Test extends InteractiveTest { - override def runTests() { + override def runDefaultTests() { // make sure typer is done.. the virtual pattern matcher might translate // some trees and mess up positions. But we'll catch it red handed! sourceFiles foreach (src => askLoadedTyped(src).get) - super.runTests() + super.runDefaultTests() } }
\ No newline at end of file |