diff options
author | François Garillot <francois@garillot.net> | 2013-02-19 02:53:47 +0100 |
---|---|---|
committer | François Garillot <francois@garillot.net> | 2013-02-19 03:11:35 +0100 |
commit | c10b7b652501630d4cd2818405c88791792b37eb (patch) | |
tree | 930a5ca4addc9733c5a8e6dc7f0915ede62f89d9 /test/files/presentation/ide-t1000567/Runner.scala | |
parent | 20ae01f4d86df1e33abaad76be171b596c8f39f3 (diff) | |
download | scala-c10b7b652501630d4cd2818405c88791792b37eb.tar.gz scala-c10b7b652501630d4cd2818405c88791792b37eb.tar.bz2 scala-c10b7b652501630d4cd2818405c88791792b37eb.zip |
unit test ide-t1000567 exercises SI-5063, aka #1000567.
Diffstat (limited to 'test/files/presentation/ide-t1000567/Runner.scala')
-rw-r--r-- | test/files/presentation/ide-t1000567/Runner.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/presentation/ide-t1000567/Runner.scala b/test/files/presentation/ide-t1000567/Runner.scala new file mode 100644 index 0000000000..77a618b60a --- /dev/null +++ b/test/files/presentation/ide-t1000567/Runner.scala @@ -0,0 +1,15 @@ +import scala.tools.nsc.interactive.tests.InteractiveTest + +// also known as SI-5013 + +object Test extends InteractiveTest { + + override def runDefaultTests(): Unit = { + val a = sourceFiles.find(_.file.name == "a.scala").head + val b = sourceFiles.find(_.file.name == "b.scala").head + askLoadedTyped(a).get + askLoadedTyped(b).get + super.runDefaultTests() + } + +} |