|
7 | 7 | import io.undertow.server.handlers.resource.FileResourceManager;
|
8 | 8 | import org.junit.AfterClass;
|
9 | 9 | import org.junit.BeforeClass;
|
| 10 | +import org.junit.Ignore; |
10 | 11 | import org.junit.Test;
|
11 | 12 |
|
12 | 13 | import java.io.File;
|
@@ -106,8 +107,216 @@ private void runTestFile(String testCaseFile) throws Exception {
|
106 | 107 | }
|
107 | 108 |
|
108 | 109 | @Test
|
109 |
| - public void testBignumValidator() throws Exception { |
| 110 | + public void testOptionalBignumValidator() throws Exception { |
110 | 111 | runTestFile("draft6/optional/bignum.json");
|
111 | 112 | }
|
112 | 113 |
|
| 114 | + @Test |
| 115 | + @Ignore |
| 116 | + public void testEcmascriptRegexValidator() throws Exception { |
| 117 | + runTestFile("draft6/optional/ecmascript-regex.json"); |
| 118 | + } |
| 119 | + |
| 120 | + @Test |
| 121 | + @Ignore |
| 122 | + public void testZeroTerminatedFloatsValidator() throws Exception { |
| 123 | + runTestFile("draft6/optional/zeroTerminatedFloats.json"); |
| 124 | + } |
| 125 | + |
| 126 | + @Test |
| 127 | + @Ignore |
| 128 | + public void testOptionalFormatValidator() throws Exception { |
| 129 | + runTestFile("draft6/optional/format.json"); |
| 130 | + } |
| 131 | + |
| 132 | + @Test |
| 133 | + public void testAdditionalItemsValidator() throws Exception { |
| 134 | + runTestFile("draft6/additionalItems.json"); |
| 135 | + } |
| 136 | + |
| 137 | + @Test |
| 138 | + public void testAdditionalPropertiesValidator() throws Exception { |
| 139 | + runTestFile("draft6/additionalProperties.json"); |
| 140 | + } |
| 141 | + |
| 142 | + @Test |
| 143 | + @Ignore |
| 144 | + public void testAllOfValidator() throws Exception { |
| 145 | + runTestFile("draft6/allOf.json"); |
| 146 | + } |
| 147 | + |
| 148 | + @Test |
| 149 | + @Ignore |
| 150 | + public void testAnyOfValidator() throws Exception { |
| 151 | + runTestFile("draft6/anyOf.json"); |
| 152 | + } |
| 153 | + |
| 154 | + @Test |
| 155 | + @Ignore |
| 156 | + public void testBooleanSchemaValidator() throws Exception { |
| 157 | + runTestFile("draft6/boolean_schema.json"); |
| 158 | + } |
| 159 | + |
| 160 | + @Test |
| 161 | + @Ignore |
| 162 | + public void testConstValidator() throws Exception { |
| 163 | + runTestFile("draft6/const.json"); |
| 164 | + } |
| 165 | + |
| 166 | + @Test |
| 167 | + @Ignore |
| 168 | + public void testContainsValidator() throws Exception { |
| 169 | + runTestFile("draft6/contains.json"); |
| 170 | + } |
| 171 | + |
| 172 | + @Test |
| 173 | + public void testDefaultValidator() throws Exception { |
| 174 | + runTestFile("draft6/default.json"); |
| 175 | + } |
| 176 | + |
| 177 | + @Test |
| 178 | + public void testDefinitionsValidator() throws Exception { |
| 179 | + runTestFile("draft6/definitions.json"); |
| 180 | + } |
| 181 | + |
| 182 | + @Test |
| 183 | + @Ignore |
| 184 | + public void testDependenciesValidator() throws Exception { |
| 185 | + runTestFile("draft6/dependencies.json"); |
| 186 | + } |
| 187 | + |
| 188 | + @Test |
| 189 | + @Ignore |
| 190 | + public void testEnumValidator() throws Exception { |
| 191 | + runTestFile("draft6/enum.json"); |
| 192 | + } |
| 193 | + |
| 194 | + @Test |
| 195 | + public void testExclusiveMaximumValidator() throws Exception { |
| 196 | + runTestFile("draft6/exclusiveMaximum.json"); |
| 197 | + } |
| 198 | + |
| 199 | + @Test |
| 200 | + public void testExclusiveMinimumValidator() throws Exception { |
| 201 | + runTestFile("draft6/exclusiveMinimum.json"); |
| 202 | + } |
| 203 | + |
| 204 | + @Test |
| 205 | + public void testFormatValidator() throws Exception { |
| 206 | + runTestFile("draft6/format.json"); |
| 207 | + } |
| 208 | + |
| 209 | + @Test |
| 210 | + @Ignore |
| 211 | + public void testItemsValidator() throws Exception { |
| 212 | + runTestFile("draft6/items.json"); |
| 213 | + } |
| 214 | + |
| 215 | + @Test |
| 216 | + public void testMaximumValidator() throws Exception { |
| 217 | + runTestFile("draft6/maximum.json"); |
| 218 | + } |
| 219 | + |
| 220 | + @Test |
| 221 | + public void testMaxItemsValidator() throws Exception { |
| 222 | + runTestFile("draft6/maxItems.json"); |
| 223 | + } |
| 224 | + |
| 225 | + @Test |
| 226 | + public void testMaxLengthValidator() throws Exception { |
| 227 | + runTestFile("draft6/maxLength.json"); |
| 228 | + } |
| 229 | + |
| 230 | + @Test |
| 231 | + public void testMaxPropertiesValidator() throws Exception { |
| 232 | + runTestFile("draft6/maxProperties.json"); |
| 233 | + } |
| 234 | + |
| 235 | + @Test |
| 236 | + public void testMinimumValidator() throws Exception { |
| 237 | + runTestFile("draft6/minimum.json"); |
| 238 | + } |
| 239 | + |
| 240 | + @Test |
| 241 | + public void testMinItemsValidator() throws Exception { |
| 242 | + runTestFile("draft6/minItems.json"); |
| 243 | + } |
| 244 | + |
| 245 | + @Test |
| 246 | + public void testMinLengthValidator() throws Exception { |
| 247 | + runTestFile("draft6/minLength.json"); |
| 248 | + } |
| 249 | + |
| 250 | + @Test |
| 251 | + public void testMinPropertiesValidator() throws Exception { |
| 252 | + runTestFile("draft6/minProperties.json"); |
| 253 | + } |
| 254 | + |
| 255 | + @Test |
| 256 | + public void testMultipleOfValidator() throws Exception { |
| 257 | + runTestFile("draft6/multipleOf.json"); |
| 258 | + } |
| 259 | + |
| 260 | + @Test |
| 261 | + @Ignore |
| 262 | + public void testNotValidator() throws Exception { |
| 263 | + runTestFile("draft6/not.json"); |
| 264 | + } |
| 265 | + |
| 266 | + @Test |
| 267 | + @Ignore |
| 268 | + public void testOneOfValidator() throws Exception { |
| 269 | + runTestFile("draft6/oneOf.json"); |
| 270 | + } |
| 271 | + |
| 272 | + @Test |
| 273 | + public void testPatternValidator() throws Exception { |
| 274 | + runTestFile("draft6/pattern.json"); |
| 275 | + } |
| 276 | + |
| 277 | + @Test |
| 278 | + @Ignore |
| 279 | + public void testPatternPropertiesValidator() throws Exception { |
| 280 | + runTestFile("draft6/patternProperties.json"); |
| 281 | + } |
| 282 | + |
| 283 | + @Test |
| 284 | + @Ignore |
| 285 | + public void testPropertiesValidator() throws Exception { |
| 286 | + runTestFile("draft6/properties.json"); |
| 287 | + } |
| 288 | + |
| 289 | + @Test |
| 290 | + @Ignore |
| 291 | + public void testPropertyNamesValidator() throws Exception { |
| 292 | + runTestFile("draft6/propertyNames.json"); |
| 293 | + } |
| 294 | + |
| 295 | + @Test |
| 296 | + @Ignore |
| 297 | + public void testRefValidator() throws Exception { |
| 298 | + runTestFile("draft6/ref.json"); |
| 299 | + } |
| 300 | + |
| 301 | + @Test |
| 302 | + @Ignore |
| 303 | + public void testRefRemoteValidator() throws Exception { |
| 304 | + runTestFile("draft6/refRemote.json"); |
| 305 | + } |
| 306 | + |
| 307 | + @Test |
| 308 | + public void testRequiredValidator() throws Exception { |
| 309 | + runTestFile("draft6/required.json"); |
| 310 | + } |
| 311 | + |
| 312 | + @Test |
| 313 | + public void testTypeValidator() throws Exception { |
| 314 | + runTestFile("draft6/type.json"); |
| 315 | + } |
| 316 | + |
| 317 | + @Test |
| 318 | + public void testUniqueItemsValidator() throws Exception { |
| 319 | + runTestFile("draft6/uniqueItems.json"); |
| 320 | + } |
| 321 | + |
113 | 322 | }
|
0 commit comments