[Cppunit-devel] output fix
Brought to you by:
blep
From: Steve M. R. <ste...@vi...> - 2001-05-24 11:56:37
|
There's a consistency bug in the TextTestResult output: normal results give a ".", while errors and failures emit a newline after the "E" or "F". -Steve 2001-05-23 Steve M. Robbins <st...@ny...> * src/cppunit/TextTestResult.cpp (addError, addFailure): Do not add newline after output ("E","F", respectively). Index: src/cppunit/TextTestResult.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/TextTestResult.cpp,v retrieving revision 1.2 diff -u -b -B -r1.2 TextTestResult.cpp --- src/cppunit/TextTestResult.cpp 2001/05/19 11:29:11 1.2 +++ src/cppunit/TextTestResult.cpp 2001/05/23 21:01:43 @@ -16,7 +16,7 @@ TextTestResult::addError (Test *test, Exception *e) { TestResult::addError (test, e); - std::cerr << "E" << std::endl; + std::cerr << "E"; } @@ -24,7 +24,7 @@ TextTestResult::addFailure (Test *test, Exception *e) { TestResult::addFailure (test, e); - std::cerr << "F" << std::endl; + std::cerr << "F"; } -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants |