Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aefe5c5

Browse files
committed
Kotlin: Accept test changes
1 parent e6e5623 commit aefe5c5

4 files changed

Lines changed: 28 additions & 6 deletions

File tree

java/ql/test/kotlin/library-tests/exprs/exprs.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
| exprs.kt:64:1:66:1 | <obinit>(...) | MethodAccess |
113113
| exprs.kt:64:9:64:18 | ...=... | AssignExpr |
114114
| exprs.kt:64:9:64:18 | n | VarAccess |
115-
| exprs.kt:64:9:64:18 | n | VarAccess |
116115
| exprs.kt:65:27:65:31 | new C(...) | ClassInstanceExpr |
117116
| exprs.kt:65:29:65:30 | 42 | IntegerLiteral |
118117
| exprs.kt:68:1:68:18 | <obinit>(...) | MethodAccess |
@@ -166,7 +165,6 @@
166165
| exprs.kt:92:1:96:1 | new Enum(...) | ClassInstanceExpr |
167166
| exprs.kt:92:18:92:29 | ...=... | AssignExpr |
168167
| exprs.kt:92:18:92:29 | rgb | VarAccess |
169-
| exprs.kt:92:18:92:29 | rgb | VarAccess |
170168
| exprs.kt:99:5:99:31 | south | LocalVariableDeclExpr |
171169
| exprs.kt:99:27:99:31 | SOUTH | VarAccess |
172170
| exprs.kt:100:5:100:27 | green | LocalVariableDeclExpr |

java/ql/test/kotlin/library-tests/types/types.expected

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,12 @@
16021602
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
16031603
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
16041604
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1605+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1606+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1607+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1608+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1609+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
1610+
| file://:0:0:0:0 | Collection<V> | Interface, ParameterizedType |
16051611
| file://:0:0:0:0 | CollectionView | Class, GenericType, ParameterizedType |
16061612
| file://:0:0:0:0 | CollectionView<K,V,Entry<K,V>> | Class, ParameterizedType |
16071613
| file://:0:0:0:0 | CollectionView<K,V,K> | Class, ParameterizedType |
@@ -2016,6 +2022,13 @@
20162022
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
20172023
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
20182024
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2025+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2026+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2027+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2028+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2029+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2030+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
2031+
| file://:0:0:0:0 | Entry<K,V> | Interface, ParameterizedType |
20192032
| file://:0:0:0:0 | Entry<K,V>[] | Array |
20202033
| file://:0:0:0:0 | Entry<Object,Object> | Interface, ParameterizedType |
20212034
| file://:0:0:0:0 | Entry<String,Long> | Interface, ParameterizedType |
@@ -3329,13 +3342,26 @@
33293342
| file://:0:0:0:0 | Set<Entry<Identity,Entry<?>>> | Interface, ParameterizedType |
33303343
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
33313344
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3345+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3346+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3347+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3348+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3349+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3350+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3351+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
3352+
| file://:0:0:0:0 | Set<Entry<K,V>> | Interface, ParameterizedType |
33323353
| file://:0:0:0:0 | Set<Entry<Object,Object>> | Interface, ParameterizedType |
33333354
| file://:0:0:0:0 | Set<Exports> | Interface, ParameterizedType |
33343355
| file://:0:0:0:0 | Set<Identity> | Interface, ParameterizedType |
33353356
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
33363357
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
33373358
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
33383359
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
3360+
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
3361+
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
3362+
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
3363+
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
3364+
| file://:0:0:0:0 | Set<K> | Interface, ParameterizedType |
33393365
| file://:0:0:0:0 | Set<Locale> | Interface, ParameterizedType |
33403366
| file://:0:0:0:0 | Set<Modifier> | Interface, ParameterizedType |
33413367
| file://:0:0:0:0 | Set<Modifier> | Interface, ParameterizedType |

java/ql/test/kotlin/library-tests/variables/variableAccesses.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
varAcc
2-
| variables.kt:3:5:3:21 | prop |
3-
| variables.kt:16:11:16:18 | o |
42
| variables.kt:16:11:16:18 | o |
53
instAcc
64
| variables.kt:21:11:21:15 | this |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
| variables.kt:2:1:8:1 | other | file://:0:0:0:0 | Object | file://:0:0:0:0 | <none> |
2-
| variables.kt:3:5:3:21 | prop | file://:0:0:0:0 | int | variables.kt:3:21:3:21 | 1 |
2+
| variables.kt:3:5:3:21 | prop | file://:0:0:0:0 | int | file://:0:0:0:0 | <none> |
33
| variables.kt:5:20:5:29 | param | file://:0:0:0:0 | int | file://:0:0:0:0 | <none> |
44
| variables.kt:6:9:6:25 | int local | file://:0:0:0:0 | int | variables.kt:6:21:6:25 | ... + ... |
55
| variables.kt:10:1:10:21 | topLevel | file://:0:0:0:0 | int | file://:0:0:0:0 | <none> |
66
| variables.kt:12:1:15:1 | other | file://:0:0:0:0 | Object | file://:0:0:0:0 | <none> |
77
| variables.kt:16:1:34:1 | other | file://:0:0:0:0 | Object | file://:0:0:0:0 | <none> |
88
| variables.kt:16:11:16:18 | o | variables.kt:12:1:15:1 | C1 | file://:0:0:0:0 | <none> |
9-
| variables.kt:16:11:16:18 | o | variables.kt:12:1:15:1 | C1 | variables.kt:16:11:16:18 | o |
9+
| variables.kt:16:11:16:18 | o | variables.kt:12:1:15:1 | C1 | file://:0:0:0:0 | <none> |
1010
| variables.kt:36:1:45:1 | other | file://:0:0:0:0 | Object | file://:0:0:0:0 | <none> |
1111
| variables.kt:38:11:44:5 | other | file://:0:0:0:0 | Object | file://:0:0:0:0 | <none> |

0 commit comments

Comments
 (0)