fmtlegacy/test
denchat 3fd134be03 Move test_count_digits to format-impl-test and disable gtest warnings (#1147)
* This translation unit includes `gtest.h` in which using something like `strncpy`

Suppress MSVC warnings from `gtest.h` included.

Warning sample:
fmt-master\test\gtest\gtest.h(2873,10): warning: 'strncpy' is deprecated: This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]

* Moving `test_count_digits` to format-impl-test then count_digits<4>(internal::uintptr_t) shall not be exported

* retaining _CRT_SECURE_NO_WARNINGS always defined should be no harms.
2019-05-07 12:09:11 -07:00
..
add-subdirectory-test Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736) 2018-06-06 15:57:59 +02:00
compile-test Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736) 2018-06-06 15:57:59 +02:00
find-package-test Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736) 2018-06-06 15:57:59 +02:00
gmock Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736) 2018-06-06 15:57:59 +02:00
gtest Fix error on MinGW 2017-03-09 06:09:43 -08:00
assert-test.cc test: assert-test: fix typo in else-branch of EXPECT_DEBUG_DEATH_IF_SUPPORTED 2019-02-18 14:02:02 -10:00
chrono-test.cc Fix handling of nan durations 2019-05-05 08:53:23 -07:00
CMakeLists.txt Add <format> test 2019-04-13 11:37:52 -07:00
color-test.cc Add color-test 2019-03-10 07:57:29 -07:00
core-test.cc basic_buffer -> buffer 2019-04-07 20:32:28 -07:00
custom-formatter-test.cc Move test_count_digits to format-impl-test and disable gtest warnings (#1147) 2019-05-07 12:09:11 -07:00
format-impl-test.cc Move test_count_digits to format-impl-test and disable gtest warnings (#1147) 2019-05-07 12:09:11 -07:00
format-test.cc Move test_count_digits to format-impl-test and disable gtest warnings (#1147) 2019-05-07 12:09:11 -07:00
gmock-gtest-all.cc Format the code using clang-format 2019-01-13 06:58:20 -08:00
grisu-test.cc Fix handling of zero precision 2019-04-19 15:10:12 -07:00
gtest-extra-test.cc Enable [[noreturn]] some. 2019-04-08 07:53:59 -07:00
gtest-extra.cc Format the code using clang-format 2019-01-13 06:58:20 -08:00
gtest-extra.h Format the code using clang-format 2019-01-13 06:58:20 -08:00
header-only-test2.cc Add a lightweight header for the core API 2017-12-06 07:42:42 -08:00
header-only-test.cc Add a lightweight header for the core API 2017-12-06 07:42:42 -08:00
locale-test.cc Fix compilation with locales disabled (#1011) 2019-01-19 07:16:05 -08:00
mock-allocator.h Format the code using clang-format 2019-01-13 06:58:20 -08:00
ostream-test.cc Add specialization test 2019-04-19 17:15:46 -07:00
posix-mock-test.cc Move test_count_digits to format-impl-test and disable gtest warnings (#1147) 2019-05-07 12:09:11 -07:00
posix-mock.h Format the code using clang-format 2019-01-13 06:58:20 -08:00
posix-test.cc Format the code using clang-format 2019-01-13 06:58:20 -08:00
prepare-test.cc Fix library deprecation warning 2019-02-07 12:20:46 -08:00
printf-test.cc Convert negative precision to zero in printf (#1127) 2019-04-21 07:44:04 -07:00
ranges-test.cc basic_buffer -> buffer 2019-04-07 20:32:28 -07:00
std-format-test.cc Add <format> test 2019-04-13 11:37:52 -07:00
test-assert.h Format the code using clang-format 2019-01-13 06:58:20 -08:00
test-main.cc Format the code using clang-format 2019-01-13 06:58:20 -08:00
util.cc Format the code using clang-format 2019-01-13 06:58:20 -08:00
util.h Format the code using clang-format 2019-01-13 06:58:20 -08:00