summaryrefslogtreecommitdiff
path: root/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-02-10 18:57:13 +0000
committerPaul Phillips <paulp@improving.org>2011-02-10 18:57:13 +0000
commitd54ad45ded6f0220b17246592a4c07ccb9e09184 (patch)
treec779594320a696199c3a7c04df7d6688d9d3d21e /test/files/presentation/simple-tests/SimpleInteractiveTest.scala
parent2b0f0a57c7b6a88084bf09b3115601e3fbee92b3 (diff)
downloadscala-d54ad45ded6f0220b17246592a4c07ccb9e09184.tar.gz
scala-d54ad45ded6f0220b17246592a4c07ccb9e09184.tar.bz2
scala-d54ad45ded6f0220b17246592a4c07ccb9e09184.zip
In support of project "A Better IDE...
reinstate the disabled test. COMMITTERS: the test is very fragile. If you don't run the whole test suite (it's the very last one which runs!) then you broke the build. Upon your toes you should be. For anyone unaware, test/partest --update-check path/to/test will magically pass any test and update the checkfile to resemble whatever output it just produced. Incautious use of this feature may negatively impact the mood of certain extempores. No review.
Diffstat (limited to 'test/files/presentation/simple-tests/SimpleInteractiveTest.scala')
-rw-r--r--test/files/presentation/simple-tests/SimpleInteractiveTest.scala11
1 files changed, 11 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..014fd24b6f
--- /dev/null
+++ b/test/files/presentation/simple-tests/SimpleInteractiveTest.scala
@@ -0,0 +1,11 @@
+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
+// settings.YpresentationDebug.value = true
+// override val synchronousRequests = false
+}