Skip to content

Commit

Permalink
Update tests with SCANCODE_REGEN_TEST_FIXTURES in accordance to impro…
Browse files Browse the repository at this point in the history
…ved Package models.

Signed-off-by: swastik <[email protected]>
  • Loading branch information
swastkk committed Jun 24, 2024
1 parent 703d7cc commit eb60d58
Show file tree
Hide file tree
Showing 105 changed files with 117 additions and 541 deletions.
3 changes: 0 additions & 3 deletions tests/formattedcode/data/common/manifests-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"datasource_ids": [
"maven_pom"
],
"license_clarity": [],
"purl": "pkg:maven/javax.persistence/[email protected]"
},
{
Expand Down Expand Up @@ -186,7 +185,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
},
{
Expand Down Expand Up @@ -264,7 +262,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
}
],
Expand Down
3 changes: 0 additions & 3 deletions tests/formattedcode/data/common/manifests-expected.jsonlines
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
"datasource_ids": [
"maven_pom"
],
"license_clarity": [],
"purl": "pkg:maven/javax.persistence/[email protected]"
},
{
Expand Down Expand Up @@ -218,7 +217,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
},
{
Expand Down Expand Up @@ -296,7 +294,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
}
]
Expand Down
3 changes: 0 additions & 3 deletions tests/formattedcode/data/common/manifests-expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ packages:
- manifests/maven/persistence-api-1.0.pom
datasource_ids:
- maven_pom
license_clarity: []
purl: pkg:maven/javax.persistence/[email protected]
- type: npm
namespace:
Expand Down Expand Up @@ -225,7 +224,6 @@ packages:
- manifests/npm-license-mapping/package.json
datasource_ids:
- npm_package_json
license_clarity: []
purl: pkg:npm/[email protected]
- type: npm
namespace:
Expand Down Expand Up @@ -291,7 +289,6 @@ packages:
- manifests/npm-license-string/package.json
datasource_ids:
- npm_package_json
license_clarity: []
purl: pkg:npm/[email protected]
dependencies:
- purl: pkg:npm/bluebird
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ packages:
- package-and-licenses/setup.cfg
datasource_ids:
- pypi_setup_cfg
license_clarity: []
purl: pkg:pypi/codebase
dependencies: []
license_detections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"datasource_ids": [
"npm_package_json"
],
"license_clarity": [],
"purl": "pkg:npm/[email protected]"
}
],
Expand Down
2 changes: 0 additions & 2 deletions tests/packagedcode/data/about/aboutfiles.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"datasource_ids": [
"about_file"
],
"license_clarity": [],
"purl": "pkg:about/[email protected]"
},
{
Expand Down Expand Up @@ -165,7 +164,6 @@
"datasource_ids": [
"about_file"
],
"license_clarity": [],
"purl": "pkg:about/[email protected]"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/etc/fstab",
Expand Down Expand Up @@ -303,7 +302,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/lib/ld-musl-x86_64.so.1",
Expand Down Expand Up @@ -408,7 +406,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/bin/busybox",
Expand Down Expand Up @@ -576,7 +573,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/etc/motd",
Expand Down Expand Up @@ -933,7 +929,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/etc/apk/keys/[email protected]",
Expand Down Expand Up @@ -1227,7 +1222,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/etc/ssl/certs/ca-certificates.crt",
Expand Down Expand Up @@ -1341,7 +1335,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/etc/ssl/ct_log_list.cnf",
Expand Down Expand Up @@ -1527,7 +1520,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/lib/libssl.so.1.1",
Expand Down Expand Up @@ -1620,7 +1612,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/usr/bin/ssl_client",
Expand Down Expand Up @@ -1725,7 +1716,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/lib/libz.so.1.2.12",
Expand Down Expand Up @@ -1818,7 +1808,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/lib/libapk.so.3.12.0",
Expand Down Expand Up @@ -1920,7 +1909,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/usr/bin/scanelf",
Expand Down Expand Up @@ -2013,7 +2001,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [
{
"path": "alpine-container-layer.tar.xz/sbin/ldconfig",
Expand Down Expand Up @@ -2142,7 +2129,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"resources": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -185,7 +184,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -279,7 +277,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -391,7 +388,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -647,7 +643,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -741,7 +736,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/ca-certificates-bundle@20211220-r0?arch=x86_64"
},
{
Expand Down Expand Up @@ -844,7 +838,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -938,7 +931,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1020,7 +1012,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1114,7 +1105,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1196,7 +1186,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1278,7 +1267,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1360,7 +1348,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
},
{
Expand Down Expand Up @@ -1442,7 +1429,6 @@
"datasource_ids": [
"alpine_installed_db"
],
"license_clarity": [],
"purl": "pkg:alpine/[email protected]?arch=x86_64"
}
],
Expand Down
Loading

0 comments on commit eb60d58

Please sign in to comment.