json-schema-validator/test
Cristian Le 0d60d48a58
Modernize cmake script (#262)
* Remove travis file
* Apply pre-commit fixes
* Modernize cmake file

- Added JSON_VALIDATOR_SHARED_LIBS to properly handle shared-library
- Bumped minimum cmake to 3.11 to use no-source add_library
- Bumped minimum cmake to 3.14 to properly support FetchContent (FetchContent_MakeAvailable)
- Converted Hunter package manager to FetchContent (It is plenty mature these days)
- Added namespace to exported target
- Made the cmake file compatible with FetchContent

* Use simplified FetchContent CI
* Add simple status messages
* Handle nlohmann dependency

Not an ideal approach, but required in order for the exported target to have appropriate linkage.
Maybe this can be designed to become a PRIVATE link library, but then how does it ensure the target is installed?

* Remove CMake-install test

This will be moved to packaging integration tests

* Enable code coverage

* Reconfigure ci presets

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-05-11 12:07:56 +02:00
..
issue-9 Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
issue-12 tests: add some issue-regression-tests 2018-03-30 12:26:52 +02:00
issue-27 Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
issue-48 add non-regression test for #48 2019-01-24 18:27:19 +01:00
issue-54 fix #54: use signed-integer-validator even for number_unsigned 2019-03-29 10:57:01 +01:00
issue-75 fix #75: unknown keywords may contain sub-schemas 2019-11-27 13:53:28 +01:00
issue-93 fix #93 by returning default-values for refs 2020-03-26 10:49:58 +01:00
issue-96 schema-URIs with plain name identifiers cannot have derived sub-schema-URIs 2020-04-25 08:26:55 +02:00
issue-100 fix #100: only look for "unknown keyword" if the uri contains a pointer. 2020-04-15 09:37:04 +02:00
issue-101 fix #101: throw an exception if JSON-type of schema is not one of the expected types 2020-04-15 09:37:16 +02:00
issue-143 force schema-instance-type of unknown-keywords to an object 2021-02-08 17:57:21 +01:00
issue-209 ref-schema: create a new ref-schema when default-value is present 2022-06-27 10:30:11 +02:00
JSON-Schema-Test-Suite Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
binary-validation.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
CMakeLists.txt Add test for issue 243 2023-01-16 00:01:58 +01:00
errors.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
id-ref.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
issue-25-default-values.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
issue-70-root-schema-constructor.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
issue-70.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
issue-98.cpp Increase the verbosity of the error message produced when there are undefined references. 2022-09-03 09:24:09 +02:00
issue-117-format-error.cpp add checking about format-checker existance at schema parsing time 2020-06-12 17:22:46 +02:00
issue-149-entry-selection.cpp First implementation of sub-schema-validation on request. 2021-06-17 09:06:23 +02:00
issue-189-default-values.cpp distinguish between schema_ref and type_schema 2022-06-06 10:09:51 +02:00
issue-243-root-default-values.cpp Add test for issue 243 2023-01-16 00:01:58 +01:00
json-patch.cpp Modernize cmake script (#262) 2023-05-11 12:07:56 +02:00
string-format-check-test.cpp CL: 2022-10-29 19:03:36 +02:00
test-pipe-in.sh Altered code for bash 3.2 compatibility, default bash on macOS 2021-03-09 13:46:01 +01:00
uri.cpp chore: use to_string() to avoid warning 2022-08-24 18:59:13 +02:00