summaryrefslogtreecommitdiff
path: root/examples/cppunittest/TestCaseTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppunittest/TestCaseTest.h')
-rw-r--r--examples/cppunittest/TestCaseTest.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/cppunittest/TestCaseTest.h b/examples/cppunittest/TestCaseTest.h
index 16a6e37..050f71f 100644
--- a/examples/cppunittest/TestCaseTest.h
+++ b/examples/cppunittest/TestCaseTest.h
@@ -8,6 +8,7 @@
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/TestResult.h>
+#include "MockTestListener.h"
class TestCaseTest : public CppUnit::TestCase
@@ -19,6 +20,7 @@ class TestCaseTest : public CppUnit::TestCase
CPPUNIT_TEST( testFailAll );
CPPUNIT_TEST( testNoFailure );
CPPUNIT_TEST( testDefaultRun );
+ CPPUNIT_TEST( testTwoRun );
CPPUNIT_TEST( testCountTestCases );
CPPUNIT_TEST( testDefaultConstructor );
CPPUNIT_TEST( testConstructorWithName );
@@ -53,13 +55,15 @@ private:
void checkFailure( bool failSetUp,
bool failRunTest,
bool failTearDown );
-
+/*
void checkResult( int failures,
int errors,
int testsRun,
CppUnit::TestResult *result );
+*/
private:
CppUnit::TestResult *m_result;
+ MockTestListener *m_testListener;
};