|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
// Verify exit.
|
|
|
// Verify exit.
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
|
|
|
|
|
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
|
|
|
|
|
|
|
|
if (!child.isDone()) {
|
|
|
if (!child.isDone()) {
|
|
|
std::cout << " Failure in testIsFinishedWriting: "
|
|
|
std::cout << " Failure in testIsFinishedWriting: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
int main()
|
|
|
{
|
|
|
{
|
|
|
|
|
|
|
|
|
std::cout << "\nCodeDweller::ChildStream unit tests\n" << std::endl;
|
|
|
std::cout << "\nCodeDweller::ChildStream unit tests\n" << std::endl;
|
|
|
|
|
|
|
|
|
RUN_TEST(testChildStreamIsDone);
|
|
|
RUN_TEST(testChildStreamIsDone);
|