summaryrefslogtreecommitdiff
path: root/src/cppunit/TestRunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/TestRunner.cpp')
-rw-r--r--src/cppunit/TestRunner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cppunit/TestRunner.cpp b/src/cppunit/TestRunner.cpp
index 9bce34d..5baf69e 100644
--- a/src/cppunit/TestRunner.cpp
+++ b/src/cppunit/TestRunner.cpp
@@ -1,5 +1,6 @@
#include <cppunit/TestRunner.h>
#include <cppunit/TestPath.h>
+#include <cppunit/TestResult.h>
namespace CppUnit
@@ -91,7 +92,7 @@ TestRunner::run( TestResult &controller,
TestPath path = m_suite->resolveTestPath( testPath );
Test *testToRun = path.getChildTest();
- testToRun->run( &controller );
+ controller.runTest( testToRun );
}