Skip to content

Commit d1dc14b

Browse files
committed
tests: add test snapshots
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent a82d88e commit d1dc14b

File tree

2 files changed

+141
-0
lines changed

2 files changed

+141
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"components": [
3+
{
4+
"bom-ref": "dummy",
5+
"externalReferences": [
6+
{
7+
"comment": "nothing special",
8+
"type": "other",
9+
"url": "https://acme.org"
10+
},
11+
{
12+
"comment": "pre-encoded",
13+
"type": "other",
14+
"url": "https://acme.org/?bar%5b23%5D=42"
15+
},
16+
{
17+
"comment": "control characters",
18+
"type": "other",
19+
"url": "https://acme.org/?foo=sp%20ace&bar%5B23%5D=42&lt=1%3C2&gt=3%3E2&cb=%7Blol%7D"
20+
}
21+
],
22+
"name": "dummy",
23+
"type": "library"
24+
}
25+
],
26+
"dependencies": [
27+
{
28+
"ref": "dummy"
29+
}
30+
],
31+
"metadata": {
32+
"timestamp": "2023-01-07T13:44:32.312678+00:00",
33+
"tools": [
34+
{
35+
"externalReferences": [
36+
{
37+
"type": "build-system",
38+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
39+
},
40+
{
41+
"type": "distribution",
42+
"url": "https://pypi.org/project/cyclonedx-python-lib/"
43+
},
44+
{
45+
"type": "documentation",
46+
"url": "https://cyclonedx-python-library.readthedocs.io/"
47+
},
48+
{
49+
"type": "issue-tracker",
50+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
51+
},
52+
{
53+
"type": "license",
54+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
55+
},
56+
{
57+
"type": "release-notes",
58+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
59+
},
60+
{
61+
"type": "vcs",
62+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
63+
},
64+
{
65+
"type": "website",
66+
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
67+
}
68+
],
69+
"name": "cyclonedx-python-lib",
70+
"vendor": "CycloneDX",
71+
"version": "TESTING"
72+
}
73+
]
74+
},
75+
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac",
76+
"version": 1,
77+
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
78+
"bomFormat": "CycloneDX",
79+
"specVersion": "1.5"
80+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" ?>
2+
<bom xmlns="http://cyclonedx.org/schema/bom/1.5" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1">
3+
<metadata>
4+
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp>
5+
<tools>
6+
<tool>
7+
<vendor>CycloneDX</vendor>
8+
<name>cyclonedx-python-lib</name>
9+
<version>TESTING</version>
10+
<externalReferences>
11+
<reference type="build-system">
12+
<url>https://github.com/CycloneDX/cyclonedx-python-lib/actions</url>
13+
</reference>
14+
<reference type="distribution">
15+
<url>https://pypi.org/project/cyclonedx-python-lib/</url>
16+
</reference>
17+
<reference type="documentation">
18+
<url>https://cyclonedx-python-library.readthedocs.io/</url>
19+
</reference>
20+
<reference type="issue-tracker">
21+
<url>https://github.com/CycloneDX/cyclonedx-python-lib/issues</url>
22+
</reference>
23+
<reference type="license">
24+
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE</url>
25+
</reference>
26+
<reference type="release-notes">
27+
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md</url>
28+
</reference>
29+
<reference type="vcs">
30+
<url>https://github.com/CycloneDX/cyclonedx-python-lib</url>
31+
</reference>
32+
<reference type="website">
33+
<url>https://github.com/CycloneDX/cyclonedx-python-lib/#readme</url>
34+
</reference>
35+
</externalReferences>
36+
</tool>
37+
</tools>
38+
</metadata>
39+
<components>
40+
<component type="library" bom-ref="dummy">
41+
<name>dummy</name>
42+
<externalReferences>
43+
<reference type="other">
44+
<url>https://acme.org</url>
45+
<comment>nothing special</comment>
46+
</reference>
47+
<reference type="other">
48+
<url>https://acme.org/?bar%5b23%5D=42</url>
49+
<comment>pre-encoded</comment>
50+
</reference>
51+
<reference type="other">
52+
<url>https://acme.org/?foo=sp%20ace&amp;bar%5B23%5D=42&amp;lt=1%3C2&amp;gt=3%3E2&amp;cb=%7Blol%7D</url>
53+
<comment>control characters</comment>
54+
</reference>
55+
</externalReferences>
56+
</component>
57+
</components>
58+
<dependencies>
59+
<dependency ref="dummy"/>
60+
</dependencies>
61+
</bom>

0 commit comments

Comments
 (0)