Skip to content

Commit 2a93b2a

Browse files
aibaarshvitved
authored andcommitted
Rust: integration-tests: update output
1 parent 1eaa491 commit 2a93b2a

12 files changed

+39
-17
lines changed

rust/ql/integration-tests/hello-project/diagnostics.expected

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"ms": "__REDACTED__",
1010
"pretty": "__REDACTED__"
1111
},
12+
"extractLibrary": {
13+
"ms": "__REDACTED__",
14+
"pretty": "__REDACTED__"
15+
},
1216
"findManifests": {
1317
"ms": "__REDACTED__",
1418
"pretty": "__REDACTED__"
@@ -25,12 +29,16 @@
2529
"ms": "__REDACTED__",
2630
"pretty": "__REDACTED__"
2731
},
32+
"parseLibrary": {
33+
"ms": "__REDACTED__",
34+
"pretty": "__REDACTED__"
35+
},
2836
"total": {
2937
"ms": "__REDACTED__",
3038
"pretty": "__REDACTED__"
3139
}
3240
},
33-
"numberOfFiles": 6,
41+
"numberOfFiles": 5,
3442
"numberOfManifests": 1
3543
},
3644
"severity": "note",

rust/ql/integration-tests/hello-project/steps.cargo.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
| Cargo.toml:0:0:0:0 | LoadManifest(Cargo.toml) |
2-
| file:///types.rs:0:0:0:0 | Extract(/types.rs) |
3-
| file:///types.rs:0:0:0:0 | Parse(/types.rs) |
42
| file://:0:0:0:0 | CrateGraph |
53
| file://:0:0:0:0 | FindManifests |
64
| src/directory_module/mod.rs:0:0:0:0 | Extract(src/directory_module/mod.rs) |

rust/ql/integration-tests/hello-project/steps.rust-project.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
| file:///types.rs:0:0:0:0 | Extract(/types.rs) |
2-
| file:///types.rs:0:0:0:0 | Parse(/types.rs) |
31
| file://:0:0:0:0 | CrateGraph |
42
| file://:0:0:0:0 | FindManifests |
53
| rust-project.json:0:0:0:0 | LoadManifest(rust-project.json) |

rust/ql/integration-tests/hello-project/summary.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| Inconsistencies - Path resolution | 0 |
1010
| Inconsistencies - SSA | 0 |
1111
| Inconsistencies - data flow | 0 |
12-
| Lines of code extracted | 23 |
12+
| Lines of code extracted | 6 |
1313
| Lines of user code extracted | 6 |
1414
| Macro calls - resolved | 2 |
1515
| Macro calls - total | 2 |

rust/ql/integration-tests/hello-workspace/diagnostics.cargo.expected

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"ms": "__REDACTED__",
1010
"pretty": "__REDACTED__"
1111
},
12+
"extractLibrary": {
13+
"ms": "__REDACTED__",
14+
"pretty": "__REDACTED__"
15+
},
1216
"findManifests": {
1317
"ms": "__REDACTED__",
1418
"pretty": "__REDACTED__"
@@ -25,12 +29,16 @@
2529
"ms": "__REDACTED__",
2630
"pretty": "__REDACTED__"
2731
},
32+
"parseLibrary": {
33+
"ms": "__REDACTED__",
34+
"pretty": "__REDACTED__"
35+
},
2836
"total": {
2937
"ms": "__REDACTED__",
3038
"pretty": "__REDACTED__"
3139
}
3240
},
33-
"numberOfFiles": 5,
41+
"numberOfFiles": 4,
3442
"numberOfManifests": 1
3543
},
3644
"severity": "note",

rust/ql/integration-tests/hello-workspace/diagnostics.rust-project.expected

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"ms": "__REDACTED__",
1010
"pretty": "__REDACTED__"
1111
},
12+
"extractLibrary": {
13+
"ms": "__REDACTED__",
14+
"pretty": "__REDACTED__"
15+
},
1216
"findManifests": {
1317
"ms": "__REDACTED__",
1418
"pretty": "__REDACTED__"
@@ -25,12 +29,16 @@
2529
"ms": "__REDACTED__",
2630
"pretty": "__REDACTED__"
2731
},
32+
"parseLibrary": {
33+
"ms": "__REDACTED__",
34+
"pretty": "__REDACTED__"
35+
},
2836
"total": {
2937
"ms": "__REDACTED__",
3038
"pretty": "__REDACTED__"
3139
}
3240
},
33-
"numberOfFiles": 5,
41+
"numberOfFiles": 4,
3442
"numberOfManifests": 1
3543
},
3644
"severity": "note",

rust/ql/integration-tests/hello-workspace/steps.cargo.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
| exe/src/main.rs:0:0:0:0 | Extract(exe/src/main.rs) |
66
| exe/src/main.rs:0:0:0:0 | LoadSource(exe/src/main.rs) |
77
| exe/src/main.rs:0:0:0:0 | Parse(exe/src/main.rs) |
8-
| file:///types.rs:0:0:0:0 | Extract(/types.rs) |
9-
| file:///types.rs:0:0:0:0 | Parse(/types.rs) |
108
| file://:0:0:0:0 | CrateGraph |
119
| file://:0:0:0:0 | FindManifests |
1210
| lib/src/a_module/mod.rs:0:0:0:0 | Extract(lib/src/a_module/mod.rs) |

rust/ql/integration-tests/hello-workspace/steps.rust-project.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
| exe/src/main.rs:0:0:0:0 | Extract(exe/src/main.rs) |
55
| exe/src/main.rs:0:0:0:0 | LoadSource(exe/src/main.rs) |
66
| exe/src/main.rs:0:0:0:0 | Parse(exe/src/main.rs) |
7-
| file:///types.rs:0:0:0:0 | Extract(/types.rs) |
8-
| file:///types.rs:0:0:0:0 | Parse(/types.rs) |
97
| file://:0:0:0:0 | CrateGraph |
108
| file://:0:0:0:0 | FindManifests |
119
| lib/src/a_module/mod.rs:0:0:0:0 | Extract(lib/src/a_module/mod.rs) |

rust/ql/integration-tests/hello-workspace/summary.cargo.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| Inconsistencies - Path resolution | 0 |
1010
| Inconsistencies - SSA | 0 |
1111
| Inconsistencies - data flow | 0 |
12-
| Lines of code extracted | 26 |
12+
| Lines of code extracted | 9 |
1313
| Lines of user code extracted | 9 |
1414
| Macro calls - resolved | 2 |
1515
| Macro calls - total | 2 |

rust/ql/integration-tests/hello-workspace/summary.rust-project.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| Inconsistencies - Path resolution | 0 |
1010
| Inconsistencies - SSA | 0 |
1111
| Inconsistencies - data flow | 0 |
12-
| Lines of code extracted | 26 |
12+
| Lines of code extracted | 9 |
1313
| Lines of user code extracted | 9 |
1414
| Macro calls - resolved | 2 |
1515
| Macro calls - total | 2 |

0 commit comments

Comments
 (0)