This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 196812
Collapse All | Expand All

(-)a/groovy.editor/test/unit/data/testfiles/completion/ClassMethodLocalString2.groovy.testClassMethodLocalString2.completion (-1 / +2 lines)
Lines 9-19 Link Here
9
METHOD     getAt(String)                              Object
9
METHOD     getAt(String)                              Object
10
METHOD     getAt(int)                                 String
10
METHOD     getAt(int)                                 String
11
METHOD     getBytes()                      [PUBLIC]   byte[]
11
METHOD     getBytes()                      [PUBLIC]   byte[]
12
METHOD     getBytes(Charset)               [PUBLIC]   byte[]
12
METHOD     getBytes(String)                [PUBLIC]   byte[]
13
METHOD     getBytes(String)                [PUBLIC]   byte[]
13
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
14
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
14
METHOD     getChars()                                 char[]
15
METHOD     getChars()                                 char[]
15
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
16
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
16
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
17
METHOD     getClass()                      [PUBLIC]   Class<?>
17
METHOD     getMetaClass()                             MetaClass
18
METHOD     getMetaClass()                             MetaClass
18
METHOD     getMetaPropertyValues()                    List
19
METHOD     getMetaPropertyValues()                    List
19
METHOD     getProperties()                            Map
20
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/access/Access1.groovy.testBasicAccessLevels1.completion (-1 / +1 lines)
Lines 25-31 Link Here
25
METHOD     findLastIndexOf(Closure)                   int
25
METHOD     findLastIndexOf(Closure)                   int
26
METHOD     findLastIndexOf(int, Closure)              int
26
METHOD     findLastIndexOf(int, Closure)              int
27
METHOD     getAt(String)                              Object
27
METHOD     getAt(String)                              Object
28
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
28
METHOD     getClass()                      [PUBLIC]   Class<?>
29
METHOD     getMetaClass()                             MetaClass
29
METHOD     getMetaClass()                             MetaClass
30
METHOD     getMetaPropertyValues()                    List
30
METHOD     getMetaPropertyValues()                    List
31
METHOD     getProperties()                            Map
31
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure1.completion (+15 lines)
Lines 2-7 Link Here
2
(1..3).any {println |}
2
(1..3).any {println |}
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
PACKAGE    com                                        null
6
PACKAGE    com                                        null
6
PACKAGE    groovy                                     null
7
PACKAGE    groovy                                     null
7
PACKAGE    groovyjarjarantlr                          null
8
PACKAGE    groovyjarjarantlr                          null
Lines 25-30 Link Here
25
CLASS      AntBuilder                                 null
26
CLASS      AntBuilder                                 null
26
CLASS      Appendable                                 null
27
CLASS      Appendable                                 null
27
CLASS      ArithmeticException                        null
28
CLASS      ArithmeticException                        null
29
CLASS      ArrayDeque                                 null
28
CLASS      ArrayIndexOutOfBoundsException             null
30
CLASS      ArrayIndexOutOfBoundsException             null
29
CLASS      ArrayList                                  null
31
CLASS      ArrayList                                  null
30
CLASS      ArrayStoreException                        null
32
CLASS      ArrayStoreException                        null
Lines 81-89 Link Here
81
CLASS      ConfigObject                               null
83
CLASS      ConfigObject                               null
82
CLASS      ConfigSlurper                              null
84
CLASS      ConfigSlurper                              null
83
CLASS      ConnectException                           null
85
CLASS      ConnectException                           null
86
CLASS      Console                                    null
84
CLASS      ContentHandler                             null
87
CLASS      ContentHandler                             null
85
CLASS      ContentHandlerFactory                      null
88
CLASS      ContentHandlerFactory                      null
86
CLASS      CookieHandler                              null
89
CLASS      CookieHandler                              null
90
CLASS      CookieManager                              null
91
CLASS      CookiePolicy                               null
92
CLASS      CookieStore                                null
87
CLASS      Currency                                   null
93
CLASS      Currency                                   null
88
CLASS      DataInput                                  null
94
CLASS      DataInput                                  null
89
CLASS      DataInputStream                            null
95
CLASS      DataInputStream                            null
Lines 98-103 Link Here
98
CLASS      DelegatingMetaClass                        null
104
CLASS      DelegatingMetaClass                        null
99
CLASS      Deprecated                                 null
105
CLASS      Deprecated                                 null
100
CLASS      DeprecationException                       null
106
CLASS      DeprecationException                       null
107
CLASS      Deque                                      null
101
CLASS      Dictionary                                 null
108
CLASS      Dictionary                                 null
102
CLASS      Double                                     null
109
CLASS      Double                                     null
103
CLASS      DuplicateFormatFlagsException              null
110
CLASS      DuplicateFormatFlagsException              null
Lines 170-178 Link Here
170
CLASS      HashMap                                    null
177
CLASS      HashMap                                    null
171
CLASS      HashSet                                    null
178
CLASS      HashSet                                    null
172
CLASS      Hashtable                                  null
179
CLASS      Hashtable                                  null
180
CLASS      HttpCookie                                 null
173
CLASS      HttpRetryException                         null
181
CLASS      HttpRetryException                         null
174
CLASS      HttpURLConnection                          null
182
CLASS      HttpURLConnection                          null
183
CLASS      IDN                                        null
175
CLASS      IFileNameFinder                            null
184
CLASS      IFileNameFinder                            null
185
CLASS      IOError                                    null
176
CLASS      IOException                                null
186
CLASS      IOException                                null
177
CLASS      IdentityHashMap                            null
187
CLASS      IdentityHashMap                            null
178
CLASS      IllegalAccessError                         null
188
CLASS      IllegalAccessError                         null
Lines 207-212 Link Here
207
CLASS      IntRange                                   null
217
CLASS      IntRange                                   null
208
CLASS      Integer                                    null
218
CLASS      Integer                                    null
209
CLASS      Interceptor                                null
219
CLASS      Interceptor                                null
220
CLASS      InterfaceAddress                           null
210
CLASS      InternalError                              null
221
CLASS      InternalError                              null
211
CLASS      InterruptedException                       null
222
CLASS      InterruptedException                       null
212
CLASS      InterruptedIOException                     null
223
CLASS      InterruptedIOException                     null
Lines 253-258 Link Here
253
CLASS      Mixin                                      null
264
CLASS      Mixin                                      null
254
CLASS      MulticastSocket                            null
265
CLASS      MulticastSocket                            null
255
CLASS      MutableMetaClass                           null
266
CLASS      MutableMetaClass                           null
267
CLASS      NavigableMap                               null
268
CLASS      NavigableSet                               null
256
CLASS      NegativeArraySizeException                 null
269
CLASS      NegativeArraySizeException                 null
257
CLASS      NetPermission                              null
270
CLASS      NetPermission                              null
258
CLASS      NetworkInterface                           null
271
CLASS      NetworkInterface                           null
Lines 352-357 Link Here
352
CLASS      Serializable                               null
365
CLASS      Serializable                               null
353
CLASS      SerializablePermission                     null
366
CLASS      SerializablePermission                     null
354
CLASS      ServerSocket                               null
367
CLASS      ServerSocket                               null
368
CLASS      ServiceConfigurationError                  null
369
CLASS      ServiceLoader                              null
355
CLASS      Set                                        null
370
CLASS      Set                                        null
356
CLASS      Short                                      null
371
CLASS      Short                                      null
357
CLASS      SimpleTimeZone                             null
372
CLASS      SimpleTimeZone                             null
(-)a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure2.completion (+3 lines)
Lines 2-8 Link Here
2
[3,4,5].each {println i|}
2
[3,4,5].each {println i|}
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
CLASS      IDN                                        null
5
CLASS      IFileNameFinder                            null
6
CLASS      IFileNameFinder                            null
7
CLASS      IOError                                    null
6
CLASS      IOException                                null
8
CLASS      IOException                                null
7
CLASS      IdentityHashMap                            null
9
CLASS      IdentityHashMap                            null
8
CLASS      IllegalAccessError                         null
10
CLASS      IllegalAccessError                         null
Lines 37-42 Link Here
37
CLASS      IntRange                                   null
39
CLASS      IntRange                                   null
38
CLASS      Integer                                    null
40
CLASS      Integer                                    null
39
CLASS      Interceptor                                null
41
CLASS      Interceptor                                null
42
CLASS      InterfaceAddress                           null
40
CLASS      InternalError                              null
43
CLASS      InternalError                              null
41
CLASS      InterruptedException                       null
44
CLASS      InterruptedException                       null
42
CLASS      InterruptedIOException                     null
45
CLASS      InterruptedIOException                     null
(-)a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure3.completion (+2 lines)
Lines 2-7 Link Here
2
(1..3).any {aa,ab -> println a|}
2
(1..3).any {aa,ab -> println a|}
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
CLASS      AbstractCollection                         null
6
CLASS      AbstractCollection                         null
6
CLASS      AbstractFactory                            null
7
CLASS      AbstractFactory                            null
7
CLASS      AbstractList                               null
8
CLASS      AbstractList                               null
Lines 15-20 Link Here
15
CLASS      AntBuilder                                 null
16
CLASS      AntBuilder                                 null
16
CLASS      Appendable                                 null
17
CLASS      Appendable                                 null
17
CLASS      ArithmeticException                        null
18
CLASS      ArithmeticException                        null
19
CLASS      ArrayDeque                                 null
18
CLASS      ArrayIndexOutOfBoundsException             null
20
CLASS      ArrayIndexOutOfBoundsException             null
19
CLASS      ArrayList                                  null
21
CLASS      ArrayList                                  null
20
CLASS      ArrayStoreException                        null
22
CLASS      ArrayStoreException                        null
(-)a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure5.completion (+3 lines)
Lines 2-8 Link Here
2
def t1 = {println i|}
2
def t1 = {println i|}
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
CLASS      IDN                                        null
5
CLASS      IFileNameFinder                            null
6
CLASS      IFileNameFinder                            null
7
CLASS      IOError                                    null
6
CLASS      IOException                                null
8
CLASS      IOException                                null
7
CLASS      IdentityHashMap                            null
9
CLASS      IdentityHashMap                            null
8
CLASS      IllegalAccessError                         null
10
CLASS      IllegalAccessError                         null
Lines 37-42 Link Here
37
CLASS      IntRange                                   null
39
CLASS      IntRange                                   null
38
CLASS      Integer                                    null
40
CLASS      Integer                                    null
39
CLASS      Interceptor                                null
41
CLASS      Interceptor                                null
42
CLASS      InterfaceAddress                           null
40
CLASS      InternalError                              null
43
CLASS      InternalError                              null
41
CLASS      InterruptedException                       null
44
CLASS      InterruptedException                       null
42
CLASS      InterruptedIOException                     null
45
CLASS      InterruptedIOException                     null
(-)a/groovy.editor/test/unit/data/testfiles/completion/closures/InsideClosure1.groovy.testInsideClosure7.completion (+3 lines)
Lines 2-8 Link Here
2
"TestString".eachLine {String line -> println i|}
2
"TestString".eachLine {String line -> println i|}
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
CLASS      IDN                                        null
5
CLASS      IFileNameFinder                            null
6
CLASS      IFileNameFinder                            null
7
CLASS      IOError                                    null
6
CLASS      IOException                                null
8
CLASS      IOException                                null
7
CLASS      IdentityHashMap                            null
9
CLASS      IdentityHashMap                            null
8
CLASS      IllegalAccessError                         null
10
CLASS      IllegalAccessError                         null
Lines 37-42 Link Here
37
CLASS      IntRange                                   null
39
CLASS      IntRange                                   null
38
CLASS      Integer                                    null
40
CLASS      Integer                                    null
39
CLASS      Interceptor                                null
41
CLASS      Interceptor                                null
42
CLASS      InterfaceAddress                           null
40
CLASS      InternalError                              null
43
CLASS      InternalError                              null
41
CLASS      InterruptedException                       null
44
CLASS      InterruptedException                       null
42
CLASS      InterruptedIOException                     null
45
CLASS      InterruptedIOException                     null
(-)a/groovy.editor/test/unit/data/testfiles/completion/collections/Collections1.groovy.testCollections5.completion (-1 / +1 lines)
Lines 49-55 Link Here
49
METHOD     getAt(IntRange)                            List
49
METHOD     getAt(IntRange)                            List
50
METHOD     getAt(String)                              List
50
METHOD     getAt(String)                              List
51
METHOD     getAt(int)                                 Object
51
METHOD     getAt(int)                                 Object
52
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
52
METHOD     getClass()                      [PUBLIC]   Class<?>
53
METHOD     getFrom()                       [PUBLIC]   Comparable
53
METHOD     getFrom()                       [PUBLIC]   Comparable
54
METHOD     getMetaClass()                             MetaClass
54
METHOD     getMetaClass()                             MetaClass
55
METHOD     getMetaPropertyValues()                    List
55
METHOD     getMetaPropertyValues()                    List
(-)a/groovy.editor/test/unit/data/testfiles/completion/duplicates/b/B.groovy.testDuplicates1.completion (+1 lines)
Lines 16-21 Link Here
16
CLASS      AntBuilder                                 null
16
CLASS      AntBuilder                                 null
17
CLASS      Appendable                                 null
17
CLASS      Appendable                                 null
18
CLASS      ArithmeticException                        null
18
CLASS      ArithmeticException                        null
19
CLASS      ArrayDeque                                 null
19
CLASS      ArrayIndexOutOfBoundsException             null
20
CLASS      ArrayIndexOutOfBoundsException             null
20
CLASS      ArrayList                                  null
21
CLASS      ArrayList                                  null
21
CLASS      ArrayStoreException                        null
22
CLASS      ArrayStoreException                        null
(-)a/groovy.editor/test/unit/data/testfiles/completion/duplicates/d/D.groovy.testDuplicates3.completion (+1 lines)
Lines 8-12 Link Here
8
CLASS      AbstractQueue                              null
8
CLASS      AbstractQueue                              null
9
CLASS      AbstractSequentialList                     null
9
CLASS      AbstractSequentialList                     null
10
CLASS      AbstractSet                                null
10
CLASS      AbstractSet                                null
11
CLASS      ArrayDeque                                 null
11
CLASS      ArrayList                                  null
12
CLASS      ArrayList                                  null
12
CLASS      Arrays                                     null
13
CLASS      Arrays                                     null
(-)a/groovy.editor/test/unit/data/testfiles/completion/grails/GrailsConfig1.groovy.testDataSourceClosure1.completion (-1 / +1 lines)
Lines 29-35 Link Here
29
METHOD     findLastIndexOf(Closure)                   int
29
METHOD     findLastIndexOf(Closure)                   int
30
METHOD     findLastIndexOf(int, Closure)              int
30
METHOD     findLastIndexOf(int, Closure)              int
31
METHOD     getAt(String)                              Object
31
METHOD     getAt(String)                              Object
32
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
32
METHOD     getClass()                      [PUBLIC]   Class<?>
33
METHOD     getDelegate()                   [PUBLIC]   Object
33
METHOD     getDelegate()                   [PUBLIC]   Object
34
METHOD     getDirective()                  [PUBLIC]   int
34
METHOD     getDirective()                  [PUBLIC]   int
35
METHOD     getMaximumNumberOfParameters()  [PUBLIC]   int
35
METHOD     getMaximumNumberOfParameters()  [PUBLIC]   int
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods3.completion (-1 / +1 lines)
Lines 4-10 Link Here
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getAuthority()                  [PUBLIC]   String
6
METHOD     getAuthority()                  [PUBLIC]   String
7
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
7
METHOD     getClass()                      [PUBLIC]   Class<?>
8
METHOD     getContent()                    [PUBLIC]   Object
8
METHOD     getContent()                    [PUBLIC]   Object
9
METHOD     getContent(Class[])             [PUBLIC]   Object
9
METHOD     getContent(Class[])             [PUBLIC]   Object
10
METHOD     getDefaultPort()                [PUBLIC]   int
10
METHOD     getDefaultPort()                [PUBLIC]   int
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods1.groovy.testMethods4.completion (-1 / +1 lines)
Lines 29-35 Link Here
29
METHOD     findLastIndexOf(int, Closure)              int
29
METHOD     findLastIndexOf(int, Closure)              int
30
METHOD     getAt(String)                              Object
30
METHOD     getAt(String)                              Object
31
METHOD     getAuthority()                  [PUBLIC]   String
31
METHOD     getAuthority()                  [PUBLIC]   String
32
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
32
METHOD     getClass()                      [PUBLIC]   Class<?>
33
METHOD     getContent()                    [PUBLIC]   Object
33
METHOD     getContent()                    [PUBLIC]   Object
34
METHOD     getContent(Class[])             [PUBLIC]   Object
34
METHOD     getContent(Class[])             [PUBLIC]   Object
35
METHOD     getDefaultPort()                [PUBLIC]   int
35
METHOD     getDefaultPort()                [PUBLIC]   int
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods10.groovy.testCompletionNoPrefixString1.completion (-1 / +4 lines)
Lines 67-77 Link Here
67
METHOD     getAt(String)                              Object
67
METHOD     getAt(String)                              Object
68
METHOD     getAt(int)                                 String
68
METHOD     getAt(int)                                 String
69
METHOD     getBytes()                      [PUBLIC]   byte[]
69
METHOD     getBytes()                      [PUBLIC]   byte[]
70
METHOD     getBytes(Charset)               [PUBLIC]   byte[]
70
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getChars()                                 char[]
73
METHOD     getChars()                                 char[]
73
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
75
METHOD     getClass()                      [PUBLIC]   Class<?>
75
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaPropertyValues()                    List
77
METHOD     getMetaPropertyValues()                    List
77
METHOD     getProperties()                            Map
78
METHOD     getProperties()                            Map
Lines 92-97 Link Here
92
METHOD     isBigInteger()                             boolean
93
METHOD     isBigInteger()                             boolean
93
METHOD     isCase(Object)                             boolean
94
METHOD     isCase(Object)                             boolean
94
METHOD     isDouble()                                 boolean
95
METHOD     isDouble()                                 boolean
96
METHOD     isEmpty()                       [PUBLIC]   boolean
95
METHOD     isFloat()                                  boolean
97
METHOD     isFloat()                                  boolean
96
METHOD     isInteger()                                boolean
98
METHOD     isInteger()                                boolean
97
METHOD     isLong()                                   boolean
99
METHOD     isLong()                                   boolean
Lines 197-199 Link Here
197
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
199
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
198
FIELD      bytes                                      byte[]
200
FIELD      bytes                                      byte[]
199
FIELD      class                                      Class
201
FIELD      class                                      Class
202
FIELD      empty                                      boolean
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods11.groovy.testCompletionNoPrefixString2.completion (-1 / +4 lines)
Lines 67-77 Link Here
67
METHOD     getAt(String)                              Object
67
METHOD     getAt(String)                              Object
68
METHOD     getAt(int)                                 String
68
METHOD     getAt(int)                                 String
69
METHOD     getBytes()                      [PUBLIC]   byte[]
69
METHOD     getBytes()                      [PUBLIC]   byte[]
70
METHOD     getBytes(Charset)               [PUBLIC]   byte[]
70
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getChars()                                 char[]
73
METHOD     getChars()                                 char[]
73
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
75
METHOD     getClass()                      [PUBLIC]   Class<?>
75
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaPropertyValues()                    List
77
METHOD     getMetaPropertyValues()                    List
77
METHOD     getProperties()                            Map
78
METHOD     getProperties()                            Map
Lines 92-97 Link Here
92
METHOD     isBigInteger()                             boolean
93
METHOD     isBigInteger()                             boolean
93
METHOD     isCase(Object)                             boolean
94
METHOD     isCase(Object)                             boolean
94
METHOD     isDouble()                                 boolean
95
METHOD     isDouble()                                 boolean
96
METHOD     isEmpty()                       [PUBLIC]   boolean
95
METHOD     isFloat()                                  boolean
97
METHOD     isFloat()                                  boolean
96
METHOD     isInteger()                                boolean
98
METHOD     isInteger()                                boolean
97
METHOD     isLong()                                   boolean
99
METHOD     isLong()                                   boolean
Lines 197-199 Link Here
197
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
199
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
198
FIELD      bytes                                      byte[]
200
FIELD      bytes                                      byte[]
199
FIELD      class                                      Class
201
FIELD      class                                      Class
202
FIELD      empty                                      boolean
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods12.groovy.testCompletionGeneratedAccessors1.completion (-1 / +1 lines)
Lines 4-10 Link Here
4
------------------------------------
4
------------------------------------
5
METHOD     getAge()                        [PUBLIC]   Object
5
METHOD     getAge()                        [PUBLIC]   Object
6
METHOD     getAt(String)                              Object
6
METHOD     getAt(String)                              Object
7
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
7
METHOD     getClass()                      [PUBLIC]   Class<?>
8
METHOD     getMetaClass()                             MetaClass
8
METHOD     getMetaClass()                             MetaClass
9
METHOD     getMetaPropertyValues()                    List
9
METHOD     getMetaPropertyValues()                    List
10
METHOD     getName()                       [PUBLIC]   String
10
METHOD     getName()                       [PUBLIC]   String
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods13.groovy.testCompletionGroovyClass1.completion (-1 / +1 lines)
Lines 23-29 Link Here
23
METHOD     findLastIndexOf(Closure)                   int
23
METHOD     findLastIndexOf(Closure)                   int
24
METHOD     findLastIndexOf(int, Closure)              int
24
METHOD     findLastIndexOf(int, Closure)              int
25
METHOD     getAt(String)                              Object
25
METHOD     getAt(String)                              Object
26
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
26
METHOD     getClass()                      [PUBLIC]   Class<?>
27
METHOD     getMetaClass()                             MetaClass
27
METHOD     getMetaClass()                             MetaClass
28
METHOD     getMetaPropertyValues()                    List
28
METHOD     getMetaPropertyValues()                    List
29
METHOD     getProperties()                            Map
29
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods14.groovy.testCompletionGroovyThis1.completion (-1 / +1 lines)
Lines 3-9 Link Here
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
6
METHOD     getClass()                      [PUBLIC]   Class<?>
7
METHOD     getMetaClass()                             MetaClass
7
METHOD     getMetaClass()                             MetaClass
8
METHOD     getMetaPropertyValues()                    List
8
METHOD     getMetaPropertyValues()                    List
9
METHOD     getProperties()                            Map
9
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods15.groovy.testCompletionGroovySuper1.completion (-1 / +1 lines)
Lines 25-31 Link Here
25
METHOD     findLastIndexOf(Closure)                   int
25
METHOD     findLastIndexOf(Closure)                   int
26
METHOD     findLastIndexOf(int, Closure)              int
26
METHOD     findLastIndexOf(int, Closure)              int
27
METHOD     getAt(String)                              Object
27
METHOD     getAt(String)                              Object
28
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
28
METHOD     getClass()                      [PUBLIC]   Class<?>
29
METHOD     getMetaClass()                             MetaClass
29
METHOD     getMetaClass()                             MetaClass
30
METHOD     getMetaPropertyValues()                    List
30
METHOD     getMetaPropertyValues()                    List
31
METHOD     getProperties()                            Map
31
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods16.groovy.testCompletionNoDot3.completion (+2 lines)
Lines 2-7 Link Here
2
n|o
2
n|o
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
CLASS      NavigableMap                               null
6
CLASS      NavigableSet                               null
5
CLASS      NegativeArraySizeException                 null
7
CLASS      NegativeArraySizeException                 null
6
CLASS      NetPermission                              null
8
CLASS      NetPermission                              null
7
CLASS      NetworkInterface                           null
9
CLASS      NetworkInterface                           null
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods2.groovy.testMethods5.completion (-1 / +1 lines)
Lines 35-41 Link Here
35
METHOD     findLastIndexOf(int, Closure)              int
35
METHOD     findLastIndexOf(int, Closure)              int
36
METHOD     floatValue()                    [PUBLIC]   float
36
METHOD     floatValue()                    [PUBLIC]   float
37
METHOD     getAt(String)                              Object
37
METHOD     getAt(String)                              Object
38
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
38
METHOD     getClass()                      [PUBLIC]   Class<?>
39
METHOD     getMetaClass()                             MetaClass
39
METHOD     getMetaClass()                             MetaClass
40
METHOD     getMetaPropertyValues()                    List
40
METHOD     getMetaPropertyValues()                    List
41
METHOD     getProperties()                            Map
41
METHOD     getProperties()                            Map
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods5.groovy.testCompletionInMethodCall2.completion (+1 lines)
Lines 2-7 Link Here
2
new File("something").c|
2
new File("something").c|
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
METHOD     canExecute()                    [PUBLIC]   boolean
5
METHOD     canRead()                       [PUBLIC]   boolean
6
METHOD     canRead()                       [PUBLIC]   boolean
6
METHOD     canWrite()                      [PUBLIC]   boolean
7
METHOD     canWrite()                      [PUBLIC]   boolean
7
METHOD     collect(Closure)                           List
8
METHOD     collect(Closure)                           List
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor2.completion (-1 / +1 lines)
Lines 4-10 Link Here
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getAt(int)                                 int
6
METHOD     getAt(int)                                 int
7
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
7
METHOD     getClass()                      [PUBLIC]   Class<?>
8
METHOD     getDate()                       [PUBLIC]   int
8
METHOD     getDate()                       [PUBLIC]   int
9
METHOD     getDateString()                            String
9
METHOD     getDateString()                            String
10
METHOD     getDateTimeString()                        String
10
METHOD     getDateTimeString()                        String
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideConstructor3.completion (-1 / +1 lines)
Lines 4-10 Link Here
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getAt(int)                                 int
6
METHOD     getAt(int)                                 int
7
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
7
METHOD     getClass()                      [PUBLIC]   Class<?>
8
METHOD     getDate()                       [PUBLIC]   int
8
METHOD     getDate()                       [PUBLIC]   int
9
METHOD     getDateString()                            String
9
METHOD     getDateString()                            String
10
METHOD     getDateTimeString()                        String
10
METHOD     getDateTimeString()                        String
(-)a/groovy.editor/test/unit/data/testfiles/completion/method/Methods9.groovy.testCompletionInsideFor1.completion (-1 / +1 lines)
Lines 4-10 Link Here
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getAt(int)                                 int
6
METHOD     getAt(int)                                 int
7
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
7
METHOD     getClass()                      [PUBLIC]   Class<?>
8
METHOD     getDate()                       [PUBLIC]   int
8
METHOD     getDate()                       [PUBLIC]   int
9
METHOD     getDateString()                            String
9
METHOD     getDateString()                            String
10
METHOD     getDateTimeString()                        String
10
METHOD     getDateTimeString()                        String
(-)a/groovy.editor/test/unit/data/testfiles/completion/operators/MethodClosure2.groovy.testMethodClosure4.completion (-1 / +3 lines)
Lines 67-77 Link Here
67
METHOD     getAt(String)                              Object
67
METHOD     getAt(String)                              Object
68
METHOD     getAt(int)                                 String
68
METHOD     getAt(int)                                 String
69
METHOD     getBytes()                      [PUBLIC]   byte[]
69
METHOD     getBytes()                      [PUBLIC]   byte[]
70
METHOD     getBytes(Charset)               [PUBLIC]   byte[]
70
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getChars()                                 char[]
73
METHOD     getChars()                                 char[]
73
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
75
METHOD     getClass()                      [PUBLIC]   Class<?>
75
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaPropertyValues()                    List
77
METHOD     getMetaPropertyValues()                    List
77
METHOD     getProperties()                            Map
78
METHOD     getProperties()                            Map
Lines 92-97 Link Here
92
METHOD     isBigInteger()                             boolean
93
METHOD     isBigInteger()                             boolean
93
METHOD     isCase(Object)                             boolean
94
METHOD     isCase(Object)                             boolean
94
METHOD     isDouble()                                 boolean
95
METHOD     isDouble()                                 boolean
96
METHOD     isEmpty()                       [PUBLIC]   boolean
95
METHOD     isFloat()                                  boolean
97
METHOD     isFloat()                                  boolean
96
METHOD     isInteger()                                boolean
98
METHOD     isInteger()                                boolean
97
METHOD     isLong()                                   boolean
99
METHOD     isLong()                                   boolean
(-)a/groovy.editor/test/unit/data/testfiles/completion/operators/SafeNavigation2.groovy.testSafeNavigation4.completion (-1 / +4 lines)
Lines 67-77 Link Here
67
METHOD     getAt(String)                              Object
67
METHOD     getAt(String)                              Object
68
METHOD     getAt(int)                                 String
68
METHOD     getAt(int)                                 String
69
METHOD     getBytes()                      [PUBLIC]   byte[]
69
METHOD     getBytes()                      [PUBLIC]   byte[]
70
METHOD     getBytes(Charset)               [PUBLIC]   byte[]
70
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(String)                [PUBLIC]   byte[]
71
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getBytes(int, int, byte[], int  [PUBLIC]   void
72
METHOD     getChars()                                 char[]
73
METHOD     getChars()                                 char[]
73
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getChars(int, int, char[], int  [PUBLIC]   void
74
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
75
METHOD     getClass()                      [PUBLIC]   Class<?>
75
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaClass()                             MetaClass
76
METHOD     getMetaPropertyValues()                    List
77
METHOD     getMetaPropertyValues()                    List
77
METHOD     getProperties()                            Map
78
METHOD     getProperties()                            Map
Lines 92-97 Link Here
92
METHOD     isBigInteger()                             boolean
93
METHOD     isBigInteger()                             boolean
93
METHOD     isCase(Object)                             boolean
94
METHOD     isCase(Object)                             boolean
94
METHOD     isDouble()                                 boolean
95
METHOD     isDouble()                                 boolean
96
METHOD     isEmpty()                       [PUBLIC]   boolean
95
METHOD     isFloat()                                  boolean
97
METHOD     isFloat()                                  boolean
96
METHOD     isInteger()                                boolean
98
METHOD     isInteger()                                boolean
97
METHOD     isLong()                                   boolean
99
METHOD     isLong()                                   boolean
Lines 197-199 Link Here
197
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
199
FIELD      CASE_INSENSITIVE_ORDER          [STATIC,   Comparator<String>
198
FIELD      bytes                                      byte[]
200
FIELD      bytes                                      byte[]
199
FIELD      class                                      Class
201
FIELD      class                                      Class
202
FIELD      empty                                      boolean
(-)a/groovy.editor/test/unit/data/testfiles/completion/transformations/Transformations2.groovy.testTransformations2.completion (-1 / +1 lines)
Lines 3-9 Link Here
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
METHOD     getAt(String)                              Object
5
METHOD     getAt(String)                              Object
6
METHOD     getClass()                      [PUBLIC]   Class<? extends Object>
6
METHOD     getClass()                      [PUBLIC]   Class<?>
7
METHOD     getInstance()                   [STATIC,   Transformations2
7
METHOD     getInstance()                   [STATIC,   Transformations2
8
METHOD     getMetaClass()                             MetaClass
8
METHOD     getMetaClass()                             MetaClass
9
METHOD     getMetaPropertyValues()                    List
9
METHOD     getMetaPropertyValues()                    List
(-)a/groovy.editor/test/unit/data/testfiles/completion/types/InterfaceCompletion1.groovy.testInterfaceCompletion1.completion (+6 lines)
Lines 2-7 Link Here
2
class SpecialGroovyClass implements |Runnable, Serializable {
2
class SpecialGroovyClass implements |Runnable, Serializable {
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
PACKAGE    com                                        null
6
PACKAGE    com                                        null
6
PACKAGE    groovy                                     null
7
PACKAGE    groovy                                     null
7
PACKAGE    groovyjarjarantlr                          null
8
PACKAGE    groovyjarjarantlr                          null
Lines 23-31 Link Here
23
CLASS      Comparable                                 null
24
CLASS      Comparable                                 null
24
CLASS      Comparator                                 null
25
CLASS      Comparator                                 null
25
CLASS      ContentHandlerFactory                      null
26
CLASS      ContentHandlerFactory                      null
27
CLASS      CookiePolicy                               null
28
CLASS      CookieStore                                null
26
CLASS      DataInput                                  null
29
CLASS      DataInput                                  null
27
CLASS      DataOutput                                 null
30
CLASS      DataOutput                                 null
28
CLASS      DatagramSocketImplFactory                  null
31
CLASS      DatagramSocketImplFactory                  null
32
CLASS      Deque                                      null
29
CLASS      Enumeration                                null
33
CLASS      Enumeration                                null
30
CLASS      EventListener                              null
34
CLASS      EventListener                              null
31
CLASS      Externalizable                             null
35
CLASS      Externalizable                             null
Lines 50-55 Link Here
50
CLASS      MetaClassRegistryChangeEventLi             null
54
CLASS      MetaClassRegistryChangeEventLi             null
51
CLASS      MetaObjectProtocol                         null
55
CLASS      MetaObjectProtocol                         null
52
CLASS      MutableMetaClass                           null
56
CLASS      MutableMetaClass                           null
57
CLASS      NavigableMap                               null
58
CLASS      NavigableSet                               null
53
CLASS      ObjectInput                                null
59
CLASS      ObjectInput                                null
54
CLASS      ObjectInputValidation                      null
60
CLASS      ObjectInputValidation                      null
55
CLASS      ObjectOutput                               null
61
CLASS      ObjectOutput                               null
(-)a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables1.completion (+3 lines)
Lines 2-8 Link Here
2
i|
2
i|
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
CLASS      IDN                                        null
5
CLASS      IFileNameFinder                            null
6
CLASS      IFileNameFinder                            null
7
CLASS      IOError                                    null
6
CLASS      IOException                                null
8
CLASS      IOException                                null
7
CLASS      IdentityHashMap                            null
9
CLASS      IdentityHashMap                            null
8
CLASS      IllegalAccessError                         null
10
CLASS      IllegalAccessError                         null
Lines 36-41 Link Here
36
CLASS      IntRange                                   null
38
CLASS      IntRange                                   null
37
CLASS      Integer                                    null
39
CLASS      Integer                                    null
38
CLASS      Interceptor                                null
40
CLASS      Interceptor                                null
41
CLASS      InterfaceAddress                           null
39
CLASS      InternalError                              null
42
CLASS      InternalError                              null
40
CLASS      InterruptedException                       null
43
CLASS      InterruptedException                       null
41
CLASS      InterruptedIOException                     null
44
CLASS      InterruptedIOException                     null
(-)a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables1.groovy.testVariables3.completion (+2 lines)
Lines 2-7 Link Here
2
a|
2
a|
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
CLASS      AbstractCollection                         null
6
CLASS      AbstractCollection                         null
6
CLASS      AbstractFactory                            null
7
CLASS      AbstractFactory                            null
7
CLASS      AbstractList                               null
8
CLASS      AbstractList                               null
Lines 15-20 Link Here
15
CLASS      AntBuilder                                 null
16
CLASS      AntBuilder                                 null
16
CLASS      Appendable                                 null
17
CLASS      Appendable                                 null
17
CLASS      ArithmeticException                        null
18
CLASS      ArithmeticException                        null
19
CLASS      ArrayDeque                                 null
18
CLASS      ArrayIndexOutOfBoundsException             null
20
CLASS      ArrayIndexOutOfBoundsException             null
19
CLASS      ArrayList                                  null
21
CLASS      ArrayList                                  null
20
CLASS      ArrayStoreException                        null
22
CLASS      ArrayStoreException                        null
(-)a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables12.completion (+15 lines)
Lines 2-7 Link Here
2
println "Hello $name!" |
2
println "Hello $name!" |
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
PACKAGE    com                                        null
6
PACKAGE    com                                        null
6
PACKAGE    groovy                                     null
7
PACKAGE    groovy                                     null
7
PACKAGE    groovyjarjarantlr                          null
8
PACKAGE    groovyjarjarantlr                          null
Lines 25-30 Link Here
25
CLASS      AntBuilder                                 null
26
CLASS      AntBuilder                                 null
26
CLASS      Appendable                                 null
27
CLASS      Appendable                                 null
27
CLASS      ArithmeticException                        null
28
CLASS      ArithmeticException                        null
29
CLASS      ArrayDeque                                 null
28
CLASS      ArrayIndexOutOfBoundsException             null
30
CLASS      ArrayIndexOutOfBoundsException             null
29
CLASS      ArrayList                                  null
31
CLASS      ArrayList                                  null
30
CLASS      ArrayStoreException                        null
32
CLASS      ArrayStoreException                        null
Lines 81-89 Link Here
81
CLASS      ConfigObject                               null
83
CLASS      ConfigObject                               null
82
CLASS      ConfigSlurper                              null
84
CLASS      ConfigSlurper                              null
83
CLASS      ConnectException                           null
85
CLASS      ConnectException                           null
86
CLASS      Console                                    null
84
CLASS      ContentHandler                             null
87
CLASS      ContentHandler                             null
85
CLASS      ContentHandlerFactory                      null
88
CLASS      ContentHandlerFactory                      null
86
CLASS      CookieHandler                              null
89
CLASS      CookieHandler                              null
90
CLASS      CookieManager                              null
91
CLASS      CookiePolicy                               null
92
CLASS      CookieStore                                null
87
CLASS      Currency                                   null
93
CLASS      Currency                                   null
88
CLASS      DataInput                                  null
94
CLASS      DataInput                                  null
89
CLASS      DataInputStream                            null
95
CLASS      DataInputStream                            null
Lines 98-103 Link Here
98
CLASS      DelegatingMetaClass                        null
104
CLASS      DelegatingMetaClass                        null
99
CLASS      Deprecated                                 null
105
CLASS      Deprecated                                 null
100
CLASS      DeprecationException                       null
106
CLASS      DeprecationException                       null
107
CLASS      Deque                                      null
101
CLASS      Dictionary                                 null
108
CLASS      Dictionary                                 null
102
CLASS      Double                                     null
109
CLASS      Double                                     null
103
CLASS      DuplicateFormatFlagsException              null
110
CLASS      DuplicateFormatFlagsException              null
Lines 170-178 Link Here
170
CLASS      HashMap                                    null
177
CLASS      HashMap                                    null
171
CLASS      HashSet                                    null
178
CLASS      HashSet                                    null
172
CLASS      Hashtable                                  null
179
CLASS      Hashtable                                  null
180
CLASS      HttpCookie                                 null
173
CLASS      HttpRetryException                         null
181
CLASS      HttpRetryException                         null
174
CLASS      HttpURLConnection                          null
182
CLASS      HttpURLConnection                          null
183
CLASS      IDN                                        null
175
CLASS      IFileNameFinder                            null
184
CLASS      IFileNameFinder                            null
185
CLASS      IOError                                    null
176
CLASS      IOException                                null
186
CLASS      IOException                                null
177
CLASS      IdentityHashMap                            null
187
CLASS      IdentityHashMap                            null
178
CLASS      IllegalAccessError                         null
188
CLASS      IllegalAccessError                         null
Lines 206-211 Link Here
206
CLASS      IntRange                                   null
216
CLASS      IntRange                                   null
207
CLASS      Integer                                    null
217
CLASS      Integer                                    null
208
CLASS      Interceptor                                null
218
CLASS      Interceptor                                null
219
CLASS      InterfaceAddress                           null
209
CLASS      InternalError                              null
220
CLASS      InternalError                              null
210
CLASS      InterruptedException                       null
221
CLASS      InterruptedException                       null
211
CLASS      InterruptedIOException                     null
222
CLASS      InterruptedIOException                     null
Lines 252-257 Link Here
252
CLASS      Mixin                                      null
263
CLASS      Mixin                                      null
253
CLASS      MulticastSocket                            null
264
CLASS      MulticastSocket                            null
254
CLASS      MutableMetaClass                           null
265
CLASS      MutableMetaClass                           null
266
CLASS      NavigableMap                               null
267
CLASS      NavigableSet                               null
255
CLASS      NegativeArraySizeException                 null
268
CLASS      NegativeArraySizeException                 null
256
CLASS      NetPermission                              null
269
CLASS      NetPermission                              null
257
CLASS      NetworkInterface                           null
270
CLASS      NetworkInterface                           null
Lines 351-356 Link Here
351
CLASS      Serializable                               null
364
CLASS      Serializable                               null
352
CLASS      SerializablePermission                     null
365
CLASS      SerializablePermission                     null
353
CLASS      ServerSocket                               null
366
CLASS      ServerSocket                               null
367
CLASS      ServiceConfigurationError                  null
368
CLASS      ServiceLoader                              null
354
CLASS      Set                                        null
369
CLASS      Set                                        null
355
CLASS      Short                                      null
370
CLASS      Short                                      null
356
CLASS      SimpleTimeZone                             null
371
CLASS      SimpleTimeZone                             null
(-)a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables13.completion (+15 lines)
Lines 2-7 Link Here
2
x |
2
x |
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
PACKAGE    com                                        null
6
PACKAGE    com                                        null
6
PACKAGE    groovy                                     null
7
PACKAGE    groovy                                     null
7
PACKAGE    groovyjarjarantlr                          null
8
PACKAGE    groovyjarjarantlr                          null
Lines 25-30 Link Here
25
CLASS      AntBuilder                                 null
26
CLASS      AntBuilder                                 null
26
CLASS      Appendable                                 null
27
CLASS      Appendable                                 null
27
CLASS      ArithmeticException                        null
28
CLASS      ArithmeticException                        null
29
CLASS      ArrayDeque                                 null
28
CLASS      ArrayIndexOutOfBoundsException             null
30
CLASS      ArrayIndexOutOfBoundsException             null
29
CLASS      ArrayList                                  null
31
CLASS      ArrayList                                  null
30
CLASS      ArrayStoreException                        null
32
CLASS      ArrayStoreException                        null
Lines 81-89 Link Here
81
CLASS      ConfigObject                               null
83
CLASS      ConfigObject                               null
82
CLASS      ConfigSlurper                              null
84
CLASS      ConfigSlurper                              null
83
CLASS      ConnectException                           null
85
CLASS      ConnectException                           null
86
CLASS      Console                                    null
84
CLASS      ContentHandler                             null
87
CLASS      ContentHandler                             null
85
CLASS      ContentHandlerFactory                      null
88
CLASS      ContentHandlerFactory                      null
86
CLASS      CookieHandler                              null
89
CLASS      CookieHandler                              null
90
CLASS      CookieManager                              null
91
CLASS      CookiePolicy                               null
92
CLASS      CookieStore                                null
87
CLASS      Currency                                   null
93
CLASS      Currency                                   null
88
CLASS      DataInput                                  null
94
CLASS      DataInput                                  null
89
CLASS      DataInputStream                            null
95
CLASS      DataInputStream                            null
Lines 98-103 Link Here
98
CLASS      DelegatingMetaClass                        null
104
CLASS      DelegatingMetaClass                        null
99
CLASS      Deprecated                                 null
105
CLASS      Deprecated                                 null
100
CLASS      DeprecationException                       null
106
CLASS      DeprecationException                       null
107
CLASS      Deque                                      null
101
CLASS      Dictionary                                 null
108
CLASS      Dictionary                                 null
102
CLASS      Double                                     null
109
CLASS      Double                                     null
103
CLASS      DuplicateFormatFlagsException              null
110
CLASS      DuplicateFormatFlagsException              null
Lines 170-178 Link Here
170
CLASS      HashMap                                    null
177
CLASS      HashMap                                    null
171
CLASS      HashSet                                    null
178
CLASS      HashSet                                    null
172
CLASS      Hashtable                                  null
179
CLASS      Hashtable                                  null
180
CLASS      HttpCookie                                 null
173
CLASS      HttpRetryException                         null
181
CLASS      HttpRetryException                         null
174
CLASS      HttpURLConnection                          null
182
CLASS      HttpURLConnection                          null
183
CLASS      IDN                                        null
175
CLASS      IFileNameFinder                            null
184
CLASS      IFileNameFinder                            null
185
CLASS      IOError                                    null
176
CLASS      IOException                                null
186
CLASS      IOException                                null
177
CLASS      IdentityHashMap                            null
187
CLASS      IdentityHashMap                            null
178
CLASS      IllegalAccessError                         null
188
CLASS      IllegalAccessError                         null
Lines 206-211 Link Here
206
CLASS      IntRange                                   null
216
CLASS      IntRange                                   null
207
CLASS      Integer                                    null
217
CLASS      Integer                                    null
208
CLASS      Interceptor                                null
218
CLASS      Interceptor                                null
219
CLASS      InterfaceAddress                           null
209
CLASS      InternalError                              null
220
CLASS      InternalError                              null
210
CLASS      InterruptedException                       null
221
CLASS      InterruptedException                       null
211
CLASS      InterruptedIOException                     null
222
CLASS      InterruptedIOException                     null
Lines 252-257 Link Here
252
CLASS      Mixin                                      null
263
CLASS      Mixin                                      null
253
CLASS      MulticastSocket                            null
264
CLASS      MulticastSocket                            null
254
CLASS      MutableMetaClass                           null
265
CLASS      MutableMetaClass                           null
266
CLASS      NavigableMap                               null
267
CLASS      NavigableSet                               null
255
CLASS      NegativeArraySizeException                 null
268
CLASS      NegativeArraySizeException                 null
256
CLASS      NetPermission                              null
269
CLASS      NetPermission                              null
257
CLASS      NetworkInterface                           null
270
CLASS      NetworkInterface                           null
Lines 351-356 Link Here
351
CLASS      Serializable                               null
364
CLASS      Serializable                               null
352
CLASS      SerializablePermission                     null
365
CLASS      SerializablePermission                     null
353
CLASS      ServerSocket                               null
366
CLASS      ServerSocket                               null
367
CLASS      ServiceConfigurationError                  null
368
CLASS      ServiceLoader                              null
354
CLASS      Set                                        null
369
CLASS      Set                                        null
355
CLASS      Short                                      null
370
CLASS      Short                                      null
356
CLASS      SimpleTimeZone                             null
371
CLASS      SimpleTimeZone                             null
(-)a/groovy.editor/test/unit/data/testfiles/completion/variables/Variables3.groovy.testVariables14.completion (+15 lines)
Lines 2-7 Link Here
2
def x |
2
def x |
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
3
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true)
4
------------------------------------
4
------------------------------------
5
PACKAGE    apple                                      null
5
PACKAGE    com                                        null
6
PACKAGE    com                                        null
6
PACKAGE    groovy                                     null
7
PACKAGE    groovy                                     null
7
PACKAGE    groovyjarjarantlr                          null
8
PACKAGE    groovyjarjarantlr                          null
Lines 25-30 Link Here
25
CLASS      AntBuilder                                 null
26
CLASS      AntBuilder                                 null
26
CLASS      Appendable                                 null
27
CLASS      Appendable                                 null
27
CLASS      ArithmeticException                        null
28
CLASS      ArithmeticException                        null
29
CLASS      ArrayDeque                                 null
28
CLASS      ArrayIndexOutOfBoundsException             null
30
CLASS      ArrayIndexOutOfBoundsException             null
29
CLASS      ArrayList                                  null
31
CLASS      ArrayList                                  null
30
CLASS      ArrayStoreException                        null
32
CLASS      ArrayStoreException                        null
Lines 81-89 Link Here
81
CLASS      ConfigObject                               null
83
CLASS      ConfigObject                               null
82
CLASS      ConfigSlurper                              null
84
CLASS      ConfigSlurper                              null
83
CLASS      ConnectException                           null
85
CLASS      ConnectException                           null
86
CLASS      Console                                    null
84
CLASS      ContentHandler                             null
87
CLASS      ContentHandler                             null
85
CLASS      ContentHandlerFactory                      null
88
CLASS      ContentHandlerFactory                      null
86
CLASS      CookieHandler                              null
89
CLASS      CookieHandler                              null
90
CLASS      CookieManager                              null
91
CLASS      CookiePolicy                               null
92
CLASS      CookieStore                                null
87
CLASS      Currency                                   null
93
CLASS      Currency                                   null
88
CLASS      DataInput                                  null
94
CLASS      DataInput                                  null
89
CLASS      DataInputStream                            null
95
CLASS      DataInputStream                            null
Lines 98-103 Link Here
98
CLASS      DelegatingMetaClass                        null
104
CLASS      DelegatingMetaClass                        null
99
CLASS      Deprecated                                 null
105
CLASS      Deprecated                                 null
100
CLASS      DeprecationException                       null
106
CLASS      DeprecationException                       null
107
CLASS      Deque                                      null
101
CLASS      Dictionary                                 null
108
CLASS      Dictionary                                 null
102
CLASS      Double                                     null
109
CLASS      Double                                     null
103
CLASS      DuplicateFormatFlagsException              null
110
CLASS      DuplicateFormatFlagsException              null
Lines 170-178 Link Here
170
CLASS      HashMap                                    null
177
CLASS      HashMap                                    null
171
CLASS      HashSet                                    null
178
CLASS      HashSet                                    null
172
CLASS      Hashtable                                  null
179
CLASS      Hashtable                                  null
180
CLASS      HttpCookie                                 null
173
CLASS      HttpRetryException                         null
181
CLASS      HttpRetryException                         null
174
CLASS      HttpURLConnection                          null
182
CLASS      HttpURLConnection                          null
183
CLASS      IDN                                        null
175
CLASS      IFileNameFinder                            null
184
CLASS      IFileNameFinder                            null
185
CLASS      IOError                                    null
176
CLASS      IOException                                null
186
CLASS      IOException                                null
177
CLASS      IdentityHashMap                            null
187
CLASS      IdentityHashMap                            null
178
CLASS      IllegalAccessError                         null
188
CLASS      IllegalAccessError                         null
Lines 206-211 Link Here
206
CLASS      IntRange                                   null
216
CLASS      IntRange                                   null
207
CLASS      Integer                                    null
217
CLASS      Integer                                    null
208
CLASS      Interceptor                                null
218
CLASS      Interceptor                                null
219
CLASS      InterfaceAddress                           null
209
CLASS      InternalError                              null
220
CLASS      InternalError                              null
210
CLASS      InterruptedException                       null
221
CLASS      InterruptedException                       null
211
CLASS      InterruptedIOException                     null
222
CLASS      InterruptedIOException                     null
Lines 252-257 Link Here
252
CLASS      Mixin                                      null
263
CLASS      Mixin                                      null
253
CLASS      MulticastSocket                            null
264
CLASS      MulticastSocket                            null
254
CLASS      MutableMetaClass                           null
265
CLASS      MutableMetaClass                           null
266
CLASS      NavigableMap                               null
267
CLASS      NavigableSet                               null
255
CLASS      NegativeArraySizeException                 null
268
CLASS      NegativeArraySizeException                 null
256
CLASS      NetPermission                              null
269
CLASS      NetPermission                              null
257
CLASS      NetworkInterface                           null
270
CLASS      NetworkInterface                           null
Lines 351-356 Link Here
351
CLASS      Serializable                               null
364
CLASS      Serializable                               null
352
CLASS      SerializablePermission                     null
365
CLASS      SerializablePermission                     null
353
CLASS      ServerSocket                               null
366
CLASS      ServerSocket                               null
367
CLASS      ServiceConfigurationError                  null
368
CLASS      ServiceLoader                              null
354
CLASS      Set                                        null
369
CLASS      Set                                        null
355
CLASS      Short                                      null
370
CLASS      Short                                      null
356
CLASS      SimpleTimeZone                             null
371
CLASS      SimpleTimeZone                             null
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyDeclarationFinderTest.java (-1 / +1 lines)
Lines 155-161 Link Here
155
                "        return Inner^Classes.Type.DUMMY_1;", "InnerClasses.java", 12);
155
                "        return Inner^Classes.Type.DUMMY_1;", "InnerClasses.java", 12);
156
    }
156
    }
157
157
158
    // TESTFAIL
158
    // TESTFAIL x
159
    public void testInnerClasses2() throws Exception {
159
    public void testInnerClasses2() throws Exception {
160
        checkDeclaration(TEST_BASE + "a/Declaration3.groovy",
160
        checkDeclaration(TEST_BASE + "a/Declaration3.groovy",
161
                "        return InnerClasses.Ty^pe.DUMMY_1;", "InnerClasses.java", 45);
161
                "        return InnerClasses.Ty^pe.DUMMY_1;", "InnerClasses.java", 45);
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/GroovyIndexerTest.java (-1 / +1 lines)
Lines 119-125 Link Here
119
//        });
119
//        });
120
    }
120
    }
121
121
122
    // TESTFAIL
122
    // TESTFAIL x
123
    public void testClasses() throws Exception {
123
    public void testClasses() throws Exception {
124
        indexFile("testfiles/Hello.groovy");
124
        indexFile("testfiles/Hello.groovy");
125
        FileObject fo = getTestFile("testfiles/Hello.groovy");
125
        FileObject fo = getTestFile("testfiles/Hello.groovy");
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CodeCompletionTest.java (-6 lines)
Lines 140-146 Link Here
140
        checkCompletion(TEST_BASE + "ClassMethodLocalString1.groovy", "localString.toL^", false);
140
        checkCompletion(TEST_BASE + "ClassMethodLocalString1.groovy", "localString.toL^", false);
141
    }
141
    }
142
142
143
    // TESTFAIL
144
    public void testClassMethodLocalString2() throws Exception {
143
    public void testClassMethodLocalString2() throws Exception {
145
        checkCompletion(TEST_BASE + "ClassMethodLocalString2.groovy", "localString.get^", false);
144
        checkCompletion(TEST_BASE + "ClassMethodLocalString2.groovy", "localString.get^", false);
146
    }
145
    }
Lines 159-176 Link Here
159
158
160
    // Closure items named and unnamed
159
    // Closure items named and unnamed
161
160
162
    // TESTFAIL
163
    public void testInsideClosure1() throws Exception {
161
    public void testInsideClosure1() throws Exception {
164
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {println ^}", false);
162
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {println ^}", false);
165
    }
163
    }
166
164
167
    public void testInsideClosure2() throws Exception {
165
    public void testInsideClosure2() throws Exception {
168
    // TESTFAIL
169
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {println i^}", false);
166
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {println i^}", false);
170
    }
167
    }
171
168
172
    public void testInsideClosure3() throws Exception {
169
    public void testInsideClosure3() throws Exception {
173
    // TESTFAIL
174
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {aa,ab -> println a^}", false);
170
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "(1..3).any {aa,ab -> println a^}", false);
175
    }
171
    }
176
172
Lines 178-184 Link Here
178
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {xu1,xu2,xu3 -> println xu^}", false);
174
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "[3,4,5].each {xu1,xu2,xu3 -> println xu^}", false);
179
    }
175
    }
180
176
181
    // TESTFAIL
182
    public void testInsideClosure5() throws Exception {
177
    public void testInsideClosure5() throws Exception {
183
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "def t1 = {println i^}", false);
178
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "def t1 = {println i^}", false);
184
    }
179
    }
Lines 188-194 Link Here
188
    }
183
    }
189
184
190
    public void testInsideClosure7() throws Exception {
185
    public void testInsideClosure7() throws Exception {
191
    // TESTFAIL
192
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "\"TestString\".eachLine {String line -> println i^}", false);
186
        checkCompletion(CLOSURE_BASE + "InsideClosure1.groovy", "\"TestString\".eachLine {String line -> println i^}", false);
193
    }
187
    }
194
188
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CollectionsTest.java (-1 lines)
Lines 88-94 Link Here
88
        checkCompletion(TEST_BASE + "" + "Collections1.groovy", "    1..10.d^", false);
88
        checkCompletion(TEST_BASE + "" + "Collections1.groovy", "    1..10.d^", false);
89
    }
89
    }
90
90
91
    // TESTFAIL
92
    public void testCollections5() throws Exception {
91
    public void testCollections5() throws Exception {
93
        checkCompletion(TEST_BASE + "" + "Collections1.groovy", "    (1..10).^", false);
92
        checkCompletion(TEST_BASE + "" + "Collections1.groovy", "    (1..10).^", false);
94
    }
93
    }
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/CompletionAccessTest.java (-1 lines)
Lines 81-87 Link Here
81
81
82
    // FIXME this does not provide accurate results, but we need to test
