Commit Graph

1070 Commits

Author SHA1 Message Date
Victor Zverovich
c6f40e339f Fix MSVC build. 2014-05-03 15:16:52 -07:00
Victor Zverovich
ee793b35cf File::get -> File::descriptor. 2014-05-03 15:07:28 -07:00
Victor Zverovich
c6d83b1a3b Make File::close() public. 2014-05-03 15:04:14 -07:00
Victor Zverovich
f516fb9cba Fix tests. 2014-05-03 14:40:18 -07:00
Victor Zverovich
7b2568a3a9 Fix test. 2014-05-03 13:18:58 -07:00
Victor Zverovich
b808503bc1 More tests. 2014-05-03 13:14:15 -07:00
Victor Zverovich
9556d3714d Fix test. 2014-05-03 12:38:32 -07:00
Victor Zverovich
c5c2cd63bc FileDescriptor -> File 2014-05-03 12:28:02 -07:00
Victor Zverovich
98b6e59272 Add FileDescriptor::write. 2014-05-03 12:06:28 -07:00
Victor Zverovich
f3e123b304 Use streamsize instead of ssize_t for portability. 2014-05-03 12:06:04 -07:00
Victor Zverovich
cc6a772b89 Simplify tests. 2014-05-03 12:01:27 -07:00
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