1 // RegistrarThreadManagerTest.h 2 3 #ifndef _REGISTRAR_THREAD_MANAGER_TEST_H 4 #define _REGISTRAR_THREAD_MANAGER_TEST_H 5 6 #include <cppunit/Test.h> 7 #include <TestCase.h> 8 9 #include <Mime.h> 10 11 class BTestApp; 12 13 class RegistrarThreadManagerTest : public BTestCase { 14 public: 15 static CppUnit::Test* Suite(); 16 17 // This function called before *each* test added in Suite() 18 void setUp(); 19 20 // This function called after *each* test added in Suite() 21 void tearDown(); 22 23 //------------------------------------------------------------ 24 // Test functions 25 //------------------------------------------------------------ 26 void ShutdownTest(); 27 void ThreadLimitTest(); 28 private: 29 BTestApp *fApplication; 30 }; 31 32 #endif // _REGISTRAR_THREAD_MANAGER_TEST_H 33