82
    // FIXME this does not provide accurate results, but we need to test
83
    // at least basic closure completion
83
    // at least basic closure completion
84
    // TESTFAIL
85
    public void testBasicAccessLevels1() throws Exception {
84
    public void testBasicAccessLevels1() throws Exception {
86
        checkCompletion(TEST_BASE + "" + "Access1.groovy", "        this.^", false);
85
        checkCompletion(TEST_BASE + "" + "Access1.groovy", "        this.^", false);
87
    }  
86
    }  
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/DuplicatesCompletionTest.java (-2 / +1 lines)
Lines 83-98 Link Here
83
        return map;
83
        return map;
84
    }
84
    }
85
85
86
    // TESTFAIL
87
    public void testDuplicates1() throws Exception {
86
    public void testDuplicates1() throws Exception {
88
        checkCompletion(TEST_BASE + "b/B.groovy", "class B extends A^ {", true);
87
        checkCompletion(TEST_BASE + "b/B.groovy", "class B extends A^ {", true);
89
    }
88
    }
90
89
90
    // TESTFAIL x
91
    public void testDuplicates2() throws Exception {
91
    public void testDuplicates2() throws Exception {
92
        checkCompletion(TEST_BASE + "c/C.groovy", "class C extends a.A^ {", true);
92
        checkCompletion(TEST_BASE + "c/C.groovy", "class C extends a.A^ {", true);
93
    }
93
    }
