diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/ClassMethodLocalString2.groovy.testClassMethodLocalString2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/ClassMethodLocalString2.groovy.testClassMethodLocalString2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/ClassMethodLocalString2.groovy.testClassMethodLocalString2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -9,11 +9,12 @@ METHOD getAt(String) Object METHOD getAt(int) String METHOD getBytes() [PUBLIC] byte[] +METHOD getBytes(Charset) [PUBLIC] byte[] METHOD getBytes(String) [PUBLIC] byte[] METHOD getBytes(int, int, byte[], int [PUBLIC] void METHOD getChars() char[] METHOD getChars(int, int, char[], int [PUBLIC] void -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/access/Access1.groovy.testBasicAccessLevels1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/access/Access1.groovy.testBasicAccessLevels1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/access/Access1.groovy.testBasicAccessLevels1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -25,7 +25,7 @@ METHOD findLastIndexOf(Closure) int METHOD findLastIndexOf(int, Closure) int METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ (1..3).any {println |} (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null PACKAGE com null PACKAGE groovy null PACKAGE groovyjarjarantlr null @@ -25,6 +26,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null @@ -81,9 +83,13 @@ CLASS ConfigObject null CLASS ConfigSlurper null CLASS ConnectException null +CLASS Console null CLASS ContentHandler null CLASS ContentHandlerFactory null CLASS CookieHandler null +CLASS CookieManager null +CLASS CookiePolicy null +CLASS CookieStore null CLASS Currency null CLASS DataInput null CLASS DataInputStream null @@ -98,6 +104,7 @@ CLASS DelegatingMetaClass null CLASS Deprecated null CLASS DeprecationException null +CLASS Deque null CLASS Dictionary null CLASS Double null CLASS DuplicateFormatFlagsException null @@ -170,9 +177,12 @@ CLASS HashMap null CLASS HashSet null CLASS Hashtable null +CLASS HttpCookie null CLASS HttpRetryException null CLASS HttpURLConnection null +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -207,6 +217,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null @@ -253,6 +264,8 @@ CLASS Mixin null CLASS MulticastSocket null CLASS MutableMetaClass null +CLASS NavigableMap null +CLASS NavigableSet null CLASS NegativeArraySizeException null CLASS NetPermission null CLASS NetworkInterface null @@ -352,6 +365,8 @@ CLASS Serializable null CLASS SerializablePermission null CLASS ServerSocket null +CLASS ServiceConfigurationError null +CLASS ServiceLoader null CLASS Set null CLASS Short null CLASS SimpleTimeZone null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,7 +2,9 @@ [3,4,5].each {println i|} (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -37,6 +39,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ (1..3).any {aa,ab -> println a|} (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null CLASS AbstractCollection null CLASS AbstractFactory null CLASS AbstractList null @@ -15,6 +16,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure5.completion --- a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure5.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure5.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,7 +2,9 @@ def t1 = {println i|} (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -37,6 +39,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure7.completion --- a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure7.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure7.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,7 +2,9 @@ "TestString".eachLine {String line -> println i|} (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -37,6 +39,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/collections/Collections1.groovy.testCollections5.completion --- a/groovy.editor/test/unit/data/testfiles/completion/collections/Collections1.groovy.testCollections5.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/collections/Collections1.groovy.testCollections5.completion Thu Mar 10 18:16:44 2011 +0100 @@ -49,7 +49,7 @@ METHOD getAt(IntRange) List METHOD getAt(String) List METHOD getAt(int) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getFrom() [PUBLIC] Comparable METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/duplicates/b/B.groovy.testDuplicates1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/duplicates/b/B.groovy.testDuplicates1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/duplicates/b/B.groovy.testDuplicates1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -16,6 +16,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/duplicates/d/D.groovy.testDuplicates3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/duplicates/d/D.groovy.testDuplicates3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/duplicates/d/D.groovy.testDuplicates3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -8,5 +8,6 @@ CLASS AbstractQueue null CLASS AbstractSequentialList null CLASS AbstractSet null +CLASS ArrayDeque null CLASS ArrayList null CLASS Arrays null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/grails/GrailsConfig1.groovy.testDataSourceClosure1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/grails/GrailsConfig1.groovy.testDataSourceClosure1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/grails/GrailsConfig1.groovy.testDataSourceClosure1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -29,7 +29,7 @@ METHOD findLastIndexOf(Closure) int METHOD findLastIndexOf(int, Closure) int METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getDelegate() [PUBLIC] Object METHOD getDirective() [PUBLIC] int METHOD getMaximumNumberOfParameters() [PUBLIC] int diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -4,7 +4,7 @@ ------------------------------------ METHOD getAt(String) Object METHOD getAuthority() [PUBLIC] String -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getContent() [PUBLIC] Object METHOD getContent(Class[]) [PUBLIC] Object METHOD getDefaultPort() [PUBLIC] int diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods4.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods4.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods4.completion Thu Mar 10 18:16:44 2011 +0100 @@ -29,7 +29,7 @@ METHOD findLastIndexOf(int, Closure) int METHOD getAt(String) Object METHOD getAuthority() [PUBLIC] String -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getContent() [PUBLIC] Object METHOD getContent(Class[]) [PUBLIC] Object METHOD getDefaultPort() [PUBLIC] int diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods10.groovy.testCompletionNoPrefixString1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods10.groovy.testCompletionNoPrefixString1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods10.groovy.testCompletionNoPrefixString1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -67,11 +67,12 @@ METHOD getAt(String) Object METHOD getAt(int) String METHOD getBytes() [PUBLIC] byte[] +METHOD getBytes(Charset) [PUBLIC] byte[] METHOD getBytes(String) [PUBLIC] byte[] METHOD getBytes(int, int, byte[], int [PUBLIC] void METHOD getChars() char[] METHOD getChars(int, int, char[], int [PUBLIC] void -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map @@ -92,6 +93,7 @@ METHOD isBigInteger() boolean METHOD isCase(Object) boolean METHOD isDouble() boolean +METHOD isEmpty() [PUBLIC] boolean METHOD isFloat() boolean METHOD isInteger() boolean METHOD isLong() boolean @@ -197,3 +199,4 @@ FIELD CASE_INSENSITIVE_ORDER [STATIC, Comparator FIELD bytes byte[] FIELD class Class +FIELD empty boolean diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods11.groovy.testCompletionNoPrefixString2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods11.groovy.testCompletionNoPrefixString2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods11.groovy.testCompletionNoPrefixString2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -67,11 +67,12 @@ METHOD getAt(String) Object METHOD getAt(int) String METHOD getBytes() [PUBLIC] byte[] +METHOD getBytes(Charset) [PUBLIC] byte[] METHOD getBytes(String) [PUBLIC] byte[] METHOD getBytes(int, int, byte[], int [PUBLIC] void METHOD getChars() char[] METHOD getChars(int, int, char[], int [PUBLIC] void -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map @@ -92,6 +93,7 @@ METHOD isBigInteger() boolean METHOD isCase(Object) boolean METHOD isDouble() boolean +METHOD isEmpty() [PUBLIC] boolean METHOD isFloat() boolean METHOD isInteger() boolean METHOD isLong() boolean @@ -197,3 +199,4 @@ FIELD CASE_INSENSITIVE_ORDER [STATIC, Comparator FIELD bytes byte[] FIELD class Class +FIELD empty boolean diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods12.groovy.testCompletionGeneratedAccessors1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods12.groovy.testCompletionGeneratedAccessors1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods12.groovy.testCompletionGeneratedAccessors1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -4,7 +4,7 @@ ------------------------------------ METHOD getAge() [PUBLIC] Object METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getName() [PUBLIC] String diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods13.groovy.testCompletionGroovyClass1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods13.groovy.testCompletionGroovyClass1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods13.groovy.testCompletionGroovyClass1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -23,7 +23,7 @@ METHOD findLastIndexOf(Closure) int METHOD findLastIndexOf(int, Closure) int METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods14.groovy.testCompletionGroovyThis1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods14.groovy.testCompletionGroovyThis1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods14.groovy.testCompletionGroovyThis1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -3,7 +3,7 @@ (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods15.groovy.testCompletionGroovySuper1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods15.groovy.testCompletionGroovySuper1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods15.groovy.testCompletionGroovySuper1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -25,7 +25,7 @@ METHOD findLastIndexOf(Closure) int METHOD findLastIndexOf(int, Closure) int METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods16.groovy.testCompletionNoDot3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods16.groovy.testCompletionNoDot3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods16.groovy.testCompletionNoDot3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,8 @@ n|o (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +CLASS NavigableMap null +CLASS NavigableSet null CLASS NegativeArraySizeException null CLASS NetPermission null CLASS NetworkInterface null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods2.groovy.testMethods5.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods2.groovy.testMethods5.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods2.groovy.testMethods5.completion Thu Mar 10 18:16:44 2011 +0100 @@ -35,7 +35,7 @@ METHOD findLastIndexOf(int, Closure) int METHOD floatValue() [PUBLIC] float METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods5.groovy.testCompletionInMethodCall2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods5.groovy.testCompletionInMethodCall2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods5.groovy.testCompletionInMethodCall2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ new File("something").c| (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +METHOD canExecute() [PUBLIC] boolean METHOD canRead() [PUBLIC] boolean METHOD canWrite() [PUBLIC] boolean METHOD collect(Closure) List diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -4,7 +4,7 @@ ------------------------------------ METHOD getAt(String) Object METHOD getAt(int) int -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getDate() [PUBLIC] int METHOD getDateString() String METHOD getDateTimeString() String diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -4,7 +4,7 @@ ------------------------------------ METHOD getAt(String) Object METHOD getAt(int) int -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getDate() [PUBLIC] int METHOD getDateString() String METHOD getDateTimeString() String diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideFor1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideFor1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideFor1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -4,7 +4,7 @@ ------------------------------------ METHOD getAt(String) Object METHOD getAt(int) int -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getDate() [PUBLIC] int METHOD getDateString() String METHOD getDateTimeString() String diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/operators/MethodClosure2.groovy.testMethodClosure4.completion --- a/groovy.editor/test/unit/data/testfiles/completion/operators/MethodClosure2.groovy.testMethodClosure4.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/operators/MethodClosure2.groovy.testMethodClosure4.completion Thu Mar 10 18:16:44 2011 +0100 @@ -67,11 +67,12 @@ METHOD getAt(String) Object METHOD getAt(int) String METHOD getBytes() [PUBLIC] byte[] +METHOD getBytes(Charset) [PUBLIC] byte[] METHOD getBytes(String) [PUBLIC] byte[] METHOD getBytes(int, int, byte[], int [PUBLIC] void METHOD getChars() char[] METHOD getChars(int, int, char[], int [PUBLIC] void -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map @@ -92,6 +93,7 @@ METHOD isBigInteger() boolean METHOD isCase(Object) boolean METHOD isDouble() boolean +METHOD isEmpty() [PUBLIC] boolean METHOD isFloat() boolean METHOD isInteger() boolean METHOD isLong() boolean diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/operators/SafeNavigation2.groovy.testSafeNavigation4.completion --- a/groovy.editor/test/unit/data/testfiles/completion/operators/SafeNavigation2.groovy.testSafeNavigation4.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/operators/SafeNavigation2.groovy.testSafeNavigation4.completion Thu Mar 10 18:16:44 2011 +0100 @@ -67,11 +67,12 @@ METHOD getAt(String) Object METHOD getAt(int) String METHOD getBytes() [PUBLIC] byte[] +METHOD getBytes(Charset) [PUBLIC] byte[] METHOD getBytes(String) [PUBLIC] byte[] METHOD getBytes(int, int, byte[], int [PUBLIC] void METHOD getChars() char[] METHOD getChars(int, int, char[], int [PUBLIC] void -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List METHOD getProperties() Map @@ -92,6 +93,7 @@ METHOD isBigInteger() boolean METHOD isCase(Object) boolean METHOD isDouble() boolean +METHOD isEmpty() [PUBLIC] boolean METHOD isFloat() boolean METHOD isInteger() boolean METHOD isLong() boolean @@ -197,3 +199,4 @@ FIELD CASE_INSENSITIVE_ORDER [STATIC, Comparator FIELD bytes byte[] FIELD class Class +FIELD empty boolean diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/transformations/Transformations2.groovy.testTransformations2.completion --- a/groovy.editor/test/unit/data/testfiles/completion/transformations/Transformations2.groovy.testTransformations2.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/transformations/Transformations2.groovy.testTransformations2.completion Thu Mar 10 18:16:44 2011 +0100 @@ -3,7 +3,7 @@ (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ METHOD getAt(String) Object -METHOD getClass() [PUBLIC] Class +METHOD getClass() [PUBLIC] Class METHOD getInstance() [STATIC, Transformations2 METHOD getMetaClass() MetaClass METHOD getMetaPropertyValues() List diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/types/InterfaceCompletion1.groovy.testInterfaceCompletion1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/types/InterfaceCompletion1.groovy.testInterfaceCompletion1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/types/InterfaceCompletion1.groovy.testInterfaceCompletion1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ class SpecialGroovyClass implements |Runnable, Serializable { (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null PACKAGE com null PACKAGE groovy null PACKAGE groovyjarjarantlr null @@ -23,9 +24,12 @@ CLASS Comparable null CLASS Comparator null CLASS ContentHandlerFactory null +CLASS CookiePolicy null +CLASS CookieStore null CLASS DataInput null CLASS DataOutput null CLASS DatagramSocketImplFactory null +CLASS Deque null CLASS Enumeration null CLASS EventListener null CLASS Externalizable null @@ -50,6 +54,8 @@ CLASS MetaClassRegistryChangeEventLi null CLASS MetaObjectProtocol null CLASS MutableMetaClass null +CLASS NavigableMap null +CLASS NavigableSet null CLASS ObjectInput null CLASS ObjectInputValidation null CLASS ObjectOutput null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables1.completion --- a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables1.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables1.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,7 +2,9 @@ i| (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -36,6 +38,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables3.completion --- a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables3.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables3.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ a| (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null CLASS AbstractCollection null CLASS AbstractFactory null CLASS AbstractList null @@ -15,6 +16,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables12.completion --- a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables12.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables12.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ println "Hello $name!" | (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null PACKAGE com null PACKAGE groovy null PACKAGE groovyjarjarantlr null @@ -25,6 +26,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null @@ -81,9 +83,13 @@ CLASS ConfigObject null CLASS ConfigSlurper null CLASS ConnectException null +CLASS Console null CLASS ContentHandler null CLASS ContentHandlerFactory null CLASS CookieHandler null +CLASS CookieManager null +CLASS CookiePolicy null +CLASS CookieStore null CLASS Currency null CLASS DataInput null CLASS DataInputStream null @@ -98,6 +104,7 @@ CLASS DelegatingMetaClass null CLASS Deprecated null CLASS DeprecationException null +CLASS Deque null CLASS Dictionary null CLASS Double null CLASS DuplicateFormatFlagsException null @@ -170,9 +177,12 @@ CLASS HashMap null CLASS HashSet null CLASS Hashtable null +CLASS HttpCookie null CLASS HttpRetryException null CLASS HttpURLConnection null +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -206,6 +216,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null @@ -252,6 +263,8 @@ CLASS Mixin null CLASS MulticastSocket null CLASS MutableMetaClass null +CLASS NavigableMap null +CLASS NavigableSet null CLASS NegativeArraySizeException null CLASS NetPermission null CLASS NetworkInterface null @@ -351,6 +364,8 @@ CLASS Serializable null CLASS SerializablePermission null CLASS ServerSocket null +CLASS ServiceConfigurationError null +CLASS ServiceLoader null CLASS Set null CLASS Short null CLASS SimpleTimeZone null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables13.completion --- a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables13.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables13.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ x | (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null PACKAGE com null PACKAGE groovy null PACKAGE groovyjarjarantlr null @@ -25,6 +26,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null @@ -81,9 +83,13 @@ CLASS ConfigObject null CLASS ConfigSlurper null CLASS ConnectException null +CLASS Console null CLASS ContentHandler null CLASS ContentHandlerFactory null CLASS CookieHandler null +CLASS CookieManager null +CLASS CookiePolicy null +CLASS CookieStore null CLASS Currency null CLASS DataInput null CLASS DataInputStream null @@ -98,6 +104,7 @@ CLASS DelegatingMetaClass null CLASS Deprecated null CLASS DeprecationException null +CLASS Deque null CLASS Dictionary null CLASS Double null CLASS DuplicateFormatFlagsException null @@ -170,9 +177,12 @@ CLASS HashMap null CLASS HashSet null CLASS Hashtable null +CLASS HttpCookie null CLASS HttpRetryException null CLASS HttpURLConnection null +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -206,6 +216,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null @@ -252,6 +263,8 @@ CLASS Mixin null CLASS MulticastSocket null CLASS MutableMetaClass null +CLASS NavigableMap null +CLASS NavigableSet null CLASS NegativeArraySizeException null CLASS NetPermission null CLASS NetworkInterface null @@ -351,6 +364,8 @@ CLASS Serializable null CLASS SerializablePermission null CLASS ServerSocket null +CLASS ServiceConfigurationError null +CLASS ServiceLoader null CLASS Set null CLASS Short null CLASS SimpleTimeZone null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables14.completion --- a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables14.completion Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables14.completion Thu Mar 10 18:16:44 2011 +0100 @@ -2,6 +2,7 @@ def x | (QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) ------------------------------------ +PACKAGE apple null PACKAGE com null PACKAGE groovy null PACKAGE groovyjarjarantlr null @@ -25,6 +26,7 @@ CLASS AntBuilder null CLASS Appendable null CLASS ArithmeticException null +CLASS ArrayDeque null CLASS ArrayIndexOutOfBoundsException null CLASS ArrayList null CLASS ArrayStoreException null @@ -81,9 +83,13 @@ CLASS ConfigObject null CLASS ConfigSlurper null CLASS ConnectException null +CLASS Console null CLASS ContentHandler null CLASS ContentHandlerFactory null CLASS CookieHandler null +CLASS CookieManager null +CLASS CookiePolicy null +CLASS CookieStore null CLASS Currency null CLASS DataInput null CLASS DataInputStream null @@ -98,6 +104,7 @@ CLASS DelegatingMetaClass null CLASS Deprecated null CLASS DeprecationException null +CLASS Deque null CLASS Dictionary null CLASS Double null CLASS DuplicateFormatFlagsException null @@ -170,9 +177,12 @@ CLASS HashMap null CLASS HashSet null CLASS Hashtable null +CLASS HttpCookie null CLASS HttpRetryException null CLASS HttpURLConnection null +CLASS IDN null CLASS IFileNameFinder null +CLASS IOError null CLASS IOException null CLASS IdentityHashMap null CLASS IllegalAccessError null @@ -206,6 +216,7 @@ CLASS IntRange null CLASS Integer null CLASS Interceptor null +CLASS InterfaceAddress null CLASS InternalError null CLASS InterruptedException null CLASS InterruptedIOException null @@ -252,6 +263,8 @@ CLASS Mixin null CLASS MulticastSocket null CLASS MutableMetaClass null +CLASS NavigableMap null +CLASS NavigableSet null CLASS NegativeArraySizeException null CLASS NetPermission null CLASS NetworkInterface null @@ -351,6 +364,8 @@ CLASS Serializable null CLASS SerializablePermission null CLASS ServerSocket null +CLASS ServiceConfigurationError null +CLASS ServiceLoader null CLASS Set null CLASS Short null CLASS SimpleTimeZone null diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyDeclarationFinderTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyDeclarationFinderTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyDeclarationFinderTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -155,7 +155,7 @@ " return Inner^Classes.Type.DUMMY_1;", "InnerClasses.java", 12); } - // TESTFAIL + // TESTFAIL x public void testInnerClasses2() throws Exception { checkDeclaration(TEST_BASE + "a/Declaration3.groovy", " return InnerClasses.Ty^pe.DUMMY_1;", "InnerClasses.java", 45); diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyIndexerTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyIndexerTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyIndexerTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -119,7 +119,7 @@ // }); } - // TESTFAIL + // TESTFAIL x public void testClasses() throws Exception { indexFile("testfiles/Hello.groovy"); FileObject fo = getTestFile("testfiles/Hello.groovy"); diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CodeCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CodeCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CodeCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -140,7 +140,6 @@ checkCompletion(TEST_BASE + "ClassMethodLocalString1.groovy", "localString.toL^", false); } - // TESTFAIL public void testClassMethodLocalString2() throws Exception { checkCompletion(TEST_BASE + "ClassMethodLocalString2.groovy", "localString.get^", false); } @@ -159,18 +158,15 @@ // Closure items named and unnamed - // TESTFAIL public void testInsideClosure1() throws Exception { checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {println ^}", false); } public void testInsideClosure2() throws Exception { - // TESTFAIL checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {println i^}", false); } public void testInsideClosure3() throws Exception { - // TESTFAIL checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {aa,ab -> println a^}", false); } @@ -178,7 +174,6 @@ checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {xu1,xu2,xu3 -> println xu^}", false); } - // TESTFAIL public void testInsideClosure5() throws Exception { checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "def t1 = {println i^}", false); } @@ -188,7 +183,6 @@ } public void testInsideClosure7() throws Exception { - // TESTFAIL checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "\"TestString\".eachLine {String line -> println i^}", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CollectionsTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CollectionsTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CollectionsTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -88,7 +88,6 @@ checkCompletion(TEST_BASE + "" + "Collections1.groovy", " 1..10.d^", false); } - // TESTFAIL public void testCollections5() throws Exception { checkCompletion(TEST_BASE + "" + "Collections1.groovy", " (1..10).^", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CompletionAccessTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CompletionAccessTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CompletionAccessTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -81,7 +81,6 @@ // FIXME this does not provide accurate results, but we need to test // at least basic closure completion - // TESTFAIL public void testBasicAccessLevels1() throws Exception { checkCompletion(TEST_BASE + "" + "Access1.groovy", " this.^", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/DuplicatesCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/DuplicatesCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/DuplicatesCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -83,16 +83,15 @@ return map; } - // TESTFAIL public void testDuplicates1() throws Exception { checkCompletion(TEST_BASE + "b/B.groovy", "class B extends A^ {", true); } + // TESTFAIL x public void testDuplicates2() throws Exception { checkCompletion(TEST_BASE + "c/C.groovy", "class C extends a.A^ {", true); } - // TESTFAIL public void testDuplicates3() throws Exception { checkCompletion(TEST_BASE + "d/D.groovy", "class D extends java.util.A^ {", true); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/GrailsConfigsTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/GrailsConfigsTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/GrailsConfigsTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -69,7 +69,6 @@ // FIXME this does not provide accurate results, but we need to test // at least basic closure completion - // TESTFAIL public void testDataSourceClosure1() throws Exception { checkCompletion(TEST_BASE + "" + "GrailsConfig1.groovy", "}.^", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -92,18 +92,15 @@ checkCompletion(TEST_BASE + "" + "Methods1.groovy", " new URL(\"http://google.com\").getP^r", false); } - // TESTFAIL public void testMethods3() throws Exception { checkCompletion(TEST_BASE + "" + "Methods1.groovy", " new URL(\"http://google.com\").get^Pr", false); } - // TESTFAIL public void testMethods4() throws Exception { checkCompletion(TEST_BASE + "" + "Methods1.groovy", " new URL(\"http://google.com\").^getPr", false); } public void testMethods5() throws Exception { - // TESTFAIL checkCompletion(TEST_BASE + "" + "Methods2.groovy", " new Byte().^", false); } @@ -112,7 +109,6 @@ } public void testCompletionInMethodCall2() throws Exception { - // TESTFAIL checkCompletion(TEST_BASE + "" + "Methods5.groovy", " new File(\"something\").c^", false); } @@ -140,27 +136,22 @@ checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(\"/\").equals(new Date().a^", false); } - // TESTFAIL public void testCompletionInsideConstructor2() throws Exception { checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(new Date().get^", false); } - // TESTFAIL public void testCompletionInsideConstructor3() throws Exception { checkCompletion(TEST_BASE + "" + "Methods9.groovy", "if (new File(new Date().get^", false); } - // TESTFAIL public void testCompletionInsideFor1() throws Exception { checkCompletion(TEST_BASE + "" + "Methods9.groovy", "for(new Date().get^", false); } - // TESTFAIL public void testCompletionNoPrefixString1() throws Exception { checkCompletion(TEST_BASE + "" + "Methods10.groovy", "println \"Hello $name!\".^", false); } - // TESTFAIL public void testCompletionNoPrefixString2() throws Exception { checkCompletion(TEST_BASE + "" + "Methods11.groovy", "def name='Petr'.^", false); } @@ -179,17 +170,14 @@ checkCompletion(TEST_BASE + "" + "Methods12.groovy", " new Test().set^", false); } - // TESTFAIL public void testCompletionGroovyClass1() throws Exception { checkCompletion(TEST_BASE + "" + "Methods13.groovy", " new Test1().^", false); } - // TESTFAIL public void testCompletionGroovyThis1() throws Exception { checkCompletion(TEST_BASE + "" + "Methods14.groovy", " this.get^", false); } - // TESTFAIL public void testCompletionGroovySuper1() throws Exception { checkCompletion(TEST_BASE + "" + "Methods15.groovy", " super.^", false); } @@ -202,7 +190,6 @@ checkCompletion(TEST_BASE + "" + "Methods16.groovy", " x^", false); } - // TESTFAIL public void testCompletionNoDot3() throws Exception { checkCompletion(TEST_BASE + "" + "Methods16.groovy", " n^", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/OperatorsCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/OperatorsCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/OperatorsCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -83,33 +83,33 @@ return map; } - public void testSafeNavigation1() throws Exception { - checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " x?.b^", true); - } - - public void testSafeNavigation2() throws Exception { - checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " this?.a^", true); - } - - public void testSafeNavigation3() throws Exception { - checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " r?.t^", true); - } +// public void testSafeNavigation1() throws Exception { +// checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " x?.b^", true); +// } +// +// public void testSafeNavigation2() throws Exception { +// checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " this?.a^", true); +// } +// +// public void testSafeNavigation3() throws Exception { +// checkCompletion(TEST_BASE + "SafeNavigation1.groovy", " r?.t^", true); +// } public void testSafeNavigation4() throws Exception { checkCompletion(TEST_BASE + "SafeNavigation2.groovy", " \"\"?.^", true); } - public void testMethodClosure1() throws Exception { - checkCompletion(TEST_BASE + "MethodClosure1.groovy", " x.&b^", true); - } - - public void testMethodClosure2() throws Exception { - checkCompletion(TEST_BASE + "MethodClosure1.groovy", " this.&a^", true); - } - - public void testMethodClosure3() throws Exception { - checkCompletion(TEST_BASE + "MethodClosure1.groovy", " r.&t^", true); - } +// public void testMethodClosure1() throws Exception { +// checkCompletion(TEST_BASE + "MethodClosure1.groovy", " x.&b^", true); +// } +// +// public void testMethodClosure2() throws Exception { +// checkCompletion(TEST_BASE + "MethodClosure1.groovy", " this.&a^", true); +// } +// +// public void testMethodClosure3() throws Exception { +// checkCompletion(TEST_BASE + "MethodClosure1.groovy", " r.&t^", true); +// } public void testMethodClosure4() throws Exception { checkCompletion(TEST_BASE + "MethodClosure2.groovy", " \"\".&^", true); diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TransformationsCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TransformationsCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TransformationsCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -87,7 +87,6 @@ checkCompletion(TEST_BASE + "Transformations1.groovy", " Transformations1.in^", true); } - // TESTFAIL public void testTransformations2() throws Exception { checkCompletion(TEST_BASE + "Transformations2.groovy", " Transformations2.get^", true); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TypesCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TypesCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TypesCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -163,7 +163,6 @@ // test if interfaces and only interfaces are proposed: - // TESTFAIL public void testInterfaceCompletion1() throws Exception { checkCompletion(TYPES_BASE + "" + "InterfaceCompletion1.groovy", "class SpecialGroovyClass implements ^Runnable, Serializable {", false); } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/VariablesCompletionTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/VariablesCompletionTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/VariablesCompletionTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -83,7 +83,6 @@ return map; } - // TESTFAIL public void testVariables1() throws Exception { checkCompletion(TEST_BASE + "Variables1.groovy", " i^", true); } @@ -92,7 +91,6 @@ checkCompletion(TEST_BASE + "Variables1.groovy", " it^", true); } - // TESTFAIL public void testVariables3() throws Exception { checkCompletion(TEST_BASE + "Variables1.groovy", " a^", true); } @@ -129,18 +127,15 @@ checkCompletion(TEST_BASE + "Variables2.groovy", " pa^", true); } - // TESTFAIL public void testVariables12() throws Exception { checkCompletion(TEST_BASE + "Variables3.groovy", "println \"Hello $name!\" ^", true); } public void testVariables13() throws Exception { - // TESTFAIL checkCompletion(TEST_BASE + "Variables3.groovy", " x ^", true); } public void testVariables14() throws Exception { - // TESTFAIL checkCompletion(TEST_BASE + "Variables3.groovy", " def x ^", true); } } diff -r b03017177859 -r 133279130015 groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProviderTest.java --- a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProviderTest.java Mon Mar 07 11:19:38 2011 +0100 +++ b/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProviderTest.java Thu Mar 10 18:16:44 2011 +0100 @@ -61,7 +61,6 @@ super(testName); } - // TESTFAIL public void testGeneratorWithClass() throws IOException { copyStringToFileObject(testFO, "class Foo {\n" + @@ -79,10 +78,10 @@ CharSequence charSequence = generator.generateClass(classNodes.get(0)); assertEquals( "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class Foo\n" + @@ -94,7 +93,6 @@ "}\n", charSequence); } - // TESTFAIL public void testGeneratorWithScript() throws IOException { copyStringToFileObject(testFO, "def closure1 = {\n" + @@ -110,10 +108,10 @@ CharSequence charSequence = generator.generateClass(classNodes.get(0)); assertEquals( "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class Test\n" + @@ -126,7 +124,6 @@ "}\n", charSequence); } - // TESTFAIL public void testGenerics() throws IOException { copyStringToFileObject(testFO, "class Foo {\n" + @@ -141,10 +138,10 @@ CharSequence charSequence = generator.generateClass(classNodes.get(0)); assertEquals( "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class Foo\n" + @@ -154,7 +151,6 @@ "}\n", charSequence); } - // TESTFAIL public void testImports() throws IOException { copyStringToFileObject(testFO, "import javax.swing.JPanel\n" + @@ -169,12 +165,13 @@ GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator(); CharSequence charSequence = generator.generateClass(classNodes.get(0)); - assertEquals("import groovy.util.*;\n" + + assertEquals( + "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + + "import javax.swing.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import javax.swing.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class MyTest\n" + @@ -184,7 +181,6 @@ "}\n", charSequence); } - // TESTFAIL public void testMultipleClasses() throws IOException { copyStringToFileObject(testFO, "class PostService {\n" + @@ -204,11 +200,12 @@ GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator(); CharSequence charSequence = generator.generateClass(classNodes.get(0)); - assertEquals("import groovy.util.*;\n"+ + assertEquals( + "import groovy.util.*;\n"+ + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class PostService\n" + @@ -220,11 +217,12 @@ "}\n", charSequence); charSequence = generator.generateClass(classNodes.get(1)); - assertEquals("import groovy.util.*;\n" + + assertEquals( + "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class PostException\n" + @@ -236,7 +234,6 @@ "}\n", charSequence); } - // TESTFAIL public void testThrowsClause() throws IOException { copyStringToFileObject(testFO, "class MyTest {\n"+ @@ -256,11 +253,12 @@ GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator(); CharSequence charSequence = generator.generateClass(classNodes.get(0)); - assertEquals("import groovy.util.*;\n" + + assertEquals( + "import groovy.util.*;\n" + + "import java.lang.*;\n" + + "import groovy.lang.*;\n" + "import java.util.*;\n" + "import java.io.*;\n" + - "import java.lang.*;\n" + - "import groovy.lang.*;\n" + "import java.net.*;\n" + "\n" + "public class MyTest\n" +