1 #ifndef _example_test_h_
2 #define _example_test_h_
4 #include <ThreadedTestCase.h>
7 class ExampleTest
: public BThreadedTestCase
{
9 ExampleTest(std::string name
= "");
10 virtual ~ExampleTest() { delete fLocker
; }
12 static CppUnit::Test
* Suite();
14 void TestFunc1(); // num += 10
15 void TestFunc2(); // num *= 2
16 void TestFunc3(); // num -= 5
17 void FailureFunc(); // Fails assertion
23 #endif // _example_test_h_