94
94
95
    // TESTFAIL
96
    public void testDuplicates3() throws Exception {
95
    public void testDuplicates3() throws Exception {
97
        checkCompletion(TEST_BASE + "d/D.groovy", "class D extends java.util.A^ {", true);
96
        checkCompletion(TEST_BASE + "d/D.groovy", "class D extends java.util.A^ {", true);
98
    }
97
    }
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/GrailsConfigsTest.java (-1 lines)
Lines 69-75 Link Here
69
69
70
    // FIXME this does not provide accurate results, but we need to test
70
    // FIXME this does not provide accurate results, but we need to test
71
    // at least basic closure completion
71
    // at least basic closure completion
72
    // TESTFAIL
73
    public void testDataSourceClosure1() throws Exception {
72
    public void testDataSourceClosure1() throws Exception {
74
        checkCompletion(TEST_BASE + "" + "GrailsConfig1.groovy", "}.^", false);
73
        checkCompletion(TEST_BASE + "" + "GrailsConfig1.groovy", "}.^", false);
75
    }  
74
    }  
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/MethodCompletionTest.java (-13 lines)
Lines 92-109 Link Here
92
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").getP^r", false);
92
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").getP^r", false);
93
    }
93
    }
94
94
95
    // TESTFAIL
96
    public void testMethods3() throws Exception {
95
    public void testMethods3() throws Exception {
97
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").get^Pr", false);
96
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").get^Pr", false);
98
    }
