Add maxLength and minLength tests for draft 7

This commit is contained in:
Tristan Penman 2021-05-20 21:36:20 +10:00
parent 9183462118
commit df89869e00
2 changed files with 11 additions and 1 deletions

View File

@ -512,6 +512,11 @@ TEST_F(TestValidator, Draft7_MaxItems)
processDraft7TestFile(TEST_SUITE_DIR "draft7/maxItems.json");
}
TEST_F(TestValidator, Draft7_MaxLength)
{
processDraft7TestFile(TEST_SUITE_DIR "draft7/maxLength.json");
}
TEST_F(TestValidator, Draft7_MaxProperties)
{
processDraft7TestFile(TEST_SUITE_DIR "draft7/maxProperties.json");
@ -527,6 +532,11 @@ TEST_F(TestValidator, Draft7_MinItems)
processDraft7TestFile(TEST_SUITE_DIR "draft7/minItems.json");
}
TEST_F(TestValidator, Draft7_MinLength)
{
processDraft7TestFile(TEST_SUITE_DIR "draft7/minLength.json");
}
TEST_F(TestValidator, Draft7_MinProperties)
{
processDraft7TestFile(TEST_SUITE_DIR "draft7/minProperties.json");