Skip to content

Commit 64957ec

Browse files
committed
Update Failing tests with SCANCODE_REGEN_TEST_FIXTURES
Signed-off-by: swastik <swastkk@gmail.com>
1 parent fdca15e commit 64957ec

File tree

100 files changed

+877
-542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+877
-542
lines changed

tests/formattedcode/data/common/manifests-expected.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"datasource_ids": [
8585
"maven_pom"
8686
],
87+
"license_clarity": [],
8788
"purl": "pkg:maven/javax.persistence/persistence-api@1.0"
8889
},
8990
{
@@ -185,6 +186,7 @@
185186
"datasource_ids": [
186187
"npm_package_json"
187188
],
189+
"license_clarity": [],
188190
"purl": "pkg:npm/grunt-esvm@3.2.8"
189191
},
190192
{
@@ -262,6 +264,7 @@
262264
"datasource_ids": [
263265
"npm_package_json"
264266
],
267+
"license_clarity": [],
265268
"purl": "pkg:npm/angular-compare-validator@0.1.1"
266269
}
267270
],

tests/formattedcode/data/common/manifests-expected.jsonlines

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
"--package": true
1313
},
1414
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
15-
"output_format_version": "3.0.0",
15+
"output_format_version": "3.1.0",
1616
"message": null,
1717
"errors": [],
1818
"warnings": [],
1919
"extra_data": {
2020
"system_environment": {
21-
"operating_system": "linux",
21+
"operating_system": "mac",
2222
"cpu_architecture": "64",
23-
"platform": "Linux-5.15.0-89-generic-x86_64-with-glibc2.29",
24-
"platform_version": "#99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023",
25-
"python_version": "3.8.10 (default, Nov 22 2023, 10:22:35) \n[GCC 9.4.0]"
23+
"platform": "macOS-14.5-x86_64-i386-64bit",
24+
"platform_version": "Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103",
25+
"python_version": "3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]"
2626
},
27-
"spdx_license_list_version": "3.22",
27+
"spdx_license_list_version": "3.23",
2828
"files_count": 4
2929
}
3030
}
@@ -116,6 +116,7 @@
116116
"datasource_ids": [
117117
"maven_pom"
118118
],
119+
"license_clarity": [],
119120
"purl": "pkg:maven/javax.persistence/persistence-api@1.0"
120121
},
121122
{
@@ -217,6 +218,7 @@
217218
"datasource_ids": [
218219
"npm_package_json"
219220
],
221+
"license_clarity": [],
220222
"purl": "pkg:npm/grunt-esvm@3.2.8"
221223
},
222224
{
@@ -294,6 +296,7 @@
294296
"datasource_ids": [
295297
"npm_package_json"
296298
],
299+
"license_clarity": [],
297300
"purl": "pkg:npm/angular-compare-validator@0.1.1"
298301
}
299302
]

tests/formattedcode/data/common/manifests-expected.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ headers:
2121
for any legal advice.
2222
ScanCode is a free software code scanning tool from nexB Inc. and others.
2323
Visit https://github.com/nexB/scancode-toolkit/ for support and download.
24-
output_format_version: 3.0.0
24+
output_format_version: 3.1.0
2525
message:
2626
errors: []
2727
warnings: []
2828
extra_data:
2929
system_environment:
30-
operating_system: linux
30+
operating_system: mac
3131
cpu_architecture: 64
32-
platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.29
33-
platform_version: '#99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023'
34-
python_version: "3.8.10 (default, Nov 22 2023, 10:22:35) \n[GCC 9.4.0]"
35-
spdx_license_list_version: '3.22'
32+
platform: macOS-14.5-x86_64-i386-64bit
33+
platform_version: 'Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103'
34+
python_version: 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
35+
spdx_license_list_version: '3.23'
3636
files_count: 4
3737
summary:
3838
declared_license_expression: apache-2.0 AND cddl-1.0 AND mit
@@ -139,6 +139,7 @@ packages:
139139
- manifests/maven/persistence-api-1.0.pom
140140
datasource_ids:
141141
- maven_pom
142+
license_clarity: []
142143
purl: pkg:maven/javax.persistence/persistence-api@1.0
143144
- type: npm
144145
namespace:
@@ -224,6 +225,7 @@ packages:
224225
- manifests/npm-license-mapping/package.json
225226
datasource_ids:
226227
- npm_package_json
228+
license_clarity: []
227229
purl: pkg:npm/grunt-esvm@3.2.8
228230
- type: npm
229231
namespace:
@@ -289,6 +291,7 @@ packages:
289291
- manifests/npm-license-string/package.json
290292
datasource_ids:
291293
- npm_package_json
294+
license_clarity: []
292295
purl: pkg:npm/angular-compare-validator@0.1.1
293296
dependencies:
294297
- purl: pkg:npm/bluebird

tests/formattedcode/data/yaml/package-and-licenses-expected.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ headers:
2121
for any legal advice.
2222
ScanCode is a free software code scanning tool from nexB Inc. and others.
2323
Visit https://github.com/nexB/scancode-toolkit/ for support and download.
24-
output_format_version: 3.0.0
24+
output_format_version: 3.1.0
2525
message:
2626
errors: []
2727
warnings: []
2828
extra_data:
2929
system_environment:
30-
operating_system: linux
30+
operating_system: mac
3131
cpu_architecture: 64
32-
platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.29
33-
platform_version: '#99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023'
34-
python_version: "3.8.10 (default, Nov 22 2023, 10:22:35) \n[GCC 9.4.0]"
35-
spdx_license_list_version: '3.22'
32+
platform: macOS-14.5-x86_64-i386-64bit
33+
platform_version: 'Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103'
34+
python_version: 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
35+
spdx_license_list_version: '3.23'
3636
files_count: 4
3737
summary:
3838
declared_license_expression: apache-2.0
@@ -119,6 +119,7 @@ packages:
119119
- package-and-licenses/setup.cfg
120120
datasource_ids:
121121
- pypi_setup_cfg
122+
license_clarity: []
122123
purl: pkg:pypi/codebase
123124
dependencies: []
124125
license_detections:

tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"datasource_ids": [
8181
"npm_package_json"
8282
],
83+
"license_clarity": [],
8384
"purl": "pkg:npm/npm@2.13.5"
8485
}
8586
],

tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"datasource_ids": [
8181
"npm_package_json"
8282
],
83+
"license_clarity": [],
8384
"purl": "pkg:npm/npm@2.13.5"
8485
}
8586
],

tests/packagedcode/data/about/aboutfiles.expected.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"datasource_ids": [
7676
"about_file"
7777
],
78+
"license_clarity": [],
7879
"purl": "pkg:about/apipkg@1.4"
7980
},
8081
{
@@ -164,6 +165,7 @@
164165
"datasource_ids": [
165166
"about_file"
166167
],
168+
"license_clarity": [],
167169
"purl": "pkg:about/appdirs@1.4.3"
168170
}
169171
],

tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-get-installed-expected.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"datasource_ids": [
9191
"alpine_installed_db"
9292
],
93+
"license_clarity": [],
9394
"resources": [
9495
{
9596
"path": "alpine-container-layer.tar.xz/etc/fstab",
@@ -302,6 +303,7 @@
302303
"datasource_ids": [
303304
"alpine_installed_db"
304305
],
306+
"license_clarity": [],
305307
"resources": [
306308
{
307309
"path": "alpine-container-layer.tar.xz/lib/ld-musl-x86_64.so.1",
@@ -406,6 +408,7 @@
406408
"datasource_ids": [
407409
"alpine_installed_db"
408410
],
411+
"license_clarity": [],
409412
"resources": [
410413
{
411414
"path": "alpine-container-layer.tar.xz/bin/busybox",
@@ -573,6 +576,7 @@
573576
"datasource_ids": [
574577
"alpine_installed_db"
575578
],
579+
"license_clarity": [],
576580
"resources": [
577581
{
578582
"path": "alpine-container-layer.tar.xz/etc/motd",
@@ -929,6 +933,7 @@
929933
"datasource_ids": [
930934
"alpine_installed_db"
931935
],
936+
"license_clarity": [],
932937
"resources": [
933938
{
934939
"path": "alpine-container-layer.tar.xz/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
@@ -1222,6 +1227,7 @@
12221227
"datasource_ids": [
12231228
"alpine_installed_db"
12241229
],
1230+
"license_clarity": [],
12251231
"resources": [
12261232
{
12271233
"path": "alpine-container-layer.tar.xz/etc/ssl/certs/ca-certificates.crt",
@@ -1335,6 +1341,7 @@
13351341
"datasource_ids": [
13361342
"alpine_installed_db"
13371343
],
1344+
"license_clarity": [],
13381345
"resources": [
13391346
{
13401347
"path": "alpine-container-layer.tar.xz/etc/ssl/ct_log_list.cnf",
@@ -1520,6 +1527,7 @@
15201527
"datasource_ids": [
15211528
"alpine_installed_db"
15221529
],
1530+
"license_clarity": [],
15231531
"resources": [
15241532
{
15251533
"path": "alpine-container-layer.tar.xz/lib/libssl.so.1.1",
@@ -1612,6 +1620,7 @@
16121620
"datasource_ids": [
16131621
"alpine_installed_db"
16141622
],
1623+
"license_clarity": [],
16151624
"resources": [
16161625
{
16171626
"path": "alpine-container-layer.tar.xz/usr/bin/ssl_client",
@@ -1716,6 +1725,7 @@
17161725
"datasource_ids": [
17171726
"alpine_installed_db"
17181727
],
1728+
"license_clarity": [],
17191729
"resources": [
17201730
{
17211731
"path": "alpine-container-layer.tar.xz/lib/libz.so.1.2.12",
@@ -1808,6 +1818,7 @@
18081818
"datasource_ids": [
18091819
"alpine_installed_db"
18101820
],
1821+
"license_clarity": [],
18111822
"resources": [
18121823
{
18131824
"path": "alpine-container-layer.tar.xz/lib/libapk.so.3.12.0",
@@ -1909,6 +1920,7 @@
19091920
"datasource_ids": [
19101921
"alpine_installed_db"
19111922
],
1923+
"license_clarity": [],
19121924
"resources": [
19131925
{
19141926
"path": "alpine-container-layer.tar.xz/usr/bin/scanelf",
@@ -2001,6 +2013,7 @@
20012013
"datasource_ids": [
20022014
"alpine_installed_db"
20032015
],
2016+
"license_clarity": [],
20042017
"resources": [
20052018
{
20062019
"path": "alpine-container-layer.tar.xz/sbin/ldconfig",
@@ -2129,6 +2142,7 @@
21292142
"datasource_ids": [
21302143
"alpine_installed_db"
21312144
],
2145+
"license_clarity": [],
21322146
"resources": [],
21332147
"purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64"
21342148
}

0 commit comments

Comments
 (0)