From bac7d17ab106d2e42119347a3259b55a21609b88 Mon Sep 17 00:00:00 2001 From: Micro Dotta Date: Fri, 11 Nov 2011 17:06:48 +0000 Subject: Enabled Presentation Compiler test for IDE tick... Enabled Presentation Compiler test for IDE ticket #1000609, which has been fixed by odersky. no review. --- test/disabled/presentation/ide-t1000609.check | 0 test/disabled/presentation/ide-t1000609/Runner.scala | 3 --- test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala | 8 -------- test/files/presentation/ide-t1000609.check | 6 ++++++ test/files/presentation/ide-t1000609/Runner.scala | 3 +++ test/files/presentation/ide-t1000609/src/NoHyperlinking.scala | 8 ++++++++ 6 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 test/disabled/presentation/ide-t1000609.check delete mode 100644 test/disabled/presentation/ide-t1000609/Runner.scala delete mode 100644 test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala create mode 100644 test/files/presentation/ide-t1000609.check create mode 100644 test/files/presentation/ide-t1000609/Runner.scala create mode 100644 test/files/presentation/ide-t1000609/src/NoHyperlinking.scala (limited to 'test') diff --git a/test/disabled/presentation/ide-t1000609.check b/test/disabled/presentation/ide-t1000609.check deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/test/disabled/presentation/ide-t1000609/Runner.scala b/test/disabled/presentation/ide-t1000609/Runner.scala deleted file mode 100644 index 1ef3cf9025..0000000000 --- a/test/disabled/presentation/ide-t1000609/Runner.scala +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d4bedaf9ee..0000000000 --- a/test/disabled/presentation/ide-t1000609/src/NoHyperlinking.scala +++ /dev/null @@ -1,8 +0,0 @@ -class Foo { - def foo(a: Int) = a -} - -object Test { - val a = new Foo - a.foo() /*#*/ -} \ No newline at end of file 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 -- cgit v1.2.3