diff options
author | Micro Dotta <mirco.dotta@gmail.com> | 2011-11-11 16:08:26 +0000 |
---|---|---|
committer | Micro Dotta <mirco.dotta@gmail.com> | 2011-11-11 16:08:26 +0000 |
commit | 78315845b10c9fc77c76c1440a780711c700ae0b (patch) | |
tree | 3212a2ee6b0a99a56b3dad9d0d2c8eb85725bc26 /test | |
parent | 7918510f4dd1914dfcf156c85e590857e2ac5054 (diff) | |
download | scala-78315845b10c9fc77c76c1440a780711c700ae0b.tar.gz scala-78315845b10c9fc77c76c1440a780711c700ae0b.tar.bz2 scala-78315845b10c9fc77c76c1440a780711c700ae0b.zip |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/disabled/presentation/ide-bug-1000349.check | 0 | ||||
-rw-r--r-- | test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala | 3 | ||||
-rw-r--r-- | test/files/presentation/ide-bug-1000349.check | 40 | ||||
-rw-r--r-- | test/files/presentation/ide-bug-1000349/Runner.scala (renamed from test/disabled/presentation/ide-bug-1000349/Runner.scala) | 0 | ||||
-rw-r--r-- | test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala | 7 |
5 files changed, 47 insertions, 3 deletions
diff --git a/test/disabled/presentation/ide-bug-1000349.check b/test/disabled/presentation/ide-bug-1000349.check deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/disabled/presentation/ide-bug-1000349.check +++ /dev/null diff --git a/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala b/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala deleted file mode 100644 index 55df2abc11..0000000000 --- a/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala +++ /dev/null @@ -1,3 +0,0 @@ -object Foo { - "".toString.leng /*!*/ -}
\ No newline at end of file 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/disabled/presentation/ide-bug-1000349/Runner.scala b/test/files/presentation/ide-bug-1000349/Runner.scala index 1ef3cf9025..1ef3cf9025 100644 --- a/test/disabled/presentation/ide-bug-1000349/Runner.scala +++ b/test/files/presentation/ide-bug-1000349/Runner.scala 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 |