Alban Deniz
ae2f307b70
Updated for c++17.
10 months ago
Alban Deniz
ceec6aea33
Increased wait time before I/O with the child process. Reason: Reduce the chance of false Fail results.
10 months ago
adeniz
277520771c
Updated clostStdin test to use cin.eof() and cin.read().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@60 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
8 years ago
adeniz
26f56e3de2
Update test to test closeStdin() with multiple Child instances,
and to run under valgrind.
Note: Valgrind reports 72,704 bytes reachable in testChild and childProgram.
This might not indicate any problem.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@59 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
8 years ago
adeniz
79d7d9a894
Do not run ChildStream tests; ChildStream is deprecated.
Update test to verify that stdout and stderr from the child are
sent to the same destination.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@52 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
f76eafce3c
Tested Child::closeStdIn().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@51 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
b36891a097
Tested readDelimited().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@47 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
dbc7ee1786
Implemented tests for I/O with vector<char>.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@46 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
dbfa0c4e3a
in testChildIsFinishedWriting, wait longer for child to exit.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@45 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
b63e90ee95
Updated test for Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@44 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
14b01f12aa
Implemented tests of Child read(), write(), and writeAndShrink() with strings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@43 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
20a7ee7c51
Testing CodeDweller::Child.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@42 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
901128f27d
Tested new constructors, isRunning(), renaming terminate() to close(),
and calling close() in ~ChildStream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@41 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
43ae0cac71
Tested inheritance of Child from std::iostream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@40 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
4fdfa912bd
Tested merging of input and output streambuf and stream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@39 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
d73680c660
Unit test for differentiating between tags where one tag name
begins with another.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@36 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
c4513b3b47
Set reader/writer to throw exception. Reason: Child modified
to not throw exceptions on I/O error.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@35 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
f3ffb63503
Tested non-blocking read on Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@30 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
27099dcd54
Testing non-blocking read.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@29 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
d9bb8b5477
Corrected isDone test.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@28 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
90ed1f4b1d
Updated for Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@16 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
a13967b811
Modified for new directory structure.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@15 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
bb46e541a5
Set up directory structure for CodeDweller unit tests.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@13 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago