summaryrefslogtreecommitdiff
path: root/include/cppunit/CompilerOutputter.h
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2001-10-14 11:23:31 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2001-10-14 11:23:31 +0000
commite27118dd97d6125d3869b4972eff8da5996a768c (patch)
treec15c08831fe1694f6d2298f1573f3fbb02724dc5 /include/cppunit/CompilerOutputter.h
parentff0517a7f94155d1c349c1f241b5f2bf5ba57cd7 (diff)
downloadcppunit-e27118dd97d6125d3869b4972eff8da5996a768c.tar.gz
Include/cppunitui/
include/cppunitui/* : added, Qt TestRunner. * examples/qt/* : added, example showing the use of Qt TestRunner. * src/qttestrunner : added, source of the Qt TestRunner DLL.
Diffstat (limited to 'include/cppunit/CompilerOutputter.h')
-rw-r--r--include/cppunit/CompilerOutputter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cppunit/CompilerOutputter.h b/include/cppunit/CompilerOutputter.h
index 9f4840b..67e0177 100644
--- a/include/cppunit/CompilerOutputter.h
+++ b/include/cppunit/CompilerOutputter.h
@@ -2,6 +2,7 @@
#define CPPUNIT_COMPILERTESTRESULTOUTPUTTER_H
#include <cppunit/Portability.h>
+#include <vector>
#include <iostream>
namespace CppUnit
@@ -52,6 +53,9 @@ private:
/// Prevents the use of the copy operator.
void operator =( const CompilerOutputter &copy );
+ typedef std::vector<std::string> Lines;
+ static Lines splitMessageIntoLines( std::string message );
+
private:
TestResult *m_result;
std::ostream &m_stream;