summaryrefslogtreecommitdiff
path: root/test/files/presentation
diff options
context:
space:
mode:
authorMicro Dotta <mirco.dotta@gmail.com>2011-11-11 17:06:48 +0000
committerMicro Dotta <mirco.dotta@gmail.com>2011-11-11 17:06:48 +0000
commitbac7d17ab106d2e42119347a3259b55a21609b88 (patch)
tree51db096501babcf04065e37c1a7fa45e3bb15be4 /test/files/presentation
parent1016522ec924794d3966b756c5b8b78af6acc1b9 (diff)
downloadscala-bac7d17ab106d2e42119347a3259b55a21609b88.tar.gz
scala-bac7d17ab106d2e42119347a3259b55a21609b88.tar.bz2
scala-bac7d17ab106d2e42119347a3259b55a21609b88.zip
Enabled Presentation Compiler test for IDE tick...
Enabled Presentation Compiler test for IDE ticket #1000609, which has been fixed by odersky. no review.
Diffstat (limited to 'test/files/presentation')
-rw-r--r--test/files/presentation/ide-t1000609.check6
-rw-r--r--test/files/presentation/ide-t1000609/Runner.scala3
-rw-r--r--test/files/presentation/ide-t1000609/src/NoHyperlinking.scala8
3 files changed, 17 insertions, 0 deletions
diff --git a/test/files/presentation/ide-t1000609.check b/test/files/presentation/ide-t1000609.check
new file mode 100644
index 0000000000..1094dbdcbf
--- /dev/null
+++ b/test/files/presentation/ide-t1000609.check
@@ -0,0 +1,6 @@
+reload: NoHyperlinking.scala
+
+askHyperlinkPos for `foo` at (7,10) NoHyperlinking.scala
+================================================================================
+[response] found askHyperlinkPos for `foo` at (2,7) NoHyperlinking.scala
+================================================================================ \ No newline at end of file
diff --git a/test/files/presentation/ide-t1000609/Runner.scala b/test/files/presentation/ide-t1000609/Runner.scala
new file mode 100644
index 0000000000..1ef3cf9025
--- /dev/null
+++ b/test/files/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/files/presentation/ide-t1000609/src/NoHyperlinking.scala b/test/files/presentation/ide-t1000609/src/NoHyperlinking.scala
new file mode 100644
index 0000000000..d4bedaf9ee
--- /dev/null
+++ b/test/files/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