Commit Graph

180 Commits

Author SHA1 Message Date
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