Commit Graph

28 Commits

Author SHA1 Message Date
Victor Zverovich
eaa89e23d7 Put File, BufferedFile & ErrorCode in the fmt namespace. 2014-06-09 09:07:27 -07:00
Victor Zverovich
b692ab58b2 Move POSIX wrappers to separate files. 2014-06-09 08:33:48 -07:00
Victor Zverovich
f578bc3a4a More tests. Fix warnings. 2014-05-19 07:31:05 -07:00
Victor Zverovich
f21fa23186 More posix tests. 2014-05-18 10:05:29 -07:00
Victor Zverovich
ed2caaf265 No need for retry on Windows. 2014-05-16 09:09:54 -07:00
Victor Zverovich
232e5c3a3b Test retry on EINTR in close. 2014-05-16 06:25:20 -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
44b57bdf8b Fix warnings. 2014-05-06 11:29:07 -07:00
Victor Zverovich
aab84f67a4 Fix warnings. 2014-05-06 11:24:20 -07:00
Victor Zverovich
6bd3880cf1 Fix test. 2014-05-06 10:38:23 -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
a07350a0d4 More tests. 2014-05-04 10:08:29 -07:00
Victor Zverovich
6a4a9b773c More tests. 2014-05-04 09:01:18 -07:00
Victor Zverovich
02b185751f Add BufferedFile. OutputRedirector -> OutputRedirect. 2014-05-04 06:44:50 -07:00
Victor Zverovich
15f1f8510f Fix test. More comments. 2014-05-03 16:47:00 -07:00
Victor Zverovich
d13946bfb7 Fix warnings. 2014-05-03 15:50:22 -07:00
Victor Zverovich
823ce5fc3d More tests. 2014-05-03 15:26:44 -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
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
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