diff options
| author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-04-13 23:38:14 +0000 |
|---|---|---|
| committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-04-13 23:38:14 +0000 |
| commit | b7e66b5d745f82649dfaa1955310749232b9cb38 (patch) | |
| tree | cd6e70a62950489342142fb6bcdc9849ac8df2d5 /cppunit/TextTestResult.cpp | |
| parent | 605e750186314420809c829eb5fcb9d4d21f3cf0 (diff) | |
| download | cppunit-b7e66b5d745f82649dfaa1955310749232b9cb38.tar.gz | |
Fix bug #232636: TextTestResult::printHeader(ostream& stream) outputs to cout.
Diffstat (limited to 'cppunit/TextTestResult.cpp')
| -rw-r--r-- | cppunit/TextTestResult.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppunit/TextTestResult.cpp b/cppunit/TextTestResult.cpp index 482e003..be1602d 100644 --- a/cppunit/TextTestResult.cpp +++ b/cppunit/TextTestResult.cpp @@ -111,9 +111,9 @@ void TextTestResult::printHeader (ostream& stream) { if (wasSuccessful ()) - cout << endl << "OK (" << runTests () << " tests)" << endl; + stream << endl << "OK (" << runTests () << " tests)" << endl; else - cout << endl + stream << endl << "!!!FAILURES!!!" << endl << "Test Results:" << endl << "Run: " |
