summaryrefslogtreecommitdiff
path: root/src/cppunit/TextTestResult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/TextTestResult.cpp')
-rw-r--r--src/cppunit/TextTestResult.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cppunit/TextTestResult.cpp b/src/cppunit/TextTestResult.cpp
index 9d5f017..a8efbb3 100644
--- a/src/cppunit/TextTestResult.cpp
+++ b/src/cppunit/TextTestResult.cpp
@@ -31,10 +31,8 @@ TextTestResult::addFailure (Test *test, Exception *e)
void
TextTestResult::startTest (Test *test)
{
-
- std::cerr << "Running " << test->getName() << " ";
TestResult::startTest (test);
- std::cerr << "." << std::endl;
+ std::cerr << ".";
}
@@ -57,6 +55,7 @@ TextTestResult::printErrors (std::ostream& stream)
stream << i
<< ") "
+ << "test: " << failure->failedTest()->getName() << " "
<< "line: " << (e ? estring (e->lineNumber ()) : "") << " "
<< (e ? e->fileName () : "") << " "
<< "\"" << failure->thrownException ()->what () << "\""
@@ -84,6 +83,7 @@ TextTestResult::printFailures (std::ostream& stream)
stream << i
<< ") "
+ << "test: " << failure->failedTest()->getName() << " "
<< "line: " << (e ? estring (e->lineNumber ()) : "") << " "
<< (e ? e->fileName () : "") << " "
<< "\"" << failure->thrownException ()->what () << "\""