1014ff001SIngo Weinhold //------------------------------------------------------------------------------ 2014ff001SIngo Weinhold // SendMessageTester.h 3014ff001SIngo Weinhold // 4014ff001SIngo Weinhold //------------------------------------------------------------------------------ 5014ff001SIngo Weinhold 6014ff001SIngo Weinhold #ifndef SEND_MESSAGE_TESTER_H 7014ff001SIngo Weinhold #define SEND_MESSAGE_TESTER_H 8014ff001SIngo Weinhold 9014ff001SIngo Weinhold // Standard Includes ----------------------------------------------------------- 10014ff001SIngo Weinhold 11014ff001SIngo Weinhold // System Includes ------------------------------------------------------------- 12014ff001SIngo Weinhold 13014ff001SIngo Weinhold // Project Includes ------------------------------------------------------------ 14014ff001SIngo Weinhold #include <ThreadedTestCase.h> 15014ff001SIngo Weinhold 16014ff001SIngo Weinhold // Local Includes -------------------------------------------------------------- 17014ff001SIngo Weinhold #include "../common.h" 18014ff001SIngo Weinhold 19014ff001SIngo Weinhold // Local Defines --------------------------------------------------------------- 20014ff001SIngo Weinhold 21014ff001SIngo Weinhold // Globals --------------------------------------------------------------------- 22014ff001SIngo Weinhold 23014ff001SIngo Weinhold class BHandler; 24014ff001SIngo Weinhold class BLooper; 25*a0ea8d5fSIngo Weinhold class SMTester; 26014ff001SIngo Weinhold 27014ff001SIngo Weinhold class SendMessageTester : public BThreadedTestCase 28014ff001SIngo Weinhold { 29014ff001SIngo Weinhold public: 30014ff001SIngo Weinhold SendMessageTester(); 31014ff001SIngo Weinhold SendMessageTester(std::string name); 32014ff001SIngo Weinhold virtual ~SendMessageTester(); 33014ff001SIngo Weinhold 34*a0ea8d5fSIngo Weinhold void TestUninitialized(); 35*a0ea8d5fSIngo Weinhold void TestInitialized(SMTester &tester); 36*a0ea8d5fSIngo Weinhold 37014ff001SIngo Weinhold void SendMessageTest1(); 38014ff001SIngo Weinhold 39014ff001SIngo Weinhold static Test* Suite(); 40014ff001SIngo Weinhold 41014ff001SIngo Weinhold private: 42014ff001SIngo Weinhold BHandler *fHandler; 43014ff001SIngo Weinhold BLooper *fLooper; 44014ff001SIngo Weinhold }; 45014ff001SIngo Weinhold 46014ff001SIngo Weinhold #endif // SEND_MESSAGE_TESTER_H 47014ff001SIngo Weinhold 48