Commit Graph

559 Commits

Author SHA1 Message Date
Victor Zverovich
a297e272d1 Add FileDescriptor::read. 2014-05-03 11:26:46 -07:00
Victor Zverovich
90a3f0a620 Define ssize_t on Windows. 2014-05-03 11:03:04 -07:00
Victor Zverovich
e648d289bb Fix FileDescriptor::pipe. 2014-05-03 10:25:46 -07:00
Victor Zverovich
8214a5ef5e Fix MSVC build. 2014-05-03 10:10:50 -07:00
Victor Zverovich
1a2d7be3f5 Implement EXPECT_STDOUT and EXPECT_STDERR using pipes. 2014-05-03 09:48:54 -07:00
Victor Zverovich
dd0120c189 Use gtest's own tuple with clang. 2014-05-02 08:13:17 -07:00
Victor Zverovich
f9eb0b8ba5 format-test.h -> gtest-extra.h 2014-05-02 07:23:25 -07:00
Victor Zverovich
f912eace9e Move compile test to the end. 2014-05-02 07:15:55 -07:00
Victor Zverovich
62394e0ebd More assertion tests. 2014-05-02 07:07:55 -07:00
Victor Zverovich
61d5ebc0af Test EXPECT_THROW_MSG. 2014-05-02 06:33:21 -07:00
Victor Zverovich
79226fe703 Use DLL runtime for gtest. 2014-05-01 20:06:19 -07:00
Victor Zverovich
7bde2b3c25 Replace a fused version of gtest with a stripped down one. 2014-05-01 17:14:35 -07:00
Victor Zverovich
9cf43ccdad Move tests to the test dir. 2014-05-01 16:49:08 -07:00
Victor Zverovich
5c639eb4c4 Test system error reporting. 2014-05-01 08:43:36 -07:00
Victor Zverovich
6ec1389de2 Test SystemErrorSink. 2014-05-01 08:02:55 -07:00
Victor Zverovich
78209468a0 Test UTF16ToUTF8::Convert. 2014-05-01 07:27:29 -07:00
Victor Zverovich
9830c52816 Fix UTF8ToUTF16. 2014-05-01 07:20:38 -07:00
Victor Zverovich
73d98d5d17 Test error reporting in UTF8ToUTF16. 2014-05-01 07:13:42 -07:00
Victor Zverovich
dcd039df81 Define WIN32_LEAN_AND_MEAN. 2014-05-01 07:09:42 -07:00
Victor Zverovich
42764e54ae Fix UTF16ToUTF8. 2014-05-01 07:09:08 -07:00
Victor Zverovich
58a2f4f425 Test error reporting in UTF16ToUTF8. 2014-05-01 07:06:35 -07:00
Victor Zverovich
53b4c31afb Move Format*ErrorMessage to internal namespace. 2014-04-30 15:00:41 -07:00
Victor Zverovich
f3a86e83fe Fix test. 2014-04-30 13:34:52 -07:00
Victor Zverovich
d35411817e Fix test. 2014-04-30 13:28:05 -07:00
Victor Zverovich
d3b1783647 Fix test. 2014-04-30 13:02:53 -07:00
Victor Zverovich
0bece94257 Fix test. 2014-04-30 12:39:31 -07:00
Victor Zverovich
400812a905 CError -> WinError 2014-04-30 12:38:17 -07:00
Victor Zverovich
c7eba007cc Fix MSVC build. 2014-04-30 11:47:16 -07:00
Victor Zverovich
89a8aaf502 Fix UB. 2014-04-30 11:29:33 -07:00
Victor Zverovich
34712da2e7 Fix MSVC build. 2014-04-30 11:28:07 -07:00
Victor Zverovich
f68d329d24 Fix warning. 2014-04-30 11:22:20 -07:00
Victor Zverovich
99e6112fda Fix StrError, move Format*ErrorMessage to the implementation. 2014-04-30 11:20:41 -07:00
Victor Zverovich
a1a84df7a4 More tests. 2014-04-30 10:53:55 -07:00
Victor Zverovich
c8e2b474e8 Fix test. 2014-04-30 10:46:12 -07:00
Victor Zverovich
8f06746051 Implement GetThreadCount on Linux, fix warnings. 2014-04-30 10:45:58 -07:00
Victor Zverovich
25ce9e7153 Fix MSVC build. 2014-04-30 10:39:24 -07:00
Victor Zverovich
f79398699b Add ThrowCError to throw an exception on C library errors. 2014-04-30 10:18:11 -07:00
Victor Zverovich
2c6372d790 Add a portable thread-safe version of strerror. 2014-04-30 09:42:48 -07:00
Victor Zverovich
5019b6b0f4 Fix tests, take 2. 2014-04-30 07:46:16 -07:00
Victor Zverovich
ba571064e7 Fix tests. 2014-04-30 07:44:41 -07:00
Victor Zverovich
ed2bdbaeaf Fix Windows build. 2014-04-30 07:41:54 -07:00
Victor Zverovich
c16217bf9b Test UTF8ToUTF16 and UTF16ToUTF8. 2014-04-30 07:38:43 -07:00
Victor Zverovich
089974eb92 Fix compiler flags check. 2014-04-30 07:36:47 -07:00
Victor Zverovich
da9aeab810 Add UTF8ToUTF16 and UTF16ToUTF8. 2014-04-30 07:23:43 -07:00
Victor Zverovich
859a4975f6 Throw SystemError if fwrite fails. 2014-04-30 06:55:21 -07:00
Victor Zverovich
4e33311597 Get rid of FormatterProxy. 2014-04-29 09:32:25 -07:00
Victor Zverovich
063d0077b3 Test FileSink. Simplify tests. 2014-04-29 08:39:37 -07:00
Victor Zverovich
48be5c22a2 Test "move". 2014-04-29 07:58:20 -07:00
Victor Zverovich
e00409c517 Comment. 2014-04-29 07:49:46 -07:00
Victor Zverovich
2b64133287 Add test script to appveyor config. 2014-04-29 07:40:42 -07:00