97
    }
99
98
100
    // TESTFAIL
101
    public void testMethods4() throws Exception {
99
    public void testMethods4() throws Exception {
102
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").^getPr", false);
100
        checkCompletion(TEST_BASE + "" + "Methods1.groovy", "        new URL(\"http://google.com\").^getPr", false);
103
    }
101
    }
104
102
105
    public void testMethods5() throws Exception {
103
    public void testMethods5() throws Exception {
106
    // TESTFAIL
107
        checkCompletion(TEST_BASE + "" + "Methods2.groovy", "        new Byte().^", false);
104
        checkCompletion(TEST_BASE + "" + "Methods2.groovy", "        new Byte().^", false);
108
    }
105
    }
109
106
Lines 112-118 Link Here
112
    }
109
    }
113
110
114
    public void testCompletionInMethodCall2() throws Exception {
111
    public void testCompletionInMethodCall2() throws Exception {
115
    // TESTFAIL
116
        checkCompletion(TEST_BASE + "" + "Methods5.groovy", "        new File(\"something\").c^", false);
112
        checkCompletion(TEST_BASE + "" + "Methods5.groovy", "        new File(\"something\").c^", false);
117
    }
113
    }
118
114
Lines 140-166 Link Here
140
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(\"/\").equals(new Date().a^", false);
136
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(\"/\").equals(new Date().a^", false);
141
    }
137
    }
142
138
143
    // TESTFAIL
144
    public void testCompletionInsideConstructor2() throws Exception {
139
    public void testCompletionInsideConstructor2() throws Exception {
145
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(new Date().get^", false);
140
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "new File(new Date().get^", false);
146
    }
141
    }
147
142
148
    // TESTFAIL
149
    public void testCompletionInsideConstructor3() throws Exception {
143
    public void testCompletionInsideConstructor3() throws Exception {
150
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "if (new File(new Date().get^", false);
144
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "if (new File(new Date().get^", false);
151
    }
145
    }
152
146
153
    // TESTFAIL
154
    public void testCompletionInsideFor1() throws Exception {
147
    public void testCompletionInsideFor1() throws Exception {
155
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "for(new Date().get^", false);
148
        checkCompletion(TEST_BASE + "" + "Methods9.groovy", "for(new Date().get^", false);
156
    }
149
    }
157
150
158
    // TESTFAIL
159
    public void testCompletionNoPrefixString1() throws Exception {
151
    public void testCompletionNoPrefixString1() throws Exception {
160
        checkCompletion(TEST_BASE + "" + "Methods10.groovy", "println \"Hello $name!\".^", false);
152
        checkCompletion(TEST_BASE + "" + "Methods10.groovy", "println \"Hello $name!\".^", false);
161
    }
153
    }
