Skip to content

Second attempt at adding test output #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
474 changes: 465 additions & 9 deletions tests/draft2019-06/additionalItems.json

Large diffs are not rendered by default.

746 changes: 731 additions & 15 deletions tests/draft2019-06/additionalProperties.json

Large diffs are not rendered by default.

1,589 changes: 1,569 additions & 20 deletions tests/draft2019-06/allOf.json

Large diffs are not rendered by default.

1,186 changes: 1,170 additions & 16 deletions tests/draft2019-06/anyOf.json

Large diffs are not rendered by default.

433 changes: 415 additions & 18 deletions tests/draft2019-06/boolean_schema.json

Large diffs are not rendered by default.

383 changes: 371 additions & 12 deletions tests/draft2019-06/const.json

Large diffs are not rendered by default.

865 changes: 852 additions & 13 deletions tests/draft2019-06/contains.json

Large diffs are not rendered by default.

163 changes: 159 additions & 4 deletions tests/draft2019-06/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,85 @@
{
"description": "valid when property is specified",
"data": {"foo": 13},
"valid": true
"valid": true,
"output": {
"basic": {
"valid": true,
"keywordLocation": "#/properties/foo/default",
"instanceLocation": "#/foo",
"keyword": "default"
},
"detailed": {
"valid": true,
"keywordLocation": "#/properties/foo/default",
"instanceLocation": "#/foo",
"keyword": "default"
},
"verbose": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties",
"instanceLocation": "#",
"keyword": "properties",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties/foo",
"instanceLocation": "#/foo",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties/foo/type",
"instanceLocation": "#/foo",
"keyword": "type"
},
{
"valid": true,
"keywordLocation": "#/properties/foo/default",
"instanceLocation": "#/foo",
"keyword": "default"
}
]
}
]
}
]
}
}
},
{
"description": "still valid when the invalid default is used",
"data": {},
"valid": true
"valid": true,
"output": {
"basic": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#"
},
"detailed": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#"
},
"verbose": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties",
"instanceLocation": "#",
"keyword": "properties"
}
]
}
}
}
]
},
Expand All @@ -26,12 +99,94 @@
{
"description": "valid when property is specified",
"data": {"bar": "good"},
"valid": true
"valid": true,
"output": {
"basic": {
"valid": true,
"keywordLocation": "#/properties/bar/default",
"instanceLocation": "#/bar",
"keyword": "default",
"annotation": "bad"
},
"detailed": {
"valid": true,
"keywordLocation": "#/properties/bar/default",
"instanceLocation": "#/bar",
"keyword": "default",
"annotation": "bad"
},
"verbose": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties",
"instanceLocation": "#",
"keyword": "properties",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties/bar",
"instanceLocation": "#/bar",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties/bar/type",
"instanceLocation": "#/bar",
"keyword": "type"
},
{
"valid": true,
"keywordLocation": "#/properties/bar/minLength",
"instanceLocation": "#/bar",
"keyword": "minLength"
},
{
"valid": true,
"keywordLocation": "#/properties/bar/default",
"instanceLocation": "#/bar",
"keyword": "default",
"annotation": "bad"
}
]
}
]
}
]
}
}
},
{
"description": "still valid when the invalid default is used",
"data": {},
"valid": true
"valid": true,
"output": {
"basic": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#"
},
"detailed": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#"
},
"verbose": {
"valid": true,
"keywordLocation": "#",
"instanceLocation": "#",
"annotations": [
{
"valid": true,
"keywordLocation": "#/properties",
"instanceLocation": "#",
"keyword": "properties"
}
]
}
}
}
]
}
Expand Down
Loading