diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-03-06 13:51:23 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-03-06 13:51:23 +0000 |
| commit | e13f6632c91fdd1a866800392f4fb12c238d14ba (patch) | |
| tree | b1e74ce88df55019f04ee4731b9728befacf8829 /src/cppunit | |
| parent | 81db35e7cb09048b1880a0e9d85ad3a1cd748d72 (diff) | |
| download | cppunit-e13f6632c91fdd1a866800392f4fb12c238d14ba.tar.gz | |
src/cppunit/TextTestProgressListener.cpp: flush the stream after each progess step.
Diffstat (limited to 'src/cppunit')
| -rw-r--r-- | src/cppunit/TextTestProgressListener.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cppunit/TextTestProgressListener.cpp b/src/cppunit/TextTestProgressListener.cpp index 815c04c..bd86ddf 100644 --- a/src/cppunit/TextTestProgressListener.cpp +++ b/src/cppunit/TextTestProgressListener.cpp @@ -21,6 +21,7 @@ void TextTestProgressListener::startTest( Test *test ) { std::cerr << "."; + std::cerr.flush(); } @@ -28,6 +29,7 @@ void TextTestProgressListener::addFailure( const TestFailure &failure ) { std::cerr << ( failure.isError() ? "E" : "F" ); + std::cerr.flush(); } @@ -35,6 +37,7 @@ void TextTestProgressListener::done() { std::cerr << std::endl; + std::cerr.flush(); } } // namespace CppUnit |
