fmt/test
Daniel Krügler d2a2320820
Fix partial specialization problem for filesystem for Visual Studio (#2957)
* #2954: Provide std::conjunction and std::disjunction substitutes

* #2954: Use conjunction and disjunction substitute to make formatter specializations for ranges and maps more robust (especially for Visual Studio compiler family)

* #2954: As workaround for older MSVC compilers split formatter<std::filesystem::path> partial template specialization into two explicit specialization.

* 2954: Add test case

* Provide simplified implementations of conjunction and disjunction

* Remove workaround explicit specializations if the partial specialization would cause an ambiguity error

* Eliminate extra-test and merge it into existing std-test instead. Add conditionals for filesystem::path testing that does not run into the ambiguity problem.
2022-07-03 11:06:54 -07:00
..
add-subdirectory-test Cleanup add-subdirectory-test 2021-05-07 16:42:02 -07:00
compile-error-test Cleanup macros 2022-05-29 17:23:02 -07:00
cuda-test Making CUDA test work with CMAKE_MSVC_RUNTIME_LIBRARY 2019-09-25 06:46:11 -07:00
find-package-test Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
fuzzing Remove deprecated APIs 2022-05-21 12:20:31 -07:00
gtest MSVC CMake generation optimization (#2852) 2022-04-08 06:27:23 -07:00
static-export-test Fix "undefined reference to `fmt::v7::detail::basic_data<void>::digits'" 2021-06-02 14:33:17 -07:00
args-test.cc Minor code style tweaks for consistency 2021-12-23 11:55:58 -08:00
assert-test.cc gtest: move GTest/GMock files to separate directory, update GTest/GMock usages 2021-04-29 07:11:49 -07:00
chrono-test.cc Fix overflow for chrono durations (#2722) 2022-01-17 12:14:59 -08:00
CMakeLists.txt Fix std::variant, std::filesystem::path tests on GCC-8, Clang-7,8. 2022-07-02 08:34:52 -07:00
color-test.cc Implement styled arguments (#2793) 2022-03-08 09:50:14 -08:00
compile-fp-test.cc Always run grisu_gen_digits before fallback_format 2021-09-26 07:54:25 -07:00
compile-test.cc Cleanup macros 2022-05-29 17:23:02 -07:00
core-test.cc Refactor handling of argument types 2022-06-09 17:03:33 -07:00
detect-stdfs.cc Fix std::variant, std::filesystem::path tests on GCC-8, Clang-7,8. 2022-07-02 08:34:52 -07:00
enforce-checks-test.cc Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
format-impl-test.cc Fix compilation on ppc64 2022-05-31 13:53:15 -07:00
format-test.cc Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00
gtest-extra-test.cc Remove deprecated APIs 2022-05-22 07:10:09 -07:00
gtest-extra.cc FMT_NOEXCEPT -> noexcept 2022-01-20 16:55:47 -08:00
gtest-extra.h FMT_NOEXCEPT -> noexcept 2022-01-20 16:55:47 -08:00
header-only-test.cc Disable fallback_formatter for arrays 2021-09-03 08:59:36 -07:00
mock-allocator.h Cleanup tests 2021-05-01 17:11:45 -07:00
module-test.cc Replace `make_args_checked with make_format_args` (#2760) 2022-02-13 20:13:35 -08:00
noexception-test.cc Improve noexception test 2021-12-26 16:28:41 -08:00
os-test.cc Remove deprecated APIs 2022-05-22 07:10:09 -07:00
ostream-test.cc Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00
posix-mock-test.cc Remove deprecated APIs 2022-05-22 07:10:09 -07:00
posix-mock.h Fix posix-mock-test 2020-04-01 08:42:14 -07:00
printf-test.cc Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00
ranges-odr-test.cc Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
ranges-test.cc Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00
scan-test.cc Cleanup tests 2021-05-05 18:31:41 -07:00
scan.h Workaround msvc constexpr issues 2021-06-01 13:32:44 -07:00
std-test.cc Fix partial specialization problem for filesystem for Visual Studio (#2957) 2022-07-03 11:06:54 -07:00
test-assert.h Move is_char specializations to xchar.h 2021-06-06 15:32:30 -07:00
test-main.cc Fixed all clang -Wreserved-id-macro warnings (on macOS at least) 2022-03-24 07:33:43 -07:00
unicode-test.cc Replacing strftime with std::time_put (#2550) 2021-10-30 08:25:45 -07:00
util.cc Support alternative locale names in tests 2021-05-24 14:09:19 -07:00
util.h Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
xchar-test.cc Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00