vitaut
1bba22667e
Fix build on CMake 2.6
2015-08-19 07:32:48 -07:00
vitaut
4274f15f0d
Move test-specific stuff to test/CMakeLists.txt
2015-08-19 07:27:08 -07:00
vitaut
0a7e5141c1
Move posix tests from gtest-extra-test to a separate test
2015-06-24 09:16:03 -07:00
vitaut
9769f4b9ed
Refactor posix tests
2015-06-24 08:43:30 -07:00
vitaut
b88a17ad9e
libformat.{a.so} -> libcppformat.{a.so}
...
as suggested by Eugene V. Lyubimkin to make the name less generic
2015-06-23 06:40:22 -07:00
vitaut
8ab665afbc
Only use death tests if available
2015-06-22 08:17:23 -07:00
vitaut
24c309fbfa
Don't use windows.h if FMT_USE_WINDOWS_H is set to 0
2015-06-12 07:15:57 -07:00
vitaut
a5757c86df
FMT_EXTRA_TESTS -> FMT_PEDANTIC and use it to control extra warnings
2015-05-12 07:35:29 -07:00
vitaut
2da08f21dd
Only run compile-test if FMT_EXTRA_TESTS is set
...
These tests can be quite time-consuming especially on Windows
2015-05-11 07:34:07 -07:00
vitaut
60405cf693
Use /W4 in format-test and only if FMT_EXTRA_TESTS is set
...
as (1) we don't want to force /W4 on users of the library and (2) some of
the warnings only show up when the formatting functions are used.
2015-03-28 17:29:12 -07:00
vitaut
2adbfa4af7
Test IsConvertibleToInt with a C++11 enum
2015-03-18 11:02:37 -07:00
vitaut
538c2610cb
Move FMT_USE_VARIADIC_TEMPLATES definition to macro-test.cc
2015-03-17 07:57:30 -07:00
Victor Zverovich
da6ac7fb26
Fix tests
2015-03-01 16:12:26 -08:00
Mikolaj Paraniak
7f706171a9
Add format linking to tests
2015-01-06 16:57:07 +01:00
Victor Zverovich
67e196eac4
Make test libraries static
2014-12-19 07:39:13 -08:00
Victor Zverovich
df580969f7
Add a test for header-only configuration
2014-12-09 06:22:55 -08:00
Victor Zverovich
8b76e97062
Support compilation with exceptions disabled
2014-10-06 08:30:55 -07:00
Victor Zverovich
d00f689c40
Fix type_traits check
2014-09-29 11:03:18 -07:00
Victor Zverovich
b79d06a5da
Escape quotes
2014-09-29 10:44:48 -07:00
Victor Zverovich
2846a9eb38
Check if is_copy_assignable is working
...
is_copy_assignable is broken in MSVC.
2014-09-29 10:42:16 -07:00
Victor Zverovich
dd90129066
Check if type_traits actually work.
2014-09-29 09:15:41 -07:00
Victor Zverovich
d1ded569ff
Separate memory management and formatting
...
Array is split into an abstract Buffer class and a concrete MemoryBuffer class. BasicWriter now does all memory allocation through a Buffer object. Subclasses of BasicWriter may use different buffer types. The new BasicMemoryBuffer class uses the default MemoryBuffer.
2014-09-29 08:48:16 -07:00
Victor Zverovich
c76b22405d
Replace GTest with GMock (includes GTest)
2014-09-17 08:01:42 -07:00
Victor Zverovich
fe9888a1e2
Move implementation tests to format-impl-test.
2014-09-05 07:12:20 -07:00
Victor Zverovich
fb32161fa4
Move implementation specific stuff from format.h to format.cc.
2014-08-15 08:40:03 -07:00
Victor Zverovich
6a8becb5bf
Rearrange tests to simplify inclusion in other projects, part 2.
2014-08-09 09:07:15 -07:00
Victor Zverovich
56fb75c2ec
Rearrange tests to simplify inclusion in other projects.
2014-08-09 09:04:38 -07:00
Victor Zverovich
144e1fbb7c
Disallow formatting of wide strings when using a narrow string formatter.
2014-07-04 06:56:19 -07:00
Victor Zverovich
4e260e8599
Test MakeArg and fix formatting.
2014-07-03 08:50:57 -07:00
Victor Zverovich
5edda531f6
Add fmt::format and deprecate fmt::Format.
2014-06-28 14:48:42 -07:00
Victor Zverovich
063d0077b3
Test FileSink. Simplify tests.
2014-04-29 08:39:37 -07:00
Victor Zverovich
6798c1704e
Add tests.
2014-04-29 06:26:37 -07:00
Victor Zverovich
8641461c98
More tests.
2014-04-27 06:56:12 -07:00
Victor Zverovich
5adc272ee7
Add tests.
2014-04-25 07:44:35 -07:00
Victor Zverovich
fa3efb1330
Add a compile error test.
2014-01-08 08:16:00 -08:00
Victor Zverovich
f380dc3daa
Fix error reporting.
2014-01-07 17:04:39 -08:00
Victor Zverovich
9fad54a821
Fix CMake warning.
2014-01-07 17:04:30 -08:00
Victor Zverovich
482472ebc5
Fix a typo.
2014-01-07 11:34:32 -08:00
Victor Zverovich
be17d14544
Simplify compile tests.
2014-01-07 09:50:36 -08:00
Victor Zverovich
ec7006fb99
Test if a narrow string padding with wide char doesn't compile.
2014-01-07 08:57:37 -08:00
Victor Zverovich
6abfb84808
Simplify compile error tests.
2014-01-07 08:43:53 -08:00
Victor Zverovich
d5c82bc717
Add a comment.
2014-01-02 11:34:58 -08:00
Victor Zverovich
9bf11d057c
Add compile error tests.
2014-01-02 11:31:53 -08:00