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
c3c45e68d8
Added testRawData().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@58 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
54be713dc6
Added test for huge (10 MB) attribute value.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@57 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
69e9bf6e83
Updated test for empty element.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@56 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
7874f5676f
Added test for parsing an empty element.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@55 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
4dd54b87d5
Test AttributeFunctor.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@54 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
e007628032
Renamed Configuration to XMLReader.
Tested XMLReaderElement::indicator() and
XMLReaderAttribute::indicator().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@53 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 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
2a871c49d9
Tested FileOps::moveFile under Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@50 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
323a2142dc
Tested FilePath::isAbsolute() under Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@49 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
9 years ago
adeniz
d313610ca6
Added tests for FilePath::isAbsolute().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@48 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
03768a9f23
Tested issue: Incorrect value loaded for attribute value equal to "".
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@37 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
10 years ago
adeniz
96eeafbfa4
Tested DirectoryReference on Windows, implemented FilePath::join().
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@34 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
ae26e0f408
Tested DirectoryReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@33 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
cdd210d302
Tested on Windows 7.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@32 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
3d27b4faba
Tested FileReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@31 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 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
6bfabceaff
Wait just after spawning the test daemon on Linux. Reason: Give
the OS a chance to start the daemon; otherwise pidof returns " ".
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@27 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
a5bc25e4bc
Test only Stop callback timeouts.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@26 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
379cf03d37
Tested callback timeout on Windows. Tests fail, because SERVICE_STATUS::dwWaitHint seems to be ignored by Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@25 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
a8d05b67bc
Implemented test for callback timeout.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@24 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
353aa42407
Modify to run under Windows also.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@23 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
e501e585e9
Made set/clear functions static, made entry point functions private.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@22 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
04a85b85a1
Removed Resume test.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@21 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
5fd0917d2f
Implemented and on Windows (built with Visual Studio 2013 Express).
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@20 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
bde8d7f006
Completed unit tests under Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@19 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
7517d123ef
Completed preliminary unit test for Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@18 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago
adeniz
dc77822494
Initial implementation for CodeDweller::Service unit test.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@17 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
8c317be3bf
Setting up directory structure for unit tests.
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@14 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
madscientist
c62e2a51a4
setup
git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@1 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
10 years ago