Victor Zverovich
|
e7b6896c43
|
Fix tests.
|
2014-06-09 09:57:34 -07:00 |
|
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
|
b4dc0301f6
|
Disable test.
|
2014-06-09 08:17:14 -07:00 |
|
Victor Zverovich
|
f51fc08670
|
More tests.
|
2014-06-09 07:40:51 -07:00 |
|
Victor Zverovich
|
80c99760fb
|
Fix warnings.
|
2014-06-07 07:11:34 -07:00 |
|
Victor Zverovich
|
1ed23b9127
|
Warng about compilers mishandling negative NaN.
|
2014-06-06 18:54:45 -07:00 |
|
Victor Zverovich
|
acf94abffd
|
Fix build.
|
2014-06-06 11:14:53 -07:00 |
|
Victor Zverovich
|
5b054ae7b8
|
Test signbit.
|
2014-06-06 11:04:27 -07:00 |
|
Victor Zverovich
|
8ed2243a3c
|
Workaround windows brain damage.
|
2014-06-06 08:18:53 -07:00 |
|
Victor Zverovich
|
9a33891e97
|
Add missing include.
|
2014-06-06 08:07:05 -07:00 |
|
Victor Zverovich
|
f16aff8033
|
Simplify tests.
|
2014-06-06 08:01:25 -07:00 |
|
Victor Zverovich
|
18316cb25f
|
Fix windows build.
|
2014-06-06 07:29:57 -07:00 |
|
Victor Zverovich
|
9aba05b76a
|
Parse '0' flag.
|
2014-06-06 07:07:57 -07:00 |
|
Victor Zverovich
|
bf8b29fbe7
|
Add initial support for printf format specifications.
|
2014-06-06 06:38:37 -07:00 |
|
Victor Zverovich
|
b65c19012a
|
Test write count conversion.
|
2014-05-19 08:37:28 -07:00 |
|
Victor Zverovich
|
49fac7666c
|
Test read count conversion.
|
2014-05-19 08:25:08 -07:00 |
|
Victor Zverovich
|
3159170383
|
Fix warnings.
|
2014-05-19 07:53:16 -07:00 |
|
Victor Zverovich
|
f578bc3a4a
|
More tests. Fix warnings.
|
2014-05-19 07:31:05 -07:00 |
|
Victor Zverovich
|
952fd7a756
|
Comment.
|
2014-05-19 07:30:32 -07:00 |
|
Victor Zverovich
|
5bd9efebda
|
Fix Windows build, take 2.
|
2014-05-18 12:38:01 -07:00 |
|
Victor Zverovich
|
df991a0f46
|
Fix Windows build.
|
2014-05-18 11:09:37 -07:00 |
|
Victor Zverovich
|
f21fa23186
|
More posix tests.
|
2014-05-18 10:05:29 -07:00 |
|
Victor Zverovich
|
e654f56210
|
Test fdopen.
|
2014-05-18 10:04:49 -07:00 |
|
Victor Zverovich
|
bd205aea28
|
Fix test.
|
2014-05-16 09:16:29 -07:00 |
|
Victor Zverovich
|
ed2caaf265
|
No need for retry on Windows.
|
2014-05-16 09:09:54 -07:00 |
|
Victor Zverovich
|
f1eab158c5
|
Test retry on EINTR in read, write, dup & dup2.
|
2014-05-16 07:07:43 -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
|
34648f4019
|
Test EXPECT_SYSTEM_ERROR.
|
2014-05-14 09:01:16 -07:00 |
|
Victor Zverovich
|
5415b2a43b
|
Fix example.
|
2014-05-14 08:20:20 -07:00 |
|
Victor Zverovich
|
c3b3c0fafe
|
Fix warning.
|
2014-05-14 07:45:21 -07:00 |
|
Victor Zverovich
|
a59dc93764
|
Fix ReportSystemError and ReportWinError tests.
|
2014-05-14 06:58:13 -07:00 |
|
Victor Zverovich
|
bb93cf12a7
|
Add a test.
|
2014-05-14 06:45:39 -07:00 |
|
Victor Zverovich
|
39561f8a08
|
Add tests.
|
2014-05-13 06:51:17 -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
|
45c50a9f1a
|
Fix warning.
|
2014-05-06 11:34:00 -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
|
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
|
5cf3b6dc7d
|
Add a Print overload that writes to a file.
|
2014-05-06 08:05:51 -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 |
|
Victor Zverovich
|
368505ebe9
|
Fix tests.
|
2014-05-05 07:31:03 -07:00 |
|
Victor Zverovich
|
5434b0282c
|
Don't die on Windows.
|
2014-05-05 07:11:54 -07:00 |
|
Victor Zverovich
|
3555341ab4
|
Fix test.
|
2014-05-04 18:23:06 -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
|
e4f8b069b5
|
Too young to die.
|
2014-05-03 20:49:42 -07:00 |
|
Victor Zverovich
|
590490f35f
|
Try not to die.
|
2014-05-03 19:05:56 -07:00 |
|
Victor Zverovich
|
3e55391ea8
|
Fix test.
|
2014-05-03 18:48:20 -07:00 |
|
Victor Zverovich
|
527c4b312a
|
Fix test.
|
2014-05-03 18:36:17 -07:00 |
|
Victor Zverovich
|
f4c5b37561
|
Fix test.
|
2014-05-03 18:27:23 -07:00 |
|
Victor Zverovich
|
58b762f965
|
Fix tests.
|
2014-05-03 18:13:16 -07:00 |
|
Victor Zverovich
|
ba89c6399c
|
"Undo" delete.
|
2014-05-03 17:34:58 -07:00 |
|
Victor Zverovich
|
798c0fae71
|
Fix test, take 2.
|
2014-05-03 16:55:13 -07:00 |
|
Victor Zverovich
|
15f1f8510f
|
Fix test. More comments.
|
2014-05-03 16:47:00 -07:00 |
|
Victor Zverovich
|
c880e31d9f
|
Fix warnings.
|
2014-05-03 16:25:26 -07:00 |
|
Victor Zverovich
|
a2cf54fca2
|
Fix test.
|
2014-05-03 16:21:01 -07:00 |
|
Victor Zverovich
|
d13946bfb7
|
Fix warnings.
|
2014-05-03 15:50:22 -07:00 |
|
Victor Zverovich
|
1a6d365db5
|
Fix move assignment.
|
2014-05-03 15:46:11 -07:00 |
|
Victor Zverovich
|
823ce5fc3d
|
More tests.
|
2014-05-03 15:26:44 -07:00 |
|
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
|
f9eb0b8ba5
|
format-test.h -> gtest-extra.h
|
2014-05-02 07:23:25 -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
|
9cf43ccdad
|
Move tests to the test dir.
|
2014-05-01 16:49:08 -07:00 |
|
Victor Zverovich
|
063d0077b3
|
Test FileSink. Simplify tests.
|
2014-04-29 08:39:37 -07:00 |
|