significantly simplified the validator and work continues on query
This commit is contained in:
@ -102,6 +102,72 @@ fn test_additional_properties_2() {
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_0() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_1() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_2() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_3() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_4() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 4).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_5() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 5).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_6() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 6).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_7() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 7).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_8() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 8).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_9() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 9).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependencies_10() {
|
||||
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 10).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_exclusive_minimum_0() {
|
||||
let path = format!("{}/tests/fixtures/exclusiveMinimum.json", env!("CARGO_MANIFEST_DIR"));
|
||||
@ -498,30 +564,6 @@ fn test_items_15() {
|
||||
util::run_test_file_at_index(&path, 15).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_typed_refs_0() {
|
||||
let path = format!("{}/tests/fixtures/typedRefs.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_typed_refs_1() {
|
||||
let path = format!("{}/tests/fixtures/typedRefs.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_typed_refs_2() {
|
||||
let path = format!("{}/tests/fixtures/typedRefs.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_typed_refs_3() {
|
||||
let path = format!("{}/tests/fixtures/typedRefs.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_enum_0() {
|
||||
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
||||
@ -804,42 +846,6 @@ fn test_max_length_1() {
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_0() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_1() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_2() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_3() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_4() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 4).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_schemas_5() {
|
||||
let path = format!("{}/tests/fixtures/dependentSchemas.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 5).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_exclusive_maximum_0() {
|
||||
let path = format!("{}/tests/fixtures/exclusiveMaximum.json", env!("CARGO_MANIFEST_DIR"));
|
||||
@ -1080,30 +1086,6 @@ fn test_pattern_1() {
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_masking_0() {
|
||||
let path = format!("{}/tests/fixtures/masking.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_masking_1() {
|
||||
let path = format!("{}/tests/fixtures/masking.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_masking_2() {
|
||||
let path = format!("{}/tests/fixtures/masking.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_masking_3() {
|
||||
let path = format!("{}/tests/fixtures/masking.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_max_properties_0() {
|
||||
let path = format!("{}/tests/fixtures/maxProperties.json", env!("CARGO_MANIFEST_DIR"));
|
||||
@ -1128,36 +1110,6 @@ fn test_max_properties_3() {
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_required_0() {
|
||||
let path = format!("{}/tests/fixtures/dependentRequired.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_required_1() {
|
||||
let path = format!("{}/tests/fixtures/dependentRequired.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_required_2() {
|
||||
let path = format!("{}/tests/fixtures/dependentRequired.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_required_3() {
|
||||
let path = format!("{}/tests/fixtures/dependentRequired.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 3).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_dependent_required_4() {
|
||||
let path = format!("{}/tests/fixtures/dependentRequired.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 4).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_required_0() {
|
||||
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
||||
@ -1686,150 +1638,6 @@ fn test_ref_15() {
|
||||
util::run_test_file_at_index(&path, 15).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_16() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 16).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_17() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 17).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_18() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 18).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_19() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 19).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_20() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 20).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_21() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 21).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_22() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 22).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_23() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 23).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_24() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 24).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_25() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 25).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_26() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 26).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_27() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 27).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_28() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 28).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_29() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 29).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_30() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 30).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_31() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 31).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_32() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 32).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_33() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 33).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_34() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 34).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_35() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 35).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_36() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 36).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_37() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 37).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_38() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 38).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ref_39() {
|
||||
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
||||
util::run_test_file_at_index(&path, 39).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_maximum_0() {
|
||||
let path = format!("{}/tests/fixtures/maximum.json", env!("CARGO_MANIFEST_DIR"));
|
||||
|
||||
Reference in New Issue
Block a user