From 78315845b10c9fc77c76c1440a780711c700ae0b Mon Sep 17 00:00:00 2001 From: Micro Dotta Date: Fri, 11 Nov 2011 16:08:26 +0000 Subject: Enabled Presentation Compiler test for IDE tick... Enabled Presentation Compiler test for IDE ticket #1000349, which has been fixed by odersky in r25625. no review. --- test/files/presentation/ide-bug-1000349.check | 40 ++++++++++++++++++++++ .../presentation/ide-bug-1000349/Runner.scala | 3 ++ .../src/CompletionOnEmptyArgMethod.scala | 7 ++++ 3 files changed, 50 insertions(+) create mode 100644 test/files/presentation/ide-bug-1000349.check create mode 100644 test/files/presentation/ide-bug-1000349/Runner.scala create mode 100644 test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala (limited to 'test/files') diff --git a/test/files/presentation/ide-bug-1000349.check b/test/files/presentation/ide-bug-1000349.check new file mode 100644 index 0000000000..9c070ef24e --- /dev/null +++ b/test/files/presentation/ide-bug-1000349.check @@ -0,0 +1,40 @@ +reload: CompletionOnEmptyArgMethod.scala + +askTypeCompletion at CompletionOnEmptyArgMethod.scala(2,17) +================================================================================ +[response] aksTypeCompletion at (2,17) +retrieved 37 members +`method !=(x$1: Any)Boolean` +`method !=(x$1: AnyRef)Boolean` +`method ##()Int` +`method +(other: String)String` +`method ->[B](y: B)(Foo, B)` +`method ==(x$1: Any)Boolean` +`method ==(x$1: AnyRef)Boolean` +`method asInstanceOf[T0]=> T0` +`method clone()Object` +`method ensuring(cond: Boolean)Foo` +`method ensuring(cond: Boolean, msg: => Any)Foo` +`method ensuring(cond: Foo => Boolean)Foo` +`method ensuring(cond: Foo => Boolean, msg: => Any)Foo` +`method eq(x$1: AnyRef)Boolean` +`method equals(x$1: Any)Boolean` +`method finalize()Unit` +`method foo=> Foo` +`method formatted(fmtstr: String)String` +`method hashCode()Int` +`method isInstanceOf[T0]=> Boolean` +`method ne(x$1: AnyRef)Boolean` +`method notify()Unit` +`method notifyAll()Unit` +`method synchronized[T0](x$1: T0)T0` +`method toString()String` +`method wait()Unit` +`method wait(x$1: Long)Unit` +`method wait(x$1: Long, x$2: Int)Unit` +`method x=> Foo` +`method →[B](y: B)(Foo, B)` +`value __leftOfArrowFoo` +`value __resultOfEnsuringFoo` +`value selfAny` +================================================================================ \ No newline at end of file diff --git a/test/files/presentation/ide-bug-1000349/Runner.scala b/test/files/presentation/ide-bug-1000349/Runner.scala new file mode 100644 index 0000000000..1ef3cf9025 --- /dev/null +++ b/test/files/presentation/ide-bug-1000349/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-bug-1000349/src/CompletionOnEmptyArgMethod.scala b/test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala new file mode 100644 index 0000000000..a3d8e8f067 --- /dev/null +++ b/test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala @@ -0,0 +1,7 @@ +object Foo { + new Foo().foo. /*!*/ +} + +class Foo { + def foo = this +} \ No newline at end of file -- cgit v1.2.3