summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMicro Dotta <mirco.dotta@gmail.com>2011-09-16 09:11:56 +0000
committerMicro Dotta <mirco.dotta@gmail.com>2011-09-16 09:11:56 +0000
commit36bdc192b2f170d06354253e82c2b17d78704b82 (patch)
treee038332b05a308220721e922838afb82da06862f /test
parent3b357972e911aed24842f4c2229058b4a1311d1b (diff)
downloadscala-36bdc192b2f170d06354253e82c2b17d78704b82.tar.gz
scala-36bdc192b2f170d06354253e82c2b17d78704b82.tar.bz2
scala-36bdc192b2f170d06354253e82c2b17d78704b82.zip
Added new disabled test for eclipse scala-ide t...
Added new disabled test for eclipse scala-ide ticket1000609. Corrected test framework to fail nicely when the tree retrieved after an has no associated symbol.
Diffstat (limited to 'test')
-rw-r--r--test/disabled/presentation/ide-t1000609.check0
-rw-r--r--test/disabled/presentation/ide-t1000609/Runner.scala3
-rw-r--r--test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala8
3 files changed, 11 insertions, 0 deletions
diff --git a/test/disabled/presentation/ide-t1000609.check b/test/disabled/presentation/ide-t1000609.check
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/disabled/presentation/ide-t1000609.check
diff --git a/test/disabled/presentation/ide-t1000609/Runner.scala b/test/disabled/presentation/ide-t1000609/Runner.scala
new file mode 100644
index 0000000000..1ef3cf9025
--- /dev/null
+++ b/test/disabled/presentation/ide-t1000609/Runner.scala
@@ -0,0 +1,3 @@
+import scala.tools.nsc.interactive.tests._
+
+object Test extends InteractiveTest \ No newline at end of file
diff --git a/test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala b/test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala
new file mode 100644
index 0000000000..d4bedaf9ee
--- /dev/null
+++ b/test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala
@@ -0,0 +1,8 @@
+class Foo {
+ def foo(a: Int) = a
+}
+
+object Test {
+ val a = new Foo
+ a.foo() /*#*/
+} \ No newline at end of file