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

Skip to content

Commit dbb7b0b

Browse files
smowtonigfoo
authored andcommitted
Update control-flow test expectations
1 parent 5fe65ed commit dbb7b0b

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

java/ql/test/kotlin/library-tests/controlflow/basic/bbStmts.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
| Test.kt:3:1:80:1 | { ... } | 1 | Test.kt:3:1:80:1 | super(...) |
55
| Test.kt:3:1:80:1 | { ... } | 2 | Test.kt:3:1:80:1 | <Expr>; |
66
| Test.kt:3:1:80:1 | { ... } | 3 | Test.kt:3:1:80:1 | <obinit>(...) |
7+
| Test.kt:4:2:79:2 | test | 0 | Test.kt:4:2:79:2 | test |
78
| Test.kt:4:13:79:2 | { ... } | 0 | Test.kt:4:13:79:2 | { ... } |
89
| Test.kt:4:13:79:2 | { ... } | 1 | Test.kt:5:3:5:16 | var ...; |
910
| Test.kt:4:13:79:2 | { ... } | 2 | Test.kt:5:16:5:16 | 0 |
@@ -103,7 +104,6 @@
103104
| Test.kt:43:3:43:3 | <Expr>; | 8 | Test.kt:77:3:77:3 | ...=... |
104105
| Test.kt:43:3:43:3 | <Expr>; | 9 | Test.kt:78:3:78:8 | INSTANCE |
105106
| Test.kt:43:3:43:3 | <Expr>; | 10 | Test.kt:78:3:78:8 | return ... |
106-
| Test.kt:43:3:43:3 | <Expr>; | 11 | Test.kt:4:2:79:2 | test |
107107
| Test.kt:82:1:89:1 | t1 | 0 | Test.kt:82:1:89:1 | t1 |
108108
| Test.kt:82:21:89:1 | { ... } | 0 | Test.kt:82:21:89:1 | { ... } |
109109
| Test.kt:82:21:89:1 | { ... } | 1 | Test.kt:83:2:88:2 | try ... |

java/ql/test/kotlin/library-tests/controlflow/basic/bbStrictDominance.expected

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1+
| Test.kt:4:13:79:2 | { ... } | Test.kt:4:2:79:2 | test |
12
| Test.kt:4:13:79:2 | { ... } | Test.kt:18:3:18:3 | <Expr>; |
23
| Test.kt:4:13:79:2 | { ... } | Test.kt:30:15:33:3 | { ... } |
34
| Test.kt:4:13:79:2 | { ... } | Test.kt:35:3:35:3 | <Expr>; |
45
| Test.kt:4:13:79:2 | { ... } | Test.kt:38:9:38:9 | x |
56
| Test.kt:4:13:79:2 | { ... } | Test.kt:38:16:41:3 | { ... } |
67
| Test.kt:4:13:79:2 | { ... } | Test.kt:43:3:43:3 | <Expr>; |
8+
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:4:2:79:2 | test |
79
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:30:15:33:3 | { ... } |
810
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:35:3:35:3 | <Expr>; |
911
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:38:9:38:9 | x |
1012
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:38:16:41:3 | { ... } |
1113
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:43:3:43:3 | <Expr>; |
14+
| Test.kt:35:3:35:3 | <Expr>; | Test.kt:4:2:79:2 | test |
1215
| Test.kt:35:3:35:3 | <Expr>; | Test.kt:38:9:38:9 | x |
1316
| Test.kt:35:3:35:3 | <Expr>; | Test.kt:38:16:41:3 | { ... } |
1417
| Test.kt:35:3:35:3 | <Expr>; | Test.kt:43:3:43:3 | <Expr>; |
18+
| Test.kt:38:9:38:9 | x | Test.kt:4:2:79:2 | test |
1519
| Test.kt:38:9:38:9 | x | Test.kt:38:16:41:3 | { ... } |
1620
| Test.kt:38:9:38:9 | x | Test.kt:43:3:43:3 | <Expr>; |
21+
| Test.kt:43:3:43:3 | <Expr>; | Test.kt:4:2:79:2 | test |
1722
| Test.kt:82:21:89:1 | { ... } | Test.kt:82:1:89:1 | t1 |
1823
| Test.kt:82:21:89:1 | { ... } | Test.kt:84:3:84:18 | x |
1924
| Test.kt:82:21:89:1 | { ... } | Test.kt:86:4:88:2 | catch (...) |

java/ql/test/kotlin/library-tests/controlflow/basic/bbSuccessor.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
| Test.kt:11:3:16:3 | ... -> ... | Test.kt:18:3:18:3 | <Expr>; |
33
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:30:15:33:3 | { ... } |
44
| Test.kt:18:3:18:3 | <Expr>; | Test.kt:35:3:35:3 | <Expr>; |
5+
| Test.kt:21:3:24:9 | ... -> ... | Test.kt:4:2:79:2 | test |
56
| Test.kt:30:15:33:3 | { ... } | Test.kt:35:3:35:3 | <Expr>; |
67
| Test.kt:35:3:35:3 | <Expr>; | Test.kt:38:9:38:9 | x |
78
| Test.kt:38:9:38:9 | x | Test.kt:38:16:41:3 | { ... } |
89
| Test.kt:38:9:38:9 | x | Test.kt:43:3:43:3 | <Expr>; |
910
| Test.kt:38:16:41:3 | { ... } | Test.kt:38:9:38:9 | x |
11+
| Test.kt:43:3:43:3 | <Expr>; | Test.kt:4:2:79:2 | test |
1012
| Test.kt:82:21:89:1 | { ... } | Test.kt:84:3:84:18 | x |
1113
| Test.kt:82:21:89:1 | { ... } | Test.kt:86:4:88:2 | catch (...) |
1214
| Test.kt:84:3:84:18 | x | Test.kt:82:1:89:1 | t1 |

java/ql/test/kotlin/library-tests/controlflow/basic/getASuccessor.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
| Test.kt:22:4:22:4 | y | VarAccess | file://:0:0:0:0 | <none> | <none> |
6565
| Test.kt:22:8:22:9 | 40 | LongLiteral | Test.kt:22:4:22:4 | ...=... | AssignExpr |
6666
| Test.kt:24:4:24:9 | INSTANCE | VarAccess | Test.kt:24:4:24:9 | return ... | ReturnStmt |
67-
| Test.kt:24:4:24:9 | return ... | ReturnStmt | file://:0:0:0:0 | <none> | <none> |
67+
| Test.kt:24:4:24:9 | return ... | ReturnStmt | Test.kt:4:2:79:2 | test | Method |
6868
| Test.kt:27:3:27:3 | ...=... | AssignExpr | Test.kt:30:3:33:3 | <Expr>; | ExprStmt |
6969
| Test.kt:27:3:27:3 | <Expr>; | ExprStmt | Test.kt:27:7:27:8 | 10 | IntegerLiteral |
7070
| Test.kt:27:3:27:3 | z | VarAccess | file://:0:0:0:0 | <none> | <none> |

java/ql/test/kotlin/library-tests/controlflow/dominance/dominator.expected

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,15 @@
131131
| Test.kt:92:4:93:9 | <Expr>; | Test.kt:92:4:93:9 | when ... |
132132
| Test.kt:92:4:93:9 | when ... | Test.kt:92:4:93:9 | ... -> ... |
133133
| Test.kt:92:8:92:8 | a | Test.kt:92:13:92:14 | 10 |
134+
| Test.kt:92:8:92:14 | ... (value equals) ... | Test.kt:81:2:98:2 | test2 |
134135
| Test.kt:92:8:92:14 | ... (value equals) ... | Test.kt:93:5:93:9 | break |
135136
| Test.kt:92:8:92:14 | ... (value equals) ... | Test.kt:94:4:95:12 | <Expr>; |
136137
| Test.kt:92:13:92:14 | 10 | Test.kt:92:8:92:14 | ... (value equals) ... |
138+
| Test.kt:93:5:93:9 | break | Test.kt:97:10:97:10 | b |
137139
| Test.kt:94:4:95:12 | <Expr>; | Test.kt:94:4:95:12 | when ... |
138140
| Test.kt:94:4:95:12 | when ... | Test.kt:94:4:95:12 | ... -> ... |
139141
| Test.kt:94:8:94:8 | a | Test.kt:94:13:94:14 | 20 |
140142
| Test.kt:94:8:94:14 | ... (value equals) ... | Test.kt:95:12:95:12 | c |
141143
| Test.kt:94:13:94:14 | 20 | Test.kt:94:8:94:14 | ... (value equals) ... |
142144
| Test.kt:95:12:95:12 | c | Test.kt:95:5:95:12 | return ... |
143-
| Test.kt:97:3:97:10 | return ... | Test.kt:81:2:98:2 | test2 |
144145
| Test.kt:97:10:97:10 | b | Test.kt:97:3:97:10 | return ... |

0 commit comments

Comments
 (0)