|
2 | 2 | "$schema": "https://packageurl.org/schemas/purl-test.schema-1.0.json", |
3 | 3 | "tests": [ |
4 | 4 | { |
5 | | - "description": "Parse test for basic OpenVSX PURL with version", |
| 5 | + "description": "Parse test for basic VS Code Extension PURL with version", |
6 | 6 | "test_group": "base", |
7 | 7 | "test_type": "parse", |
8 | | - "input": "pkg:openvsx/redhat/java@1.46.2025091308", |
| 8 | + "input": "pkg:vsx/redhat/java@1.46.2025091308", |
9 | 9 | "expected_output": { |
10 | | - "type": "openvsx", |
| 10 | + "type": "vsx", |
11 | 11 | "namespace": "redhat", |
12 | 12 | "name": "java", |
13 | 13 | "version": "1.46.2025091308", |
|
18 | 18 | "expected_failure_reason": null |
19 | 19 | }, |
20 | 20 | { |
21 | | - "description": "Roundtrip test for basic OpenVSX PURL with version", |
| 21 | + "description": "Roundtrip test for basic VS Code Extension PURL with version", |
22 | 22 | "test_group": "base", |
23 | 23 | "test_type": "roundtrip", |
24 | | - "input": "pkg:openvsx/redhat/java@1.46.2025091308", |
25 | | - "expected_output": "pkg:openvsx/redhat/java@1.46.2025091308", |
| 24 | + "input": "pkg:vsx/redhat/java@1.46.2025091308", |
| 25 | + "expected_output": "pkg:vsx/redhat/java@1.46.2025091308", |
26 | 26 | "expected_failure": false, |
27 | 27 | "expected_failure_reason": null |
28 | 28 | }, |
29 | 29 | { |
30 | | - "description": "Build test for basic OpenVSX PURL with version", |
| 30 | + "description": "Build test for basic VS Code Extension PURL with version", |
31 | 31 | "test_group": "base", |
32 | 32 | "test_type": "build", |
33 | 33 | "input": { |
34 | | - "type": "openvsx", |
| 34 | + "type": "vsx", |
35 | 35 | "namespace": "redhat", |
36 | 36 | "name": "java", |
37 | 37 | "version": "1.46.2025091308", |
38 | 38 | "qualifiers": null, |
39 | 39 | "subpath": null |
40 | 40 | }, |
41 | | - "expected_output": "pkg:openvsx/redhat/java@1.46.2025091308", |
| 41 | + "expected_output": "pkg:vsx/redhat/java@1.46.2025091308", |
42 | 42 | "expected_failure": false, |
43 | 43 | "expected_failure_reason": null |
44 | 44 | }, |
45 | 45 | { |
46 | | - "description": "Parse test for OpenVSX PURL with platform qualifier", |
| 46 | + "description": "Parse test for VS Code Extension PURL with platform qualifier", |
47 | 47 | "test_group": "base", |
48 | 48 | "test_type": "parse", |
49 | | - "input": "pkg:openvsx/redhat/java@1.46.2025091308?platform=linux-x64", |
| 49 | + "input": "pkg:vsx/redhat/java@1.46.2025091308?platform=linux-x64", |
50 | 50 | "expected_output": { |
51 | | - "type": "openvsx", |
| 51 | + "type": "vsx", |
52 | 52 | "namespace": "redhat", |
53 | 53 | "name": "java", |
54 | 54 | "version": "1.46.2025091308", |
|
61 | 61 | "expected_failure_reason": null |
62 | 62 | }, |
63 | 63 | { |
64 | | - "description": "Roundtrip test for OpenVSX PURL with platform qualifier", |
| 64 | + "description": "Roundtrip test for VS Code Extension PURL with platform qualifier", |
65 | 65 | "test_group": "base", |
66 | 66 | "test_type": "roundtrip", |
67 | | - "input": "pkg:openvsx/redhat/java@1.46.2025091308?platform=linux-x64", |
68 | | - "expected_output": "pkg:openvsx/redhat/java@1.46.2025091308?platform=linux-x64", |
| 67 | + "input": "pkg:vsx/redhat/java@1.46.2025091308?platform=linux-x64", |
| 68 | + "expected_output": "pkg:vsx/redhat/java@1.46.2025091308?platform=linux-x64", |
69 | 69 | "expected_failure": false, |
70 | 70 | "expected_failure_reason": null |
71 | 71 | }, |
72 | 72 | { |
73 | | - "description": "Build test for OpenVSX PURL with platform qualifier", |
| 73 | + "description": "Build test for VS Code Extension PURL with platform qualifier", |
74 | 74 | "test_group": "base", |
75 | 75 | "test_type": "build", |
76 | 76 | "input": { |
77 | | - "type": "openvsx", |
| 77 | + "type": "vsx", |
78 | 78 | "namespace": "redhat", |
79 | 79 | "name": "java", |
80 | 80 | "version": "1.46.2025091308", |
|
83 | 83 | }, |
84 | 84 | "subpath": null |
85 | 85 | }, |
86 | | - "expected_output": "pkg:openvsx/redhat/java@1.46.2025091308?platform=linux-x64", |
| 86 | + "expected_output": "pkg:vsx/redhat/java@1.46.2025091308?platform=linux-x64", |
87 | 87 | "expected_failure": false, |
88 | 88 | "expected_failure_reason": null |
89 | 89 | }, |
90 | 90 | { |
91 | | - "description": "Parse test for OpenVSX PURL without version", |
| 91 | + "description": "Parse test for VS Code Extension PURL without version", |
92 | 92 | "test_group": "base", |
93 | 93 | "test_type": "parse", |
94 | | - "input": "pkg:openvsx/ms-python/python", |
| 94 | + "input": "pkg:vsx/ms-python/python", |
95 | 95 | "expected_output": { |
96 | | - "type": "openvsx", |
| 96 | + "type": "vsx", |
97 | 97 | "namespace": "ms-python", |
98 | 98 | "name": "python", |
99 | 99 | "version": null, |
|
104 | 104 | "expected_failure_reason": null |
105 | 105 | }, |
106 | 106 | { |
107 | | - "description": "Roundtrip test for OpenVSX PURL without version", |
| 107 | + "description": "Roundtrip test for VS Code Extension PURL without version", |
108 | 108 | "test_group": "base", |
109 | 109 | "test_type": "roundtrip", |
110 | | - "input": "pkg:openvsx/ms-python/python", |
111 | | - "expected_output": "pkg:openvsx/ms-python/python", |
| 110 | + "input": "pkg:vsx/ms-python/python", |
| 111 | + "expected_output": "pkg:vsx/ms-python/python", |
112 | 112 | "expected_failure": false, |
113 | 113 | "expected_failure_reason": null |
114 | 114 | }, |
115 | 115 | { |
116 | | - "description": "Build test for OpenVSX PURL without version", |
| 116 | + "description": "Build test for VS Code Extension PURL without version", |
117 | 117 | "test_group": "base", |
118 | 118 | "test_type": "build", |
119 | 119 | "input": { |
120 | | - "type": "openvsx", |
| 120 | + "type": "vsx", |
121 | 121 | "namespace": "microsoft", |
122 | 122 | "name": "python", |
123 | 123 | "version": null, |
124 | 124 | "qualifiers": null, |
125 | 125 | "subpath": null |
126 | 126 | }, |
127 | | - "expected_output": "pkg:openvsx/microsoft/python", |
| 127 | + "expected_output": "pkg:vsx/microsoft/python", |
128 | 128 | "expected_failure": false, |
129 | 129 | "expected_failure_reason": null |
130 | 130 | }, |
131 | 131 | { |
132 | | - "description": "Parse test for OpenVSX PURL with darwin-arm64 platform", |
| 132 | + "description": "Parse test for VS Code Extension PURL with darwin-arm64 platform", |
133 | 133 | "test_group": "base", |
134 | 134 | "test_type": "parse", |
135 | | - "input": "pkg:openvsx/microsoft/python@2024.10.0?platform=darwin-arm64", |
| 135 | + "input": "pkg:vsx/microsoft/python@2024.10.0?platform=darwin-arm64", |
136 | 136 | "expected_output": { |
137 | | - "type": "openvsx", |
| 137 | + "type": "vsx", |
138 | 138 | "namespace": "microsoft", |
139 | 139 | "name": "python", |
140 | 140 | "version": "2024.10.0", |
|
147 | 147 | "expected_failure_reason": null |
148 | 148 | }, |
149 | 149 | { |
150 | | - "description": "Parse test for OpenVSX PURL with win32-x64 platform", |
| 150 | + "description": "Parse test for VS Code Extension PURL with win32-x64 platform", |
151 | 151 | "test_group": "base", |
152 | 152 | "test_type": "parse", |
153 | | - "input": "pkg:openvsx/golang/go@0.39.1?platform=win32-x64", |
| 153 | + "input": "pkg:vsx/golang/go@0.39.1?platform=win32-x64", |
154 | 154 | "expected_output": { |
155 | | - "type": "openvsx", |
| 155 | + "type": "vsx", |
156 | 156 | "namespace": "golang", |
157 | 157 | "name": "go", |
158 | 158 | "version": "0.39.1", |
|
165 | 165 | "expected_failure_reason": null |
166 | 166 | }, |
167 | 167 | { |
168 | | - "description": "Parse test for OpenVSX PURL without namespace should fail", |
| 168 | + "description": "Parse test for VS Code Extension PURL without namespace should fail", |
169 | 169 | "test_group": "base", |
170 | 170 | "test_type": "parse", |
171 | | - "input": "pkg:openvsx/java@1.46.2025091308", |
| 171 | + "input": "pkg:vsx/java@1.46.2025091308", |
172 | 172 | "expected_output": null, |
173 | 173 | "expected_failure": true, |
174 | | - "expected_failure_reason": "OpenVSX PURLs require a namespace (publisher)" |
| 174 | + "expected_failure_reason": "VS Code Extension PURLs require a namespace (publisher)" |
175 | 175 | }, |
176 | 176 | { |
177 | | - "description": "Build test for OpenVSX PURL without namespace should fail", |
| 177 | + "description": "Build test for VS Code Extension PURL without namespace should fail", |
178 | 178 | "test_group": "base", |
179 | 179 | "test_type": "build", |
180 | 180 | "input": { |
181 | | - "type": "openvsx", |
| 181 | + "type": "vsx", |
182 | 182 | "namespace": null, |
183 | 183 | "name": "java", |
184 | 184 | "version": "1.46.2025091308", |
|
187 | 187 | }, |
188 | 188 | "expected_output": null, |
189 | 189 | "expected_failure": true, |
190 | | - "expected_failure_reason": "OpenVSX PURLs require a namespace (publisher)" |
| 190 | + "expected_failure_reason": "VS Code Extension PURLs require a namespace (publisher)" |
191 | 191 | }, |
192 | 192 | { |
193 | | - "description": "Parse test for OpenVSX PURL with platform=universal (default)", |
| 193 | + "description": "Parse test for VS Code Extension PURL with platform=universal (default)", |
194 | 194 | "test_group": "base", |
195 | 195 | "test_type": "parse", |
196 | | - "input": "pkg:openvsx/redhat/java@1.46.2025091308?platform=universal", |
| 196 | + "input": "pkg:vsx/redhat/java@1.46.2025091308?platform=universal", |
197 | 197 | "expected_output": { |
198 | | - "type": "openvsx", |
| 198 | + "type": "vsx", |
199 | 199 | "namespace": "redhat", |
200 | 200 | "name": "java", |
201 | 201 | "version": "1.46.2025091308", |
|
0 commit comments