Skip to content

Commit 9da7f6e

Browse files
committed
Update REGEN_TESTS with latest changes
Signed-off-by: swastik <swastkk@gmail.com>
1 parent 7838da7 commit 9da7f6e

File tree

99 files changed

+14
-396
lines changed

Some content is hidden

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

99 files changed

+14
-396
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
"datasource_ids": [
8585
"maven_pom"
8686
],
87-
"license_clarity": [],
8887
"purl": "pkg:maven/javax.persistence/persistence-api@1.0"
8988
},
9089
{
@@ -186,7 +185,6 @@
186185
"datasource_ids": [
187186
"npm_package_json"
188187
],
189-
"license_clarity": [],
190188
"purl": "pkg:npm/grunt-esvm@3.2.8"
191189
},
192190
{
@@ -264,7 +262,6 @@
264262
"datasource_ids": [
265263
"npm_package_json"
266264
],
267-
"license_clarity": [],
268265
"purl": "pkg:npm/angular-compare-validator@0.1.1"
269266
}
270267
],

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"warnings": [],
1919
"extra_data": {
2020
"system_environment": {
21-
"operating_system": "mac",
21+
"operating_system": "linux",
2222
"cpu_architecture": "64",
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)]"
23+
"platform": "Linux-5.15.0-112-generic-x86_64-with-glibc2.35",
24+
"platform_version": "#122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024",
25+
"python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]"
2626
},
2727
"spdx_license_list_version": "3.23",
2828
"files_count": 4
@@ -116,7 +116,6 @@
116116
"datasource_ids": [
117117
"maven_pom"
118118
],
119-
"license_clarity": [],
120119
"purl": "pkg:maven/javax.persistence/persistence-api@1.0"
121120
},
122121
{
@@ -218,7 +217,6 @@
218217
"datasource_ids": [
219218
"npm_package_json"
220219
],
221-
"license_clarity": [],
222220
"purl": "pkg:npm/grunt-esvm@3.2.8"
223221
},
224222
{
@@ -296,7 +294,6 @@
296294
"datasource_ids": [
297295
"npm_package_json"
298296
],
299-
"license_clarity": [],
300297
"purl": "pkg:npm/angular-compare-validator@0.1.1"
301298
}
302299
]

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ headers:
2727
warnings: []
2828
extra_data:
2929
system_environment:
30-
operating_system: mac
30+
operating_system: linux
3131
cpu_architecture: 64
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)]
32+
platform: Linux-5.15.0-112-generic-x86_64-with-glibc2.35
33+
platform_version: '#122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024'
34+
python_version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
3535
spdx_license_list_version: '3.23'
3636
files_count: 4
3737
summary:
@@ -139,7 +139,6 @@ packages:
139139
- manifests/maven/persistence-api-1.0.pom
140140
datasource_ids:
141141
- maven_pom
142-
license_clarity: []
143142
purl: pkg:maven/javax.persistence/persistence-api@1.0
144143
- type: npm
145144
namespace:
@@ -225,7 +224,6 @@ packages:
225224
- manifests/npm-license-mapping/package.json
226225
datasource_ids:
227226
- npm_package_json
228-
license_clarity: []
229227
purl: pkg:npm/grunt-esvm@3.2.8
230228
- type: npm
231229
namespace:
@@ -291,7 +289,6 @@ packages:
291289
- manifests/npm-license-string/package.json
292290
datasource_ids:
293291
- npm_package_json
294-
license_clarity: []
295292
purl: pkg:npm/angular-compare-validator@0.1.1
296293
dependencies:
297294
- purl: pkg:npm/bluebird

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ headers:
2727
warnings: []
2828
extra_data:
2929
system_environment:
30-
operating_system: mac
30+
operating_system: linux
3131
cpu_architecture: 64
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)]
32+
platform: Linux-5.15.0-112-generic-x86_64-with-glibc2.35
33+
platform_version: '#122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024'
34+
python_version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
3535
spdx_license_list_version: '3.23'
3636
files_count: 4
3737
summary:
@@ -119,7 +119,6 @@ packages:
119119
- package-and-licenses/setup.cfg
120120
datasource_ids:
121121
- pypi_setup_cfg
122-
license_clarity: []
123122
purl: pkg:pypi/codebase
124123
dependencies: []
125124
license_detections:

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"datasource_ids": [
8181
"npm_package_json"
8282
],
83-
"license_clarity": [],
8483
"purl": "pkg:npm/npm@2.13.5"
8584
}
8685
],

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"datasource_ids": [
8181
"npm_package_json"
8282
],
83-
"license_clarity": [],
8483
"purl": "pkg:npm/npm@2.13.5"
8584
}
8685
],

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"datasource_ids": [
7676
"about_file"
7777
],
78-
"license_clarity": [],
7978
"purl": "pkg:about/apipkg@1.4"
8079
},
8180
{
@@ -165,7 +164,6 @@
165164
"datasource_ids": [
166165
"about_file"
167166
],
168-
"license_clarity": [],
169167
"purl": "pkg:about/appdirs@1.4.3"
170168
}
171169
],

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
"datasource_ids": [
9191
"alpine_installed_db"
9292
],
93-
"license_clarity": [],
9493
"resources": [
9594
{
9695
"path": "alpine-container-layer.tar.xz/etc/fstab",
@@ -303,7 +302,6 @@
303302
"datasource_ids": [
304303
"alpine_installed_db"
305304
],
306-
"license_clarity": [],
307305
"resources": [
308306
{
309307
"path": "alpine-container-layer.tar.xz/lib/ld-musl-x86_64.so.1",
@@ -408,7 +406,6 @@
408406
"datasource_ids": [
409407
"alpine_installed_db"
410408
],
411-
"license_clarity": [],
412409
"resources": [
413410
{
414411
"path": "alpine-container-layer.tar.xz/bin/busybox",
@@ -576,7 +573,6 @@
576573
"datasource_ids": [
577574
"alpine_installed_db"
578575
],
579-
"license_clarity": [],
580576
"resources": [
581577
{
582578
"path": "alpine-container-layer.tar.xz/etc/motd",
@@ -933,7 +929,6 @@
933929
"datasource_ids": [
934930
"alpine_installed_db"
935931
],
936-
"license_clarity": [],
937932
"resources": [
938933
{
939934
"path": "alpine-container-layer.tar.xz/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
@@ -1227,7 +1222,6 @@
12271222
"datasource_ids": [
12281223
"alpine_installed_db"
12291224
],
1230-
"license_clarity": [],
12311225
"resources": [
12321226
{
12331227
"path": "alpine-container-layer.tar.xz/etc/ssl/certs/ca-certificates.crt",
@@ -1341,7 +1335,6 @@
13411335
"datasource_ids": [
13421336
"alpine_installed_db"
13431337
],
1344-
"license_clarity": [],
13451338
"resources": [
13461339
{
13471340
"path": "alpine-container-layer.tar.xz/etc/ssl/ct_log_list.cnf",
@@ -1527,7 +1520,6 @@
15271520
"datasource_ids": [
15281521
"alpine_installed_db"
15291522
],
1530-
"license_clarity": [],
15311523
"resources": [
15321524
{
15331525
"path": "alpine-container-layer.tar.xz/lib/libssl.so.1.1",
@@ -1620,7 +1612,6 @@
16201612
"datasource_ids": [
16211613
"alpine_installed_db"
16221614
],
1623-
"license_clarity": [],
16241615
"resources": [
16251616
{
16261617
"path": "alpine-container-layer.tar.xz/usr/bin/ssl_client",
@@ -1725,7 +1716,6 @@
17251716
"datasource_ids": [
17261717
"alpine_installed_db"
17271718
],
1728-
"license_clarity": [],
17291719
"resources": [
17301720
{
17311721
"path": "alpine-container-layer.tar.xz/lib/libz.so.1.2.12",
@@ -1818,7 +1808,6 @@
18181808
"datasource_ids": [
18191809
"alpine_installed_db"
18201810
],
1821-
"license_clarity": [],
18221811
"resources": [
18231812
{
18241813
"path": "alpine-container-layer.tar.xz/lib/libapk.so.3.12.0",
@@ -1920,7 +1909,6 @@
19201909
"datasource_ids": [
19211910
"alpine_installed_db"
19221911
],
1923-
"license_clarity": [],
19241912
"resources": [
19251913
{
19261914
"path": "alpine-container-layer.tar.xz/usr/bin/scanelf",
@@ -2013,7 +2001,6 @@
20132001
"datasource_ids": [
20142002
"alpine_installed_db"
20152003
],
2016-
"license_clarity": [],
20172004
"resources": [
20182005
{
20192006
"path": "alpine-container-layer.tar.xz/sbin/ldconfig",
@@ -2142,7 +2129,6 @@
21422129
"datasource_ids": [
21432130
"alpine_installed_db"
21442131
],
2145-
"license_clarity": [],
21462132
"resources": [],
21472133
"purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64"
21482134
}

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
"datasource_ids": [
9292
"alpine_installed_db"
9393
],
94-
"license_clarity": [],
9594
"purl": "pkg:alpine/alpine-baselayout-data@3.2.0-r22?arch=x86_64"
9695
},
9796
{
@@ -185,7 +184,6 @@
185184
"datasource_ids": [
186185
"alpine_installed_db"
187186
],
188-
"license_clarity": [],
189187
"purl": "pkg:alpine/musl@1.2.3-r0?arch=x86_64"
190188
},
191189
{
@@ -279,7 +277,6 @@
279277
"datasource_ids": [
280278
"alpine_installed_db"
281279
],
282-
"license_clarity": [],
283280
"purl": "pkg:alpine/busybox@1.35.0-r15?arch=x86_64"
284281
},
285282
{
@@ -391,7 +388,6 @@
391388
"datasource_ids": [
392389
"alpine_installed_db"
393390
],
394-
"license_clarity": [],
395391
"purl": "pkg:alpine/alpine-baselayout@3.2.0-r22?arch=x86_64"
396392
},
397393
{
@@ -647,7 +643,6 @@
647643
"datasource_ids": [
648644
"alpine_installed_db"
649645
],
650-
"license_clarity": [],
651646
"purl": "pkg:alpine/alpine-keys@2.4-r1?arch=x86_64"
652647
},
653648
{
@@ -741,7 +736,6 @@
741736
"datasource_ids": [
742737
"alpine_installed_db"
743738
],
744-
"license_clarity": [],
745739
"purl": "pkg:alpine/ca-certificates-bundle@20211220-r0?arch=x86_64"
746740
},
747741
{
@@ -844,7 +838,6 @@
844838
"datasource_ids": [
845839
"alpine_installed_db"
846840
],
847-
"license_clarity": [],
848841
"purl": "pkg:alpine/libcrypto1.1@1.1.1q-r0?arch=x86_64"
849842
},
850843
{
@@ -938,7 +931,6 @@
938931
"datasource_ids": [
939932
"alpine_installed_db"
940933
],
941-
"license_clarity": [],
942934
"purl": "pkg:alpine/libssl1.1@1.1.1q-r0?arch=x86_64"
943935
},
944936
{
@@ -1020,7 +1012,6 @@
10201012
"datasource_ids": [
10211013
"alpine_installed_db"
10221014
],
1023-
"license_clarity": [],
10241015
"purl": "pkg:alpine/ssl_client@1.35.0-r15?arch=x86_64"
10251016
},
10261017
{
@@ -1114,7 +1105,6 @@
11141105
"datasource_ids": [
11151106
"alpine_installed_db"
11161107
],
1117-
"license_clarity": [],
11181108
"purl": "pkg:alpine/zlib@1.2.12-r1?arch=x86_64"
11191109
},
11201110
{
@@ -1196,7 +1186,6 @@
11961186
"datasource_ids": [
11971187
"alpine_installed_db"
11981188
],
1199-
"license_clarity": [],
12001189
"purl": "pkg:alpine/apk-tools@2.12.9-r3?arch=x86_64"
12011190
},
12021191
{
@@ -1278,7 +1267,6 @@
12781267
"datasource_ids": [
12791268
"alpine_installed_db"
12801269
],
1281-
"license_clarity": [],
12821270
"purl": "pkg:alpine/scanelf@1.3.4-r0?arch=x86_64"
12831271
},
12841272
{
@@ -1360,7 +1348,6 @@
13601348
"datasource_ids": [
13611349
"alpine_installed_db"
13621350
],
1363-
"license_clarity": [],
13641351
"purl": "pkg:alpine/musl-utils@1.2.3-r0?arch=x86_64"
13651352
},
13661353
{
@@ -1442,7 +1429,6 @@
14421429
"datasource_ids": [
14431430
"alpine_installed_db"
14441431
],
1445-
"license_clarity": [],
14461432
"purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64"
14471433
}
14481434
],

0 commit comments

Comments
 (0)