json/tests
jh96 1f218e1074
Possible fix for #4485 (#4487)
* Possible fix for #4485

Throw's an exception when i is nullptr,
also added a testcase for this scenario though most likely in the wrong test file.cpp

* quick cleanup

* Fix compile issues

* moved tests around, changed exceptions, removed a possibly unneeded include

* add back include <memory> for testing something

* Ninja doesn't like not having a \n, at end of file, adding it back

* update input_adapter file to deal with empty/null file ptr.

* ran make pretty

* added test for inputadapter

* ran make amalgamate

* Update tests/src/unit-deserialization.cpp

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>

* Update tests/src/unit-deserialization.cpp

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>

* Update input adapters.hpp with new includes

* fix unabigious use of _, (there was a double declare)

* did the amalagamate

* rm duplicate includes

* make amalgamate again

* reorder

* amalgamate

* moved it above

* amalgamate

---------

Co-authored-by: Jordan <jordan-hoang@users.noreply.github.com>
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2024-11-19 13:54:04 +01:00
..
abi JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
benchmarks JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_add_subdirectory JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_fetch_content JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_fetch_content2 JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_import JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_import_minver JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_target_include_directories JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cuda_example JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
reports Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
src Possible fix for #4485 (#4487) 2024-11-19 13:54:04 +01:00
thirdparty Fix CI (#4160) 2023-09-23 17:19:28 +02:00
CMakeLists.txt Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
fuzzing.md Document fuzzer usage (#3478) 2022-05-09 08:02:41 +02:00
Makefile Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00