Skip to content

Commit e34aef0

Browse files
committed
Address review comments
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent b91b017 commit e34aef0

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

tests/types/cocoapods-test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
},
143143
{
144144
"description": "Rountrip test for <class 'type'> PURL",
145-
"test_group": "base",
145+
"test_group": "advanced",
146146
"test_type": "roundtrip",
147147
"input": "pkg:cocoapods/GoogleUtilities@7.5.2#NSData+zlib",
148148
"expected_output": "pkg:cocoapods/GoogleUtilities@7.5.2#NSData%2Bzlib",

tests/types/oci-test.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tests": [
44
{
55
"description": "Parse test for <class 'type'> PURL",
6-
"test_group": "base",
6+
"test_group": "advanced",
77
"test_type": "parse",
88
"input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest",
99
"expected_output": {
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"description": "Rountrip test for <class 'type'> PURL",
26-
"test_group": "base",
26+
"test_group": "advanced",
2727
"test_type": "roundtrip",
2828
"input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest",
2929
"expected_output": "pkg:oci/debian@sha256:244fd47e07d10?arch=amd64&repository_url=docker.io/library/debian&tag=latest",
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"description": "Parse test for <class 'type'> PURL",
55-
"test_group": "base",
55+
"test_group": "advanced",
5656
"test_type": "parse",
5757
"input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
5858
"expected_output": {
@@ -99,7 +99,7 @@
9999
},
100100
{
101101
"description": "Parse test for <class 'type'> PURL",
102-
"test_group": "base",
102+
"test_group": "advanced",
103103
"test_type": "parse",
104104
"input": "pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
105105
"expected_output": {

tests/types/swid-test.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tests": [
44
{
55
"description": "Parse test for <class 'type'> PURL",
6-
"test_group": "base",
6+
"test_group": "advanced",
77
"test_type": "parse",
88
"input": "pkg:swid/Acme/example.com/Enterprise+Server@1.0.0?tag_id=75b8c285-fa7b-485b-b199-4745e3004d0d",
99
"expected_output": {
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"description": "Rountrip test for <class 'type'> PURL",
24-
"test_group": "base",
24+
"test_group": "advanced",
2525
"test_type": "roundtrip",
2626
"input": "pkg:swid/Acme/example.com/Enterprise+Server@1.0.0?tag_id=75b8c285-fa7b-485b-b199-4745e3004d0d",
2727
"expected_output": "pkg:swid/Acme/example.com/Enterprise%2BServer@1.0.0?tag_id=75b8c285-fa7b-485b-b199-4745e3004d0d",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"description": "Build test for <class 'type'> PURL",
33-
"test_group": "base",
33+
"test_group": "advanced",
3434
"test_type": "build",
3535
"input": {
3636
"type": "swid",
@@ -93,7 +93,7 @@
9393
},
9494
{
9595
"description": "Parse test for <class 'type'> PURL",
96-
"test_group": "base",
96+
"test_group": "advanced",
9797
"test_type": "parse",
9898
"input": "pkg:swid/Adobe+Systems+Incorporated/Adobe+InDesign@CC?tag_id=CreativeCloud-CS6-Win-GM-MUL",
9999
"expected_output": {
@@ -111,7 +111,7 @@
111111
},
112112
{
113113
"description": "Rountrip test for <class 'type'> PURL",
114-
"test_group": "base",
114+
"test_group": "advanced",
115115
"test_type": "roundtrip",
116116
"input": "pkg:swid/Adobe+Systems+Incorporated/Adobe+InDesign@CC?tag_id=CreativeCloud-CS6-Win-GM-MUL",
117117
"expected_output": "pkg:swid/Adobe%2BSystems%2BIncorporated/Adobe%2BInDesign@CC?tag_id=CreativeCloud-CS6-Win-GM-MUL",
@@ -120,7 +120,7 @@
120120
},
121121
{
122122
"description": "Build test for <class 'type'> PURL",
123-
"test_group": "base",
123+
"test_group": "advanced",
124124
"test_type": "build",
125125
"input": {
126126
"type": "swid",

types/oci-definition.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@
4141
"pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest",
4242
"pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
4343
"pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
44-
"pkg:oci/hello-wasm@sha256:A244fd47e07d10?tag=v1"
44+
"pkg:oci/hello-wasm@sha256:244fd47e07d10?tag=v1"
4545
]
4646
}

0 commit comments

Comments
 (0)