summaryrefslogtreecommitdiff
path: root/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-01-24 19:17:32 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-01-24 19:17:32 +0000
commitf253b67d4a50a066fb91ce03fa1eb12db9a9c1e0 (patch)
tree17921974620182355dab935e09f864a24cd5789d /test/files/presentation/simple-tests/SimpleInteractiveTest.scala
parente07ca49a24d15ab1b279203ad208153a44732550 (diff)
downloadscala-f253b67d4a50a066fb91ce03fa1eb12db9a9c1e0.tar.gz
scala-f253b67d4a50a066fb91ce03fa1eb12db9a9c1e0.tar.bz2
scala-f253b67d4a50a066fb91ce03fa1eb12db9a9c1e0.zip
Added presentation compiler tests.
Diffstat (limited to 'test/files/presentation/simple-tests/SimpleInteractiveTest.scala')
-rw-r--r--test/files/presentation/simple-tests/SimpleInteractiveTest.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/presentation/simple-tests/SimpleInteractiveTest.scala b/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
new file mode 100644
index 0000000000..0456f9f5e7
--- /dev/null
+++ b/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
@@ -0,0 +1,9 @@
+import scala.tools.nsc.interactive.tests._
+
+/** Simple test that shows how to use the InteractiveTest class. It uses the
+ * inherited runTest method that runs completion and typedAt tests on all
+ * sources found under src/
+ */
+object Test extends InteractiveTest {
+ override val runRandomTests = false
+}