1669 lines
53 KiB
Rust
1669 lines
53 KiB
Rust
|
|
#[pg_test]
|
|
fn test_content_0() {
|
|
let path = format!("{}/tests/fixtures/content.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_content_1() {
|
|
let path = format!("{}/tests/fixtures/content.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_content_2() {
|
|
let path = format!("{}/tests/fixtures/content.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_content_3() {
|
|
let path = format!("{}/tests/fixtures/content.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_0() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_1() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_2() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_3() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_4() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_5() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_unique_items_6() {
|
|
let path = format!("{}/tests/fixtures/uniqueItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_items_0() {
|
|
let path = format!("{}/tests/fixtures/minItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_items_1() {
|
|
let path = format!("{}/tests/fixtures/minItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_items_2() {
|
|
let path = format!("{}/tests/fixtures/minItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_additional_properties_0() {
|
|
let path = format!("{}/tests/fixtures/additionalProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_additional_properties_1() {
|
|
let path = format!("{}/tests/fixtures/additionalProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_additional_properties_2() {
|
|
let path = format!("{}/tests/fixtures/additionalProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_0() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_1() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_2() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_3() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_4() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_5() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_6() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_7() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_8() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_9() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_dependencies_10() {
|
|
let path = format!("{}/tests/fixtures/dependencies.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_exclusive_minimum_0() {
|
|
let path = format!("{}/tests/fixtures/exclusiveMinimum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_0() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_1() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_2() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_3() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_4() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_5() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_6() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_7() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_8() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_9() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_10() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_11() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_12() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_13() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_14() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_15() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 15).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_16() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 16).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_const_17() {
|
|
let path = format!("{}/tests/fixtures/const.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 17).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_families_0() {
|
|
let path = format!("{}/tests/fixtures/families.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_families_1() {
|
|
let path = format!("{}/tests/fixtures/families.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_0() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_1() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_2() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_3() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_4() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_5() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_property_names_6() {
|
|
let path = format!("{}/tests/fixtures/propertyNames.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_0() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_1() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_2() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_3() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_4() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_5() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_6() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_7() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_8() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_9() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_10() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_not_11() {
|
|
let path = format!("{}/tests/fixtures/not.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_0() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_1() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_2() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_3() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_4() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_5() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_6() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_7() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_8() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_9() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_10() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_11() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_12() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_13() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_14() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_items_15() {
|
|
let path = format!("{}/tests/fixtures/items.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 15).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_0() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_1() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_2() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_3() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_4() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_5() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_6() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_7() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_8() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_9() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_10() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_11() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_12() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_13() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_enum_14() {
|
|
let path = format!("{}/tests/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_properties_0() {
|
|
let path = format!("{}/tests/fixtures/minProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_properties_1() {
|
|
let path = format!("{}/tests/fixtures/minProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_properties_2() {
|
|
let path = format!("{}/tests/fixtures/minProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_0() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_1() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_2() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_3() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_4() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_5() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_6() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_7() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_contains_8() {
|
|
let path = format!("{}/tests/fixtures/minContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_0() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_1() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_2() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_3() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_4() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_5() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_6() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_7() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_8() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_9() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_10() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_11() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_properties_12() {
|
|
let path = format!("{}/tests/fixtures/properties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_contains_0() {
|
|
let path = format!("{}/tests/fixtures/maxContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_contains_1() {
|
|
let path = format!("{}/tests/fixtures/maxContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_contains_2() {
|
|
let path = format!("{}/tests/fixtures/maxContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_contains_3() {
|
|
let path = format!("{}/tests/fixtures/maxContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_contains_4() {
|
|
let path = format!("{}/tests/fixtures/maxContains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_length_0() {
|
|
let path = format!("{}/tests/fixtures/maxLength.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_length_1() {
|
|
let path = format!("{}/tests/fixtures/maxLength.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_exclusive_maximum_0() {
|
|
let path = format!("{}/tests/fixtures/exclusiveMaximum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_prefix_items_0() {
|
|
let path = format!("{}/tests/fixtures/prefixItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_prefix_items_1() {
|
|
let path = format!("{}/tests/fixtures/prefixItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_prefix_items_2() {
|
|
let path = format!("{}/tests/fixtures/prefixItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_prefix_items_3() {
|
|
let path = format!("{}/tests/fixtures/prefixItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_prefix_items_4() {
|
|
let path = format!("{}/tests/fixtures/prefixItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_minimum_0() {
|
|
let path = format!("{}/tests/fixtures/minimum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_minimum_1() {
|
|
let path = format!("{}/tests/fixtures/minimum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_0() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_1() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_2() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_3() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_4() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_5() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_6() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_7() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_8() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_9() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_10() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_11() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_one_of_12() {
|
|
let path = format!("{}/tests/fixtures/oneOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_boolean_schema_0() {
|
|
let path = format!("{}/tests/fixtures/booleanSchema.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_boolean_schema_1() {
|
|
let path = format!("{}/tests/fixtures/booleanSchema.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_0() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_1() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_2() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_3() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_4() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_5() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_6() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_7() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_8() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_9() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_10() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_11() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_12() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_if_then_else_13() {
|
|
let path = format!("{}/tests/fixtures/if-then-else.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_empty_string_0() {
|
|
let path = format!("{}/tests/fixtures/emptyString.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_0() {
|
|
let path = format!("{}/tests/fixtures/pattern.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_1() {
|
|
let path = format!("{}/tests/fixtures/pattern.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_properties_0() {
|
|
let path = format!("{}/tests/fixtures/maxProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_properties_1() {
|
|
let path = format!("{}/tests/fixtures/maxProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_properties_2() {
|
|
let path = format!("{}/tests/fixtures/maxProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_properties_3() {
|
|
let path = format!("{}/tests/fixtures/maxProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_0() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_1() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_2() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_3() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_4() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_required_5() {
|
|
let path = format!("{}/tests/fixtures/required.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_0() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_1() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_2() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_3() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_4() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_5() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_6() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_7() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_8() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_9() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_10() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_type_11() {
|
|
let path = format!("{}/tests/fixtures/type.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_multiple_of_0() {
|
|
let path = format!("{}/tests/fixtures/multipleOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_multiple_of_1() {
|
|
let path = format!("{}/tests/fixtures/multipleOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_multiple_of_2() {
|
|
let path = format!("{}/tests/fixtures/multipleOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_multiple_of_3() {
|
|
let path = format!("{}/tests/fixtures/multipleOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_0() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_1() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_2() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_3() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_4() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_pattern_properties_5() {
|
|
let path = format!("{}/tests/fixtures/patternProperties.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_merge_0() {
|
|
let path = format!("{}/tests/fixtures/merge.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_merge_1() {
|
|
let path = format!("{}/tests/fixtures/merge.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_merge_2() {
|
|
let path = format!("{}/tests/fixtures/merge.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_merge_3() {
|
|
let path = format!("{}/tests/fixtures/merge.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_0() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_1() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_2() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_3() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_4() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_5() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_6() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_7() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_8() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_9() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_10() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_11() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_12() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_13() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_all_of_14() {
|
|
let path = format!("{}/tests/fixtures/allOf.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_0() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_1() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_2() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_3() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_4() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_5() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_6() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_7() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_8() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_9() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_10() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_11() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_12() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_13() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_14() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_15() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 15).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_16() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 16).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_17() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 17).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_18() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 18).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_19() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 19).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_20() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 20).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_21() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 21).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_22() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 22).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_format_23() {
|
|
let path = format!("{}/tests/fixtures/format.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 23).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_0() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_1() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_2() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_3() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_4() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_5() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_6() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_7() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_8() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_9() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 9).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_10() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 10).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_11() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 11).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_12() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 12).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_13() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 13).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_14() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 14).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_ref_15() {
|
|
let path = format!("{}/tests/fixtures/ref.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 15).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_maximum_0() {
|
|
let path = format!("{}/tests/fixtures/maximum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_maximum_1() {
|
|
let path = format!("{}/tests/fixtures/maximum.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_length_0() {
|
|
let path = format!("{}/tests/fixtures/minLength.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_min_length_1() {
|
|
let path = format!("{}/tests/fixtures/minLength.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_items_0() {
|
|
let path = format!("{}/tests/fixtures/maxItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_items_1() {
|
|
let path = format!("{}/tests/fixtures/maxItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_max_items_2() {
|
|
let path = format!("{}/tests/fixtures/maxItems.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_0() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 0).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_1() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 1).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_2() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 2).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_3() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 3).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_4() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 4).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_5() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 5).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_6() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 6).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_7() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 7).unwrap();
|
|
}
|
|
|
|
#[pg_test]
|
|
fn test_contains_8() {
|
|
let path = format!("{}/tests/fixtures/contains.json", env!("CARGO_MANIFEST_DIR"));
|
|
crate::validator::util::run_test_file_at_index(&path, 8).unwrap();
|
|
}
|