Fixed warnings (method shadowing).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@359 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2002-07-21 00:51:08 +00:00
parent 2d3138349f
commit b4793125a8
3 changed files with 17 additions and 0 deletions
@@ -26,6 +26,7 @@ public:
BThreadedTestCaller(std::string name, TestClass *object);
virtual ~BThreadedTestCaller();
virtual CppUnit::TestResult *run();
virtual void run(CppUnit::TestResult *result);
//! Adds a thread to the test. \c threadName must be unique to this BThreadedTestCaller.
@@ -97,6 +98,14 @@ BThreadedTestCaller<TestClass, ExpectedException>::addThread(std::string threadN
}
}
template <class TestClass, class ExpectedException>
CppUnit::TestResult *
BThreadedTestCaller<TestClass, ExpectedException>::run() {
CppUnit::TestResult *result = new CppUnit::TestResult;
run(result);
return result;
}
template <class TestClass, class ExpectedException>
void
BThreadedTestCaller<TestClass, ExpectedException>::run(CppUnit::TestResult *result) {