@Test public void testValidatorSelectSingle() throws InvalidParseOperationException, IOException, ValidationException { DslValidator dslValidator = new SelectSingleSchemaValidator(); JsonNode selectSingleQuery = JsonHandler.getFromFile(PropertiesUtils.findFile("select_single_complete.json")); dslValidator.validate(selectSingleQuery); }
@Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); }
SelectSingleSchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } }
SelectSingleSchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } SelectSingleSchemaValidator(); }
SelectSingleSchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } SelectSingleSchemaValidator(); @Override void validate(JsonNode dsl); }
SelectSingleSchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } SelectSingleSchemaValidator(); @Override void validate(JsonNode dsl);  }