toml11/tests
Moritz Klammler 5312b8eb0e Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files
Most unit test files checked UNITTEST_FRAMEWORK_LIBRARY_EXIST and
adapted themselves accordingly to either use the header-only version or
link with the library.  Alas, eight files didn't so the project couldn't
really be tested with the header-only version of that Boost library.

This patch adds the missing pre-processor logic to the files that were
missing it.  The style of using no indentation after the '#' was
followed from the existing unit test files.  Some other files in this
repository do indent their pre-processor logic, though.

Since replicating the conditional in every file is kind of verbose,
tedious and, apparently, easily forgotten, I'm wondering whether
isolating that logic into a tiny little auxiliary header and then
unconditionally including that one in each unit test file would be a
good idea, though.
2022-09-29 17:59:28 +02:00
..
check_serialization.cpp ci: add a patch to avoid nan comparison 2021-06-30 01:18:42 +09:00
check_toml_test.cpp test: update typename in json for toml-test 2021-06-27 18:58:10 +09:00
check.cpp ci: fix name of directory and add test script 2019-03-17 19:20:24 +09:00
CMakeLists.txt fix: move cmake option to toplevel cmakelists 2022-03-16 22:40:42 +09:00
test_comments.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_datetime.cpp chore: update boost test library usage (v2->v3) 2019-06-21 14:43:13 +09:00
test_error_detection.cpp feat: remove TOML11_UNRELEASED_FEATURES. 2020-04-03 23:42:58 +09:00
test_expect.cpp test: rename test source file 2019-06-22 17:23:51 +09:00
test_extended_conversions.cpp test: disable macro testing if the macro is diabled 2021-04-02 18:26:24 +09:00
test_find_or_recursive.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_find_or.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_find.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_format_error.cpp test: add missing include file to test code 2019-07-23 22:32:32 +09:00
test_get_or.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_get.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_lex_aux.hpp refactor: remove template from detail::location 2020-07-25 21:06:26 +09:00
test_lex_boolean.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_lex_datetime.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_lex_floating.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_lex_integer.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_lex_key_comment.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_lex_string.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_literals.cpp ci: add utf-8 option to MSVC 2020-09-19 00:41:05 +09:00
test_multiple_translation_unit_1.cpp test: update test for multiple translation units 2019-06-02 22:00:56 +09:00
test_multiple_translation_unit_2.cpp test: add test for multiple translation unit 2019-03-18 12:39:58 +09:00
test_parse_array.cpp test: add comment/no-comment cases to parse_array 2021-04-27 13:05:03 +09:00
test_parse_aux.hpp refactor: remove template from detail::location 2020-07-25 21:06:26 +09:00
test_parse_boolean.cpp test: update interfaces of parse_* and value 2019-06-03 22:01:16 +09:00
test_parse_datetime.cpp test: add valid/invalid datetime cases 2021-12-15 00:51:07 +09:00
test_parse_file.cpp fix: Improve error handling of ifstream a bit 2022-09-08 17:05:15 +02:00
test_parse_floating.cpp test: check if an exception is thrown by overflow 2022-06-08 00:40:28 +09:00
test_parse_inline_table.cpp test: check immutability of inline tables 2019-12-20 19:46:54 +09:00
test_parse_integer.cpp test: check if an exception is thrown by overflow 2022-06-08 00:40:28 +09:00
test_parse_key.cpp feat: get region info when parsing keys 2019-02-26 00:17:28 +09:00
test_parse_string.cpp feat: add escape sequence of ESC 2022-03-16 22:39:52 +09:00
test_parse_table_key.cpp add test case for array-of-tables 2018-12-12 12:13:49 +09:00
test_parse_table.cpp refactor: remove template from detail::location 2020-07-25 21:06:26 +09:00
test_parse_unicode.cpp test: remove needless u8s from ascii characters 2020-09-16 21:25:04 +09:00
test_result.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_serialize_file.cpp test: explicitly specify the comment preservation 2021-04-27 13:18:39 +09:00
test_string.cpp Honor UNITTEST_FRAMEWORK_LIBRARY_EXIST in all unit test files 2022-09-29 17:59:28 +02:00
test_traits.cpp fix: fix test case name 2019-06-21 16:01:04 +09:00
test_utility.cpp test: remove test_resize and add test_try_reserve 2020-03-27 18:06:02 +09:00
test_value.cpp feat: workaround __cplusplus problem on MSVC 2021-12-17 22:29:57 +09:00
test_windows.cpp test: remove needless u8s from ascii characters 2020-09-16 21:25:04 +09:00