-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
169 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...shots__/SerializationTests.JsonRoundTripAsyncTest_valid-multiple-license-id-1.4.json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"id": "Apache-2.0" | ||
} | ||
}, | ||
{ | ||
"license": { | ||
"id": "MIT" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
..._snapshots__/SerializationTests.JsonRoundTripTest_valid-multiple-license-id-1.4.json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"id": "Apache-2.0" | ||
} | ||
}, | ||
{ | ||
"license": { | ||
"id": "MIT" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
tests/CycloneDX.Core.Tests/Resources/v1.4/valid-multiple-license-id-1.4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"id": "Apache-2.0" | ||
} | ||
}, | ||
{ | ||
"license": { | ||
"id": "MIT" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
tests/CycloneDX.Core.Tests/Resources/v1.4/valid-multiple-license-id-1.4.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.4"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<license> | ||
<id>Apache-2.0</id> | ||
</license> | ||
<license> | ||
<id>MIT</id> | ||
</license> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...pshots__/SerializationTests.XmlRoundTripStreamTest_valid-multiple-license-id-1.4.xml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<bom xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.4"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<license> | ||
<id>Apache-2.0</id> | ||
</license> | ||
<license> | ||
<id>MIT</id> | ||
</license> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |
28 changes: 28 additions & 0 deletions
28
.../__snapshots__/SerializationTests.XmlRoundTripTest_valid-multiple-license-id-1.4.xml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<bom xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.4"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<license> | ||
<id>Apache-2.0</id> | ||
</license> | ||
<license> | ||
<id>MIT</id> | ||
</license> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |