toml11/tests
Moritz Klammler 3f197c3cab Fix use-after-move in test_parse_function_compiles and refactor
My recent patch had introduced a conditional use-after-move bug into the
test_parse_function_compiles function.  This patch fixes that by
reworking the entire test case into a compile-time check.  In my
opinion, we're not loosing anything by not actually executing the code
(the result wasn't looked at anyway) and the code becomes much clearer
by omitting the argument-preparation fluff.
2022-09-29 19:22:25 +02:00
..
check_serialization.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
check_toml_test.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
check.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
CMakeLists.txt Define BOOST_TEST_MODULE in CMake 2022-09-29 19:02:52 +02:00
test_comments.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_datetime.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_error_detection.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_expect.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_extended_conversions.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_find_or_recursive.cpp Remove excess blank lines at end of file 2022-09-29 19:02:52 +02:00
test_find_or.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_find.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_format_error.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_get_or.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_get.cpp Remove excess blank lines at end of file 2022-09-29 19:02:52 +02:00
test_lex_aux.hpp refactor: remove template from detail::location 2020-07-25 21:06:26 +09:00
test_lex_boolean.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_lex_datetime.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_lex_floating.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_lex_integer.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_lex_key_comment.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_lex_string.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_literals.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02: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 Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_aux.hpp refactor: remove template from detail::location 2020-07-25 21:06:26 +09:00
test_parse_boolean.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_datetime.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_file.cpp Fix use-after-move in test_parse_function_compiles and refactor 2022-09-29 19:22:25 +02:00
test_parse_floating.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_inline_table.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_integer.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_key.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_string.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_table_key.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_table.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_parse_unicode.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_result.cpp Remove excess blank lines at end of file 2022-09-29 19:02:52 +02:00
test_serialize_file.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_string.cpp Remove excess blank lines at end of file 2022-09-29 19:02:52 +02:00
test_traits.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_utility.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_value.cpp Consistent unit test header inclusion order 2022-09-29 19:02:52 +02:00
test_windows.cpp test: remove needless u8s from ascii characters 2020-09-16 21:25:04 +09:00
unit_test.hpp Factor redundant test boilerplate out into unit_test.hpp helper 2022-09-29 19:02:52 +02:00