Skip to content

Commit 07b78f2

Browse files
committed
fix(EvaluatedModelReporterFunTest): Update evaluator-output files
Since these files are just parsed as plain text instead of deserialized into ORT data structures, updating them to the syntax appears to be the only way to fix the tests from here on out. Signed-off-by: Jens Keim <[email protected]>
1 parent 38ade17 commit 07b78f2

File tree

3 files changed

+22
-31
lines changed

3 files changed

+22
-31
lines changed

plugins/reporters/evaluated-model/src/funTest/resources/evaluated-model-reporter-test-deduplicate-expected-output.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,16 +1166,13 @@ statistics:
11661166
MIT: 1
11671167
execution_duration_in_seconds: 3125
11681168
repository:
1169-
vcs:
1170-
type: ""
1171-
url: ""
1172-
revision: ""
1173-
path: ""
1174-
vcs_processed:
1175-
type: "Git"
1176-
url: "https://github.com/oss-review-toolkit/ort.git"
1177-
revision: "master"
1178-
path: "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1169+
provenance:
1170+
vcs_info:
1171+
type: "Git"
1172+
url: "https://github.com/oss-review-toolkit/ort.git"
1173+
revision: "master"
1174+
path: "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1175+
resolved_revision: "master"
11791176
nested_repositories:
11801177
sub/module:
11811178
type: "Git"

plugins/reporters/evaluated-model/src/funTest/resources/evaluated-model-reporter-test-expected-output.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,17 +1261,14 @@
12611261
"execution_duration_in_seconds" : 3125
12621262
},
12631263
"repository" : {
1264-
"vcs" : {
1265-
"type" : "",
1266-
"url" : "",
1267-
"revision" : "",
1268-
"path" : ""
1269-
},
1270-
"vcs_processed" : {
1271-
"type" : "Git",
1272-
"url" : "https://github.com/oss-review-toolkit/ort.git",
1273-
"revision" : "master",
1274-
"path" : "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1264+
"provenance" : {
1265+
"vcs_info" : {
1266+
"type" : "Git",
1267+
"url" : "https://github.com/oss-review-toolkit/ort.git",
1268+
"revision" : "master",
1269+
"path" : "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1270+
},
1271+
"resolved_revision" : "master"
12751272
},
12761273
"nested_repositories" : {
12771274
"sub/module" : {

plugins/reporters/evaluated-model/src/funTest/resources/evaluated-model-reporter-test-expected-output.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,16 +1166,13 @@ statistics:
11661166
MIT: 1
11671167
execution_duration_in_seconds: 3125
11681168
repository:
1169-
vcs:
1170-
type: ""
1171-
url: ""
1172-
revision: ""
1173-
path: ""
1174-
vcs_processed:
1175-
type: "Git"
1176-
url: "https://github.com/oss-review-toolkit/ort.git"
1177-
revision: "master"
1178-
path: "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1169+
provenance:
1170+
vcs_info:
1171+
type: "Git"
1172+
url: "https://github.com/oss-review-toolkit/ort.git"
1173+
revision: "master"
1174+
path: "analyzer/src/funTest/assets/projects/synthetic/gradle/lib"
1175+
resolved_revision: "master"
11791176
nested_repositories:
11801177
sub/module:
11811178
type: "Git"

0 commit comments

Comments
 (0)