summaryrefslogtreecommitdiff
path: root/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
diff options
context:
space:
mode:
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
+}