Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
vendorpull https://github.com/sourcemeta/vendorpull 1dcbac42809cf87cb5b045106b863e17ad84ba02
core https://github.com/sourcemeta/core ac96b5fba550a5097d174c1681ba3155cb3e3914
jsonschema-test-suite https://github.com/json-schema-org/JSON-Schema-Test-Suite a247442bca7a4798ab6187e035200feacd5423ed
jsonschema-test-suite https://github.com/json-schema-org/JSON-Schema-Test-Suite 06481b143722c8c06671bd40dcde99b422ffd531
26 changes: 20 additions & 6 deletions test/evaluator/officialsuite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ static auto test_resolver(std::string_view identifier)
// We keep an explicit list instead of dynamically reading into the directory
// to make sure we are only pulling in the right files

READ_SCHEMA_FILE("http://localhost:1234/different-id-ref-string.json",
"different-id-ref-string.json")
READ_SCHEMA_FILE("http://localhost:1234/integer.json", "integer.json")
READ_SCHEMA_FILE("http://localhost:1234/nested-absolute-ref-to-string.json",
"nested-absolute-ref-to-string.json")
READ_SCHEMA_FILE("http://localhost:1234/urn-ref-string.json",
"urn-ref-string.json")

READ_SCHEMA_FILE("http://localhost:1234/nested/foo-ref-string.json",
std::filesystem::path{"nested"} / "foo-ref-string.json")
Expand Down Expand Up @@ -102,6 +96,16 @@ static auto test_resolver(std::string_view identifier)
READ_SCHEMA_FILE("http://localhost:1234/draft2019-09/ignore-prefixItems.json",
std::filesystem::path{"draft2019-09"} /
"ignore-prefixItems.json")
READ_SCHEMA_FILE(
"http://localhost:1234/draft2019-09/different-id-ref-string.json",
std::filesystem::path{"draft2019-09"} / "different-id-ref-string.json")
READ_SCHEMA_FILE(
"http://localhost:1234/draft2019-09/nested-absolute-ref-to-string.json",
std::filesystem::path{"draft2019-09"} /
"nested-absolute-ref-to-string.json")
READ_SCHEMA_FILE("http://localhost:1234/draft2019-09/urn-ref-string.json",
std::filesystem::path{"draft2019-09"} /
"urn-ref-string.json")

READ_SCHEMA_FILE("http://localhost:1234/draft2020-12/prefixItems.json",
std::filesystem::path{"draft2020-12"} / "prefixItems.json")
Expand Down Expand Up @@ -158,6 +162,16 @@ static auto test_resolver(std::string_view identifier)
READ_SCHEMA_FILE("http://localhost:1234/draft2020-12/nested/string.json",
std::filesystem::path{"draft2020-12"} / "nested" /
"string.json")
READ_SCHEMA_FILE(
"http://localhost:1234/draft2020-12/different-id-ref-string.json",
std::filesystem::path{"draft2020-12"} / "different-id-ref-string.json")
READ_SCHEMA_FILE(
"http://localhost:1234/draft2020-12/nested-absolute-ref-to-string.json",
std::filesystem::path{"draft2020-12"} /
"nested-absolute-ref-to-string.json")
READ_SCHEMA_FILE("http://localhost:1234/draft2020-12/urn-ref-string.json",
std::filesystem::path{"draft2020-12"} /
"urn-ref-string.json")

READ_SCHEMA_FILE("http://localhost:1234/draft7/detached-ref.json",
std::filesystem::path{"draft7"} / "detached-ref.json")
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions vendor/jsonschema-test-suite/remotes/draft2019-09/tree.json

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/jsonschema-test-suite/remotes/v1/urn-ref-string.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions vendor/jsonschema-test-suite/tests/draft2019-09/if-then-else.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading