Skip to content

Commit ac001c3

Browse files
authored
Merge pull request #15561 from igfoo/igfoo/kt2-tests
Kotlin 2: Accept more test changes
2 parents 048b372 + 2852f09 commit ac001c3

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fields
22
| intfDelegate.kt:7:18:9:1 | $$delegate_0 | intfDelegate.kt:7:26:9:1 | <Stmt> |
33
#select
4-
| intfDelegate.kt:0:0:0:0 | f | intfDelegate.kt:7:1:10:1 | Concrete |
54
| intfDelegate.kt:3:3:3:15 | f | intfDelegate.kt:1:1:5:1 | Intf |
65
| intfDelegate.kt:7:1:10:1 | Concrete | intfDelegate.kt:7:1:10:1 | Concrete |
6+
| intfDelegate.kt:7:1:10:1 | f | intfDelegate.kt:7:1:10:1 | Concrete |
77
| intfDelegate.kt:7:26:9:1 | | intfDelegate.kt:7:26:9:1 | new Intf(...) { ... } |
88
| intfDelegate.kt:8:3:8:28 | f | intfDelegate.kt:7:26:9:1 | new Intf(...) { ... } |

java/ql/test-kotlin2/library-tests/java-kotlin-collection-type-generic-methods/test.expected

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ methodWithDuplicate
5454
| AbstractList<E> | set | int |
5555
| AbstractList<E> | subList | int |
5656
| AbstractList<E> | subListRangeCheck | int |
57-
| AbstractMap | containsEntry$kotlin_stdlib | Entry<?,?> |
57+
| AbstractMap | containsEntry$main | Entry<?,?> |
5858
| AbstractMap | containsKey | Object |
5959
| AbstractMap | containsValue | Object |
6060
| AbstractMap | equals | Object |
@@ -79,7 +79,7 @@ methodWithDuplicate
7979
| AbstractMap<K,V> | put | V |
8080
| AbstractMap<K,V> | putAll | Map<? extends K,? extends V> |
8181
| AbstractMap<K,V> | remove | Object |
82-
| AbstractMap<String,String> | containsEntry$kotlin_stdlib | Entry<?,?> |
82+
| AbstractMap<String,String> | containsEntry$main | Entry<?,?> |
8383
| AbstractMap<String,String> | containsKey | Object |
8484
| AbstractMap<String,String> | containsValue | Object |
8585
| AbstractMap<String,String> | equals | Object |
@@ -121,7 +121,6 @@ methodWithDuplicate
121121
| Collection<Entry<K,V>> | addAll | Collection<? extends Entry<K,V>> |
122122
| Collection<Entry<K,V>> | contains | Object |
123123
| Collection<Entry<K,V>> | containsAll | Collection<?> |
124-
| Collection<Entry<K,V>> | equals | Object |
125124
| Collection<Entry<K,V>> | remove | Object |
126125
| Collection<Entry<K,V>> | removeAll | Collection<?> |
127126
| Collection<Entry<K,V>> | removeIf | Predicate<? super Entry<K,V>> |
@@ -132,7 +131,6 @@ methodWithDuplicate
132131
| Collection<K> | addAll | Collection<? extends K> |
133132
| Collection<K> | contains | Object |
134133
| Collection<K> | containsAll | Collection<?> |
135-
| Collection<K> | equals | Object |
136134
| Collection<K> | remove | Object |
137135
| Collection<K> | removeAll | Collection<?> |
138136
| Collection<K> | removeIf | Predicate<? super K> |
@@ -154,7 +152,6 @@ methodWithDuplicate
154152
| Collection<V> | addAll | Collection<? extends V> |
155153
| Collection<V> | contains | Object |
156154
| Collection<V> | containsAll | Collection<?> |
157-
| Collection<V> | equals | Object |
158155
| Collection<V> | remove | Object |
159156
| Collection<V> | removeAll | Collection<?> |
160157
| Collection<V> | removeIf | Predicate<? super V> |
@@ -194,7 +191,6 @@ methodWithDuplicate
194191
| List<E> | contains | Object |
195192
| List<E> | containsAll | Collection<?> |
196193
| List<E> | copyOf | Collection<? extends E> |
197-
| List<E> | equals | Object |
198194
| List<E> | get | int |
199195
| List<E> | indexOf | Object |
200196
| List<E> | lastIndexOf | Object |
@@ -279,7 +275,6 @@ methodWithDuplicate
279275
| Map<Identity,Entry<?>> | copyOf | Map<? extends K,? extends V> |
280276
| Map<Identity,Entry<?>> | entry | K |
281277
| Map<Identity,Entry<?>> | entry | V |
282-
| Map<Identity,Entry<?>> | equals | Object |
283278
| Map<Identity,Entry<?>> | forEach | BiConsumer<? super Identity,? super Entry<?>> |
284279
| Map<Identity,Entry<?>> | get | Object |
285280
| Map<Identity,Entry<?>> | getOrDefault | Entry<?> |
@@ -310,7 +305,6 @@ methodWithDuplicate
310305
| Map<K,V> | copyOf | Map<? extends K,? extends V> |
311306
| Map<K,V> | entry | K |
312307
| Map<K,V> | entry | V |
313-
| Map<K,V> | equals | Object |
314308
| Map<K,V> | forEach | BiConsumer<? super K,? super V> |
315309
| Map<K,V> | get | Object |
316310
| Map<K,V> | getOrDefault | Object |
@@ -341,7 +335,6 @@ methodWithDuplicate
341335
| Map<Object,Object> | copyOf | Map<? extends K,? extends V> |
342336
| Map<Object,Object> | entry | K |
343337
| Map<Object,Object> | entry | V |
344-
| Map<Object,Object> | equals | Object |
345338
| Map<Object,Object> | forEach | BiConsumer<? super Object,? super Object> |
346339
| Map<Object,Object> | get | Object |
347340
| Map<Object,Object> | getOrDefault | Object |

0 commit comments

Comments
 (0)