@@ -111,36 +111,208 @@ private void runTestFile(String testCaseFile) throws Exception {
111
111
}
112
112
113
113
@ Test
114
- public void testBignumValidator () throws Exception {
114
+ public void testOptionalBignumValidator () throws Exception {
115
115
runTestFile ("draft2019-09/optional/bignum.json" );
116
116
}
117
117
118
118
@ Test
119
- public void testFormatDateValidator () throws Exception {
119
+ @ Ignore
120
+ public void testOptionalContentValidator () throws Exception {
121
+ runTestFile ("draft2019-09/optional/content.json" );
122
+ }
123
+
124
+ @ Test
125
+ @ Ignore
126
+ public void testEcmascriptRegexValidator () throws Exception {
127
+ runTestFile ("draft2019-09/optional/ecmascript-regex.json" );
128
+ }
129
+
130
+ @ Test
131
+ @ Ignore
132
+ public void testZeroTerminatedFloatsValidator () throws Exception {
133
+ runTestFile ("draft2019-09/optional/zeroTerminatedFloats.json" );
134
+ }
135
+
136
+ @ Test
137
+ public void testOptionalFormatDateValidator () throws Exception {
120
138
runTestFile ("draft2019-09/optional/format/date.json" );
121
139
}
122
140
123
141
@ Test
124
- public void testFormatDateTimeValidator () throws Exception {
142
+ public void testOptionalFormatDateTimeValidator () throws Exception {
125
143
runTestFile ("draft2019-09/optional/format/date-time.json" );
126
144
}
127
145
128
146
@ Test
129
- public void testFormatEmailValidator () throws Exception {
147
+ public void testOptionalFormatEmailValidator () throws Exception {
130
148
runTestFile ("draft2019-09/optional/format/email.json" );
131
149
}
132
150
133
151
@ Test
134
- public void testFormatHostnameValidator () throws Exception {
152
+ public void testOptionalFormatHostnameValidator () throws Exception {
135
153
runTestFile ("draft2019-09/optional/format/hostname.json" );
136
154
}
137
155
138
156
@ Test
139
157
@ Ignore
140
- public void testFormatIdnEmailValidator () throws Exception {
158
+ public void testOptionalFormatIdnEmailValidator () throws Exception {
141
159
runTestFile ("draft2019-09/optional/format/idn-email.json" );
142
160
}
143
161
162
+ @ Test
163
+ @ Ignore
164
+ public void testOptionalFormatIdnHostnameValidator () throws Exception {
165
+ runTestFile ("draft2019-09/optional/format/idn-hostname.json" );
166
+ }
167
+
168
+ @ Test
169
+ public void testOptionalFormatIpv4Validator () throws Exception {
170
+ runTestFile ("draft2019-09/optional/format/ipv4.json" );
171
+ }
172
+
173
+ @ Test
174
+ public void testOptionalFormatIpv6Validator () throws Exception {
175
+ runTestFile ("draft2019-09/optional/format/ipv6.json" );
176
+ }
177
+
178
+ @ Test
179
+ @ Ignore
180
+ public void testOptionalFormatIriValidator () throws Exception {
181
+ runTestFile ("draft2019-09/optional/format/iri.json" );
182
+ }
183
+
184
+ @ Test
185
+ @ Ignore
186
+ public void testOptionalFormatIriReferenceValidator () throws Exception {
187
+ runTestFile ("draft2019-09/optional/format/iri-reference.json" );
188
+ }
189
+
190
+ @ Test
191
+ @ Ignore
192
+ public void testOptionalFormatJsonPointerValidator () throws Exception {
193
+ runTestFile ("draft2019-09/optional/format/json-pointer.json" );
194
+ }
195
+
196
+ @ Test
197
+ @ Ignore
198
+ public void testOptionalFormatRegexValidator () throws Exception {
199
+ runTestFile ("draft2019-09/optional/format/regex.json" );
200
+ }
201
+
202
+ @ Test
203
+ @ Ignore
204
+ public void testOptionalFormatRelativeJsonPointerValidator () throws Exception {
205
+ runTestFile ("draft2019-09/optional/format/relative-json-pointer.json" );
206
+ }
207
+
208
+ @ Test
209
+ @ Ignore
210
+ public void testOptionalFormatTimeValidator () throws Exception {
211
+ runTestFile ("draft2019-09/optional/format/time.json" );
212
+ }
213
+
214
+ @ Test
215
+ @ Ignore
216
+ public void testOptionalFormatUriValidator () throws Exception {
217
+ runTestFile ("draft2019-09/optional/format/uri.json" );
218
+ }
219
+
220
+ @ Test
221
+ @ Ignore
222
+ public void testOptionalFormatUriReferenceValidator () throws Exception {
223
+ runTestFile ("draft2019-09/optional/format/uri-reference.json" );
224
+ }
225
+
226
+ @ Test
227
+ @ Ignore
228
+ public void testOptionalFormatUriTemplateValidator () throws Exception {
229
+ runTestFile ("draft2019-09/optional/format/uri-template.json" );
230
+ }
231
+
232
+ @ Test
233
+ public void testAdditionalItemsValidator () throws Exception {
234
+ runTestFile ("draft2019-09/additionalItems.json" );
235
+ }
236
+
237
+ @ Test
238
+ public void testAdditionalPropertiesValidator () throws Exception {
239
+ runTestFile ("draft2019-09/additionalProperties.json" );
240
+ }
241
+
242
+ @ Test
243
+ @ Ignore
244
+ public void testAllOfValidator () throws Exception {
245
+ runTestFile ("draft2019-09/allOf.json" );
246
+ }
247
+
248
+ @ Test
249
+ @ Ignore
250
+ public void testAnchorValidator () throws Exception {
251
+ runTestFile ("draft2019-09/anchor.json" );
252
+ }
253
+
254
+ @ Test
255
+ @ Ignore
256
+ public void testAnyOfValidator () throws Exception {
257
+ runTestFile ("draft2019-09/anyOf.json" );
258
+ }
259
+
260
+ @ Test
261
+ @ Ignore
262
+ public void testBooleanSchemaValidator () throws Exception {
263
+ runTestFile ("draft2019-09/boolean_schema.json" );
264
+ }
265
+
266
+ @ Test
267
+ @ Ignore
268
+ public void testConstValidator () throws Exception {
269
+ runTestFile ("draft2019-09/const.json" );
270
+ }
271
+
272
+ @ Test
273
+ @ Ignore
274
+ public void testContainsValidator () throws Exception {
275
+ runTestFile ("draft2019-09/contains.json" );
276
+ }
277
+
278
+ @ Test
279
+ public void testDefaultValidator () throws Exception {
280
+ runTestFile ("draft2019-09/default.json" );
281
+ }
282
+
283
+ @ Test
284
+ @ Ignore
285
+ public void testDefsValidator () throws Exception {
286
+ runTestFile ("draft2019-09/defs.json" );
287
+ }
288
+
289
+ @ Test
290
+ @ Ignore
291
+ public void testDependenciesValidator () throws Exception {
292
+ runTestFile ("draft2019-09/dependencies.json" );
293
+ }
294
+
295
+ @ Test
296
+ @ Ignore
297
+ public void testEnumValidator () throws Exception {
298
+ runTestFile ("draft2019-09/enum.json" );
299
+ }
300
+
301
+ @ Test
302
+ public void testExclusiveMaximumValidator () throws Exception {
303
+ runTestFile ("draft2019-09/exclusiveMaximum.json" );
304
+ }
305
+
306
+ @ Test
307
+ public void testExclusiveMinimumValidator () throws Exception {
308
+ runTestFile ("draft2019-09/exclusiveMinimum.json" );
309
+ }
310
+
311
+ @ Test
312
+ public void testFormatValidator () throws Exception {
313
+ runTestFile ("draft2019-09/format.json" );
314
+ }
315
+
144
316
@ Test
145
317
public void testIfValidator () throws Exception {
146
318
runTestFile ("draft2019-09/if.json" );
@@ -152,4 +324,117 @@ public void testIfThenElseValidator() throws Exception {
152
324
runTestFile ("draft2019-09/if-then-else.json" );
153
325
}
154
326
327
+ @ Test
328
+ @ Ignore
329
+ public void testItemsValidator () throws Exception {
330
+ runTestFile ("draft2019-09/items.json" );
331
+ }
332
+
333
+ @ Test
334
+ public void testMaximumValidator () throws Exception {
335
+ runTestFile ("draft2019-09/maximum.json" );
336
+ }
337
+
338
+ @ Test
339
+ public void testMaxItemsValidator () throws Exception {
340
+ runTestFile ("draft2019-09/maxItems.json" );
341
+ }
342
+
343
+ @ Test
344
+ public void testMaxLengthValidator () throws Exception {
345
+ runTestFile ("draft2019-09/maxLength.json" );
346
+ }
347
+
348
+ @ Test
349
+ public void testMaxPropertiesValidator () throws Exception {
350
+ runTestFile ("draft2019-09/maxProperties.json" );
351
+ }
352
+
353
+ @ Test
354
+ public void testMinimumValidator () throws Exception {
355
+ runTestFile ("draft2019-09/minimum.json" );
356
+ }
357
+
358
+ @ Test
359
+ public void testMinItemsValidator () throws Exception {
360
+ runTestFile ("draft2019-09/minItems.json" );
361
+ }
362
+
363
+ @ Test
364
+ public void testMinLengthValidator () throws Exception {
365
+ runTestFile ("draft2019-09/minLength.json" );
366
+ }
367
+
368
+ @ Test
369
+ public void testMinPropertiesValidator () throws Exception {
370
+ runTestFile ("draft2019-09/minProperties.json" );
371
+ }
372
+
373
+ @ Test
374
+ public void testMultipleOfValidator () throws Exception {
375
+ runTestFile ("draft2019-09/multipleOf.json" );
376
+ }
377
+
378
+ @ Test
379
+ @ Ignore
380
+ public void testNotValidator () throws Exception {
381
+ runTestFile ("draft2019-09/not.json" );
382
+ }
383
+
384
+ @ Test
385
+ @ Ignore
386
+ public void testOneOfValidator () throws Exception {
387
+ runTestFile ("draft2019-09/oneOf.json" );
388
+ }
389
+
390
+ @ Test
391
+ public void testPatternValidator () throws Exception {
392
+ runTestFile ("draft2019-09/pattern.json" );
393
+ }
394
+
395
+ @ Test
396
+ @ Ignore
397
+ public void testPatternPropertiesValidator () throws Exception {
398
+ runTestFile ("draft2019-09/patternProperties.json" );
399
+ }
400
+
401
+ @ Test
402
+ @ Ignore
403
+ public void testPropertiesValidator () throws Exception {
404
+ runTestFile ("draft2019-09/properties.json" );
405
+ }
406
+
407
+ @ Test
408
+ @ Ignore
409
+ public void testPropertyNamesValidator () throws Exception {
410
+ runTestFile ("draft2019-09/propertyNames.json" );
411
+ }
412
+
413
+ @ Test
414
+ @ Ignore
415
+ public void testRefValidator () throws Exception {
416
+ runTestFile ("draft2019-09/ref.json" );
417
+ }
418
+
419
+ @ Test
420
+ @ Ignore
421
+ public void testRefRemoteValidator () throws Exception {
422
+ runTestFile ("draft2019-09/refRemote.json" );
423
+ }
424
+
425
+ @ Test
426
+ public void testRequiredValidator () throws Exception {
427
+ runTestFile ("draft2019-09/required.json" );
428
+ }
429
+
430
+ @ Test
431
+ public void testTypeValidator () throws Exception {
432
+ runTestFile ("draft2019-09/type.json" );
433
+ }
434
+
435
+ @ Test
436
+ public void testUniqueItemsValidator () throws Exception {
437
+ runTestFile ("draft2019-09/uniqueItems.json" );
438
+ }
439
+
155
440
}
0 commit comments