Commit Graph

80 Commits

Author SHA1 Message Date
Victor Zverovich
cc9b051d12 Move format_system_error to the public API (#323) 2016-05-13 07:19:39 -06:00
vitaut
9ffe98c00e Fix/suppress MSVC warnings 2016-03-19 06:39:33 -07:00
vitaut
3ecad55910 Fix sign conversion warnings 2016-03-02 07:53:14 -08:00
vitaut
2d727e7d0e Suppress bogus coverity warnings 2015-10-28 07:01:28 -07:00
vitaut
fb27723a9f Try fixing bogus coverity warnings, take n 2015-10-22 07:33:01 -07:00
vitaut
b64913b00b Suppress bogus coverity warnings 2015-10-22 05:58:37 -07:00
vitaut
ecbfdb46d3 Fix sanitize 2015-10-21 10:39:58 -07:00
vitaut
23e84472b2 Hook Coverity model file 2015-10-21 08:45:48 -07:00
vitaut
b634309a31 Merget the master branch 2015-07-31 08:58:32 -07:00
vitaut
6cf24c7f92 Fix MSVC warnings 2015-07-08 08:04:32 -07:00
vitaut
5b9b485f57 Workaround a bug in MinGW 2015-06-24 11:36:28 -07:00
vitaut
0a7e5141c1 Move posix tests from gtest-extra-test to a separate test 2015-06-24 09:16:03 -07:00
vitaut
8ab665afbc Only use death tests if available 2015-06-22 08:17:23 -07:00
vitaut
6bca5ca109 Woraround a bug in MinGW 2015-03-12 07:49:01 -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
138c3dccdc Fix tests. 2014-07-29 08:11:49 -07:00
Victor Zverovich
8f8fd769ee Fix Fix https://github.com/cppformat/cppformat/issues/50 in tests too. 2014-07-29 07:50:05 -07:00
Victor Zverovich
75b5eb4b9d More fixes for https://github.com/cppformat/cppformat/issues/50. 2014-07-27 15:09:05 -07:00
Victor Zverovich
53a475ac94 Do fix a test. 2014-07-09 10:01:36 -07:00
Victor Zverovich
897397760c Fix a test. 2014-07-09 09:55:13 -07:00
Victor Zverovich
53201033f2 Refactor error reporting API. 2014-06-30 14:26:29 -07:00
Victor Zverovich
a1264926a0 Writer::format -> Writer::write. Make fmt::format return string. 2014-06-29 11:51:10 -07:00
Victor Zverovich
856e129cc6 Don't use deprecated API. 2014-06-28 20:03:46 -07:00
Constantine Tarasenkov
6aace693db Changes for MinGW compiler 2014-06-11 02:38:57 +04:00
Victor Zverovich
eaa89e23d7 Put File, BufferedFile & ErrorCode in the fmt namespace. 2014-06-09 09:07:27 -07:00
Victor Zverovich
f578bc3a4a More tests. Fix warnings. 2014-05-19 07:31:05 -07:00
Victor Zverovich
e654f56210 Test fdopen. 2014-05-18 10:04:49 -07:00
Victor Zverovich
fb17316d77 Use stdio.h instead of cstdio for fdopen. Wrap all used POSIX functions for testing. 2014-05-15 08:58:10 -07:00
Victor Zverovich
d758dbb33a Add tests. 2014-05-15 07:45:44 -07:00
Victor Zverovich
34648f4019 Test EXPECT_SYSTEM_ERROR. 2014-05-14 09:01:16 -07:00
Victor Zverovich
c3b3c0fafe Fix warning. 2014-05-14 07:45:21 -07:00
Victor Zverovich
9c75b9eaa1 Fix warning. 2014-05-06 12:17:31 -07:00
Victor Zverovich
e283930566 Fix warnings. 2014-05-06 12:13:16 -07:00
Victor Zverovich
72ad3781a4 Don't use .travis.yml in tests. 2014-05-06 12:03:12 -07:00
Victor Zverovich
aab84f67a4 Fix warnings. 2014-05-06 11:24:20 -07:00
Victor Zverovich
6a5f27bed2 Add test. 2014-05-06 09:17:53 -07:00
Victor Zverovich
eb09e58697 Fix warnings. 2014-05-06 08:13:28 -07:00
Victor Zverovich
2e50361a29 dup -> copy 2014-05-06 08:05:14 -07:00
Victor Zverovich
b322a1f58b Fix MSVC build. 2014-05-06 07:29:50 -07:00
Victor Zverovich
e1c86f0b5d Fix warnings. 2014-05-06 06:58:32 -07:00
Victor Zverovich
fb4ccac951 Add BufferedFile::fileno. 2014-05-06 06:45:53 -07:00
Victor Zverovich
494f53421e Fix warnings. 2014-05-06 06:11:39 -07:00
Victor Zverovich
e44a2be8b9 Make BufferedFile::close public. 2014-05-05 17:38:39 -07:00
Victor Zverovich
cada26d226 Suppress asserts locally. 2014-05-05 17:07:21 -07:00
Victor Zverovich
2ecce39ca9 More tests. 2014-05-05 12:52:16 -07:00
Victor Zverovich
0aacd0cf6d Replace EXPECT_STDOUT and EXPECT_STDERR with a single macro EXPECT_WRITE. 2014-05-05 08:35:59 -07:00
Victor Zverovich
098f8ac343 Evaluate EXPECT_STD* output argument once. 2014-05-05 08:20:01 -07:00
Victor Zverovich
758283f7d9 Fix tests. 2014-05-05 08:19:35 -07:00
Victor Zverovich
03ca48f3e7 Test calling RestoreAndRead twice. 2014-05-05 07:31:56 -07:00
Victor Zverovich
536e61386d Evaluate message argument passed to EXPECT_THROW_MSG once. 2014-05-05 07:31:38 -07:00