fmt/test
zeffy 1acb73f970 Fix formatting std::chrono::duration types to wide strings (#1533)
* Fix formatting chrono durations to wide strings

* Make format buffers const correct

* Add FormatWide chrono test case

* Fix incorrect wide encoding of 'µs'
I think might be a source file encoding issue, so I used \u00B5 instead.

* Update FormatWide test to use proper encoding of µs

* Revert changes to format_localized's parameters

* Use different overload of `std::time_put<T>::put` to avoid needing a format string

* Use utf8_to_utf16 instead of having redundant overloads of get_units

* Revert some minor changes

* Remove FMT_CONSTEXPR from expression

This should hopefully fix compilation on VS <2019

* Make suggested changes from code review

* Run clang-format on chrono.h

* Make sure unit isn't null before constructing a string_view from it
2020-01-23 18:48:36 -08:00
..
add-subdirectory-test
compile-error-test prepare -> compile 2019-07-25 19:39:41 +03:00
cuda-test Making CUDA test work with CMAKE_MSVC_RUNTIME_LIBRARY 2019-09-25 06:46:11 -07:00
find-package-test
fuzzing
gmock
gtest
assert-test.cc Fix dangling else problem in FMT_ASSERT 2019-11-30 07:52:33 -08:00
chrono-test.cc Fix formatting std::chrono::duration types to wide strings (#1533) 2020-01-23 18:48:36 -08:00
CMakeLists.txt Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
color-test.cc Fix format overload that takes text_style (#1305) 2019-09-08 18:41:02 -07:00
compile-test.cc add test for multiple compilation types 2019-09-24 06:25:21 -07:00
core-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
custom-formatter-test.cc Make buffer_range public and update custom formatting docs (#1281) 2019-08-28 06:50:20 -07:00
format Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
format-impl-test.cc Deprecate u8string_view 2019-12-24 09:44:57 -08:00
format-test.cc Disallow passing non-string-literals to FMT_STRING 2020-01-22 21:05:46 -08:00
gmock-gtest-all.cc
grisu-test.cc Handle assymetric boundaries 2019-10-20 07:55:05 -07:00
gtest-extra-test.cc Improve POSIX API detection 2019-11-15 07:28:02 -08:00
gtest-extra.cc Don't use POSIX API on UWP 2019-11-17 08:29:08 -08:00
gtest-extra.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
header-only-test2.cc
header-only-test.cc
locale-test.cc Merge write_fp into write 2019-11-20 12:20:17 -08:00
mock-allocator.h
os-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
ostream-test.cc Fix handling of types convertible to std::string_view 2019-12-09 13:25:08 -08:00
posix-mock-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
posix-mock.h
printf-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
ranges-test.cc Fix ambiguity for types with dodgy conversions 2019-09-28 11:35:20 -07:00
scan-test.cc
scan.h Clean-up sign-conversion warnings in test code 2019-12-08 16:07:43 -08:00
std-format-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
test-assert.h Add defaulted copy and move operations to format_error and system_error (#1347) 2019-10-11 10:44:20 -07:00
test-main.cc
util.cc Improve POSIX API detection 2019-11-15 07:28:02 -08:00
util.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00