162
154
163
    // TESTFAIL
164
    public void testCompletionNoPrefixString2() throws Exception {
155
    public void testCompletionNoPrefixString2() throws Exception {
165
        checkCompletion(TEST_BASE + "" + "Methods11.groovy", "def name='Petr'.^", false);
156
        checkCompletion(TEST_BASE + "" + "Methods11.groovy", "def name='Petr'.^", false);
166
    }
157
    }
Lines 179-195 Link Here
179
        checkCompletion(TEST_BASE + "" + "Methods12.groovy", "        new Test().set^", false);
170
        checkCompletion(TEST_BASE + "" + "Methods12.groovy", "        new Test().set^", false);
180
    }
171
    }
181
172
182
    // TESTFAIL
183
    public void testCompletionGroovyClass1() throws Exception {
173
    public void testCompletionGroovyClass1() throws Exception {
184
        checkCompletion(TEST_BASE + "" + "Methods13.groovy", "        new Test1().^", false);
174
        checkCompletion(TEST_BASE + "" + "Methods13.groovy", "        new Test1().^", false);
185
    }
175
    }
186
176
187
    // TESTFAIL
188
    public void testCompletionGroovyThis1() throws Exception {
177
    public void testCompletionGroovyThis1() throws Exception {
189
        checkCompletion(TEST_BASE + "" + "Methods14.groovy", "        this.get^", false);
178
        checkCompletion(TEST_BASE + "" + "Methods14.groovy", "        this.get^", false);
190
    }
179
    }
191
180
192
    // TESTFAIL
193
    public void testCompletionGroovySuper1() throws Exception {
181
    public void testCompletionGroovySuper1() throws Exception {
194
        checkCompletion(TEST_BASE + "" + "Methods15.groovy", "        super.^", false);
182
        checkCompletion(TEST_BASE + "" + "Methods15.groovy", "        super.^", false);
195
    }
183
    }
Lines 202-208 Link Here
202
        checkCompletion(TEST_BASE + "" + "Methods16.groovy", "        x^", false);
190
        checkCompletion(TEST_BASE + "" + "Methods16.groovy", "        x^", false);
203
    }
191
    }
204
192
205
    // TESTFAIL
206
    public void testCompletionNoDot3() throws Exception {
193
    public void testCompletionNoDot3() throws Exception {
207
        checkCompletion(TEST_BASE + "" + "Methods16.groovy", "        n^", false);
194
        checkCompletion(TEST_BASE + "" + "Methods16.groovy", "        n^", false);
208
    }
195
    }
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/OperatorsCompletionTest.java (-22 / +22 lines)
Lines 83-115 Link Here
83
        return map;
83
        return map;
84
    }
84
    }
85
85
86
    public void testSafeNavigation1() throws Exception {
86
//    public void testSafeNavigation1() throws Exception {
87
        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        x?.b^", true);
87
//        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        x?.b^", true);
88
    }
88
//    }
89
89
//
90
    public void testSafeNavigation2() throws Exception {
90
//    public void testSafeNavigation2() throws Exception {
91
        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        this?.a^", true);
91
//        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        this?.a^", true);
92
    }
92
//    }
93
93
//
94
    public void testSafeNavigation3() throws Exception {
94
//    public void testSafeNavigation3() throws Exception {
95
        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        r?.t^", true);
95
//        checkCompletion(TEST_BASE + "SafeNavigation1.groovy", "        r?.t^", true);
96
    }
96
//    }
97
97
98
    public void testSafeNavigation4() throws Exception {
98
    public void testSafeNavigation4() throws Exception {
99
        checkCompletion(TEST_BASE + "SafeNavigation2.groovy", "        \"\"?.^", true);
99
        checkCompletion(TEST_BASE + "SafeNavigation2.groovy", "        \"\"?.^", true);
100
    }
100
    }
101
101
102
    public void testMethodClosure1() throws Exception {
102
//    public void testMethodClosure1() throws Exception {
103
        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        x.&b^", true);
103
//        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        x.&b^", true);
104
    }
104
//    }
105
105
//
106
    public void testMethodClosure2() throws Exception {
106
//    public void testMethodClosure2() throws Exception {
107
        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        this.&a^", true);
107
//        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        this.&a^", true);
108
    }
108
//    }
109
109
//
110
    public void testMethodClosure3() throws Exception {
110
//    public void testMethodClosure3() throws Exception {
111
        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        r.&t^", true);
111
//        checkCompletion(TEST_BASE + "MethodClosure1.groovy", "        r.&t^", true);
112
    }
112
//    }
113
113
114
    public void testMethodClosure4() throws Exception {
114
    public void testMethodClosure4() throws Exception {
115
        checkCompletion(TEST_BASE + "MethodClosure2.groovy", "        \"\".&^", true);
115
        checkCompletion(TEST_BASE + "MethodClosure2.groovy", "        \"\".&^", true);
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TransformationsCompletionTest.java (-1 lines)
Lines 87-93 Link Here
87
        checkCompletion(TEST_BASE + "Transformations1.groovy", "        Transformations1.in^", true);
87
        checkCompletion(TEST_BASE + "Transformations1.groovy", "        Transformations1.in^", true);
88
    }
88
    }
89
89
90
    // TESTFAIL
91
    public void testTransformations2() throws Exception {
90
    public void testTransformations2() throws Exception {
92
        checkCompletion(TEST_BASE + "Transformations2.groovy", "        Transformations2.get^", true);
91
        checkCompletion(TEST_BASE + "Transformations2.groovy", "        Transformations2.get^", true);
93
    }
92
    }
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/TypesCompletionTest.java (-1 lines)
Lines 163-169 Link Here
163
163
164
    // test if interfaces and only interfaces are proposed:
164
    // test if interfaces and only interfaces are proposed:
165
    
165
    
166
    // TESTFAIL
167
    public void testInterfaceCompletion1() throws Exception {
166
    public void testInterfaceCompletion1() throws Exception {
168
        checkCompletion(TYPES_BASE + "" + "InterfaceCompletion1.groovy", "class SpecialGroovyClass implements ^Runnable, Serializable {", false);
167
        checkCompletion(TYPES_BASE + "" + "InterfaceCompletion1.groovy", "class SpecialGroovyClass implements ^Runnable, Serializable {", false);
169
    }
168
    }
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/completion/VariablesCompletionTest.java (-5 lines)
Lines 83-89 Link Here
83
        return map;
83
        return map;
84
    }
84
    }
85
85
86
    // TESTFAIL
87
    public void testVariables1() throws Exception {
86
    public void testVariables1() throws Exception {
88
        checkCompletion(TEST_BASE + "Variables1.groovy", "            i^", true);
87
        checkCompletion(TEST_BASE + "Variables1.groovy", "            i^", true);
89
    }
88
    }
Lines 92-98 Link Here
92
        checkCompletion(TEST_BASE + "Variables1.groovy", "        it^", true);
91
        checkCompletion(TEST_BASE + "Variables1.groovy", "        it^", true);
93
    }
92
    }
94
93
95
    // TESTFAIL
96
    public void testVariables3() throws Exception {
94
    public void testVariables3() throws Exception {
97
        checkCompletion(TEST_BASE + "Variables1.groovy", "            a^", true);
95
        checkCompletion(TEST_BASE + "Variables1.groovy", "            a^", true);
98
    }
96
    }
Lines 129-146 Link Here
129
        checkCompletion(TEST_BASE + "Variables2.groovy", "            pa^", true);
127
        checkCompletion(TEST_BASE + "Variables2.groovy", "            pa^", true);
130
    }
128
    }
131
129
132
    // TESTFAIL
133
    public void testVariables12() throws Exception {
130
    public void testVariables12() throws Exception {
134
        checkCompletion(TEST_BASE + "Variables3.groovy", "println \"Hello $name!\" ^", true);
131
        checkCompletion(TEST_BASE + "Variables3.groovy", "println \"Hello $name!\" ^", true);
135
    }
132
    }
136
133
137
    public void testVariables13() throws Exception {
134
    public void testVariables13() throws Exception {
138
    // TESTFAIL
139
        checkCompletion(TEST_BASE + "Variables3.groovy", "    x ^", true);
135
        checkCompletion(TEST_BASE + "Variables3.groovy", "    x ^", true);
140
    }
136
    }
141
137
142
    public void testVariables14() throws Exception {
138
    public void testVariables14() throws Exception {
143
    // TESTFAIL
144
        checkCompletion(TEST_BASE + "Variables3.groovy", "    def x ^", true);
139
        checkCompletion(TEST_BASE + "Variables3.groovy", "    def x ^", true);
145
    }
140
    }
146
}
141
}
(-)a/groovy.editor/test/unit/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProviderTest.java (-25 / +23 lines)
Lines 61-67 Link Here
61
        super(testName);
61
        super(testName);
62
    }
62
    }
63
63
64
    // TESTFAIL
65
    public void testGeneratorWithClass() throws IOException {
64
    public void testGeneratorWithClass() throws IOException {
66
        copyStringToFileObject(testFO,
65
        copyStringToFileObject(testFO,
67
                "class Foo {\n" +
66
                "class Foo {\n" +
Lines 79-88 Link Here
79
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
78
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
80
        assertEquals(
79
        assertEquals(
81
                "import groovy.util.*;\n" +
80
                "import groovy.util.*;\n" +
81
                "import java.lang.*;\n" +
82
                "import groovy.lang.*;\n" +
82
                "import java.util.*;\n" +
83
                "import java.util.*;\n" +
83
                "import java.io.*;\n" +
84
                "import java.io.*;\n" +
84
                "import java.lang.*;\n" +
85
                "import groovy.lang.*;\n" +
86
                "import java.net.*;\n" +
85
                "import java.net.*;\n" +
87
                "\n" +
86
                "\n" +
88
                "public class Foo\n" +
87
                "public class Foo\n" +
Lines 94-100 Link Here
94
                "}\n", charSequence);
93
                "}\n", charSequence);
95
    }
94
    }
96
95
97
    // TESTFAIL
98
    public void testGeneratorWithScript() throws IOException {
96
    public void testGeneratorWithScript() throws IOException {
99
        copyStringToFileObject(testFO,
97
        copyStringToFileObject(testFO,
100
                "def closure1 = {\n" +
98
                "def closure1 = {\n" +
Lines 110-119 Link Here
110
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
108
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
111
        assertEquals(
109
        assertEquals(
112
                "import groovy.util.*;\n" +
110
                "import groovy.util.*;\n" +
111
                "import java.lang.*;\n" +
112
                "import groovy.lang.*;\n" +
113
                "import java.util.*;\n" +
113
                "import java.util.*;\n" +
114
                "import java.io.*;\n" +
114
                "import java.io.*;\n" +
115
                "import java.lang.*;\n" +
116
                "import groovy.lang.*;\n" +
117
                "import java.net.*;\n" +
115
                "import java.net.*;\n" +
118
                "\n" +
116
                "\n" +
119
                "public class Test\n" +
117
                "public class Test\n" +
Lines 126-132 Link Here
126
                "}\n", charSequence);
124
                "}\n", charSequence);
127
    }
125
    }
128
126
129
    // TESTFAIL
130
    public void testGenerics() throws IOException {
127
    public void testGenerics() throws IOException {
131
        copyStringToFileObject(testFO,
128
        copyStringToFileObject(testFO,
132
                "class Foo {\n" +
129
                "class Foo {\n" +
Lines 141-150 Link Here
141
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
138
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
142
        assertEquals(
139
        assertEquals(
143
                "import groovy.util.*;\n" +
140
                "import groovy.util.*;\n" +
141
                "import java.lang.*;\n" +
142
                "import groovy.lang.*;\n" +
144
                "import java.util.*;\n" +
143
                "import java.util.*;\n" +
145
                "import java.io.*;\n" +
144
                "import java.io.*;\n" +
146
                "import java.lang.*;\n" +
147
                "import groovy.lang.*;\n" +
148
                "import java.net.*;\n" +
145
                "import java.net.*;\n" +
149
                "\n" +
146
                "\n" +
150
                "public class Foo\n" +
147
                "public class Foo\n" +
Lines 154-160 Link Here
154
                "}\n", charSequence);
151
                "}\n", charSequence);
155
    }
152
    }
156
153
157
    // TESTFAIL
158
    public void testImports() throws IOException {
154
    public void testImports() throws IOException {
159
        copyStringToFileObject(testFO,
155
        copyStringToFileObject(testFO,
160
            "import javax.swing.JPanel\n" +
156
            "import javax.swing.JPanel\n" +
Lines 169-180 Link Here
169
165
170
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
166
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
171
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
167
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
172
        assertEquals("import groovy.util.*;\n" +
168
        assertEquals(
169
                "import groovy.util.*;\n" +
170
                "import java.lang.*;\n" +
171
                "import groovy.lang.*;\n" +
173
                "import java.util.*;\n" +
172
                "import java.util.*;\n" +
173
                "import javax.swing.*;\n" +
174
                "import java.io.*;\n" +
174
                "import java.io.*;\n" +
175
                "import java.lang.*;\n" +
176
                "import javax.swing.*;\n" +
177
                "import groovy.lang.*;\n" +
178
                "import java.net.*;\n" +
175
                "import java.net.*;\n" +
179
                "\n" +
176
                "\n" +
180
                "public class MyTest\n" +
177
                "public class MyTest\n" +
Lines 184-190 Link Here
184
                "}\n", charSequence);
181
                "}\n", charSequence);
185
    }
182
    }
186
183
187
    // TESTFAIL
188
    public void testMultipleClasses() throws IOException {
184
    public void testMultipleClasses() throws IOException {
189
        copyStringToFileObject(testFO,
185
        copyStringToFileObject(testFO,
190
                "class PostService {\n" +
186
                "class PostService {\n" +
Lines 204-214 Link Here
204
200
205
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
201
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
206
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
202
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
207
        assertEquals("import groovy.util.*;\n"+
203
        assertEquals(
204
                "import groovy.util.*;\n"+
205
                "import java.lang.*;\n" +
206
                "import groovy.lang.*;\n" +
208
                "import java.util.*;\n" +
207
                "import java.util.*;\n" +
209
                "import java.io.*;\n" +
208
                "import java.io.*;\n" +
210
                "import java.lang.*;\n" +
211
                "import groovy.lang.*;\n" +
212
                "import java.net.*;\n" +
209
                "import java.net.*;\n" +
213
                "\n" +
210
                "\n" +
214
                "public class PostService\n" +
211
                "public class PostService\n" +
Lines 220-230 Link Here
220
                "}\n", charSequence);
217
                "}\n", charSequence);
221
218
222
        charSequence = generator.generateClass(classNodes.get(1));
219
        charSequence = generator.generateClass(classNodes.get(1));
223
        assertEquals("import groovy.util.*;\n" +
220
        assertEquals(
221
                "import groovy.util.*;\n" +
222
                "import java.lang.*;\n" +
223
                "import groovy.lang.*;\n" +
224
                "import java.util.*;\n" +
224
                "import java.util.*;\n" +
225
                "import java.io.*;\n" +
225
                "import java.io.*;\n" +
226
                "import java.lang.*;\n" +
227
                "import groovy.lang.*;\n" +
228
                "import java.net.*;\n" +
226
                "import java.net.*;\n" +
229
                "\n" +
227
                "\n" +
230
                "public class PostException\n" +
228
                "public class PostException\n" +
Lines 236-242 Link Here
236
                "}\n", charSequence);
234
                "}\n", charSequence);
237
    }
235
    }
238
236
239
    // TESTFAIL
240
    public void testThrowsClause() throws IOException {
237
    public void testThrowsClause() throws IOException {
241
        copyStringToFileObject(testFO,
238
        copyStringToFileObject(testFO,
242
            "class MyTest {\n"+
239
            "class MyTest {\n"+
Lines 256-266 Link Here
256
253
257
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
254
        GroovyVirtualSourceProvider.JavaStubGenerator generator = new GroovyVirtualSourceProvider.JavaStubGenerator();
258
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
255
        CharSequence charSequence = generator.generateClass(classNodes.get(0));
259
        assertEquals("import groovy.util.*;\n" +
256
        assertEquals(
257
                "import groovy.util.*;\n" +
258
                "import java.lang.*;\n" +
259
                "import groovy.lang.*;\n" +
260
                "import java.util.*;\n" +
260
                "import java.util.*;\n" +
261
                "import java.io.*;\n" +
261
                "import java.io.*;\n" +
262
                "import java.lang.*;\n" +
263
                "import groovy.lang.*;\n" +
264
                "import java.net.*;\n" +
262
                "import java.net.*;\n" +
265
                "\n" +
263
                "\n" +
266
                "public class MyTest\n" +
264
                "public class MyTest\n" +

Return to bug 196812