xref: /haiku/src/tests/kits/app/bmessenger/SendMessageTester.h (revision 014ff00176832bcf6458aca938cd2bf5bf6bd39a)
1*014ff001SIngo Weinhold //------------------------------------------------------------------------------
2*014ff001SIngo Weinhold //	SendMessageTester.h
3*014ff001SIngo Weinhold //
4*014ff001SIngo Weinhold //------------------------------------------------------------------------------
5*014ff001SIngo Weinhold 
6*014ff001SIngo Weinhold #ifndef SEND_MESSAGE_TESTER_H
7*014ff001SIngo Weinhold #define SEND_MESSAGE_TESTER_H
8*014ff001SIngo Weinhold 
9*014ff001SIngo Weinhold // Standard Includes -----------------------------------------------------------
10*014ff001SIngo Weinhold 
11*014ff001SIngo Weinhold // System Includes -------------------------------------------------------------
12*014ff001SIngo Weinhold 
13*014ff001SIngo Weinhold // Project Includes ------------------------------------------------------------
14*014ff001SIngo Weinhold #include <ThreadedTestCase.h>
15*014ff001SIngo Weinhold 
16*014ff001SIngo Weinhold // Local Includes --------------------------------------------------------------
17*014ff001SIngo Weinhold #include "../common.h"
18*014ff001SIngo Weinhold 
19*014ff001SIngo Weinhold // Local Defines ---------------------------------------------------------------
20*014ff001SIngo Weinhold 
21*014ff001SIngo Weinhold // Globals ---------------------------------------------------------------------
22*014ff001SIngo Weinhold 
23*014ff001SIngo Weinhold class BHandler;
24*014ff001SIngo Weinhold class BLooper;
25*014ff001SIngo Weinhold 
26*014ff001SIngo Weinhold class SendMessageTester : public BThreadedTestCase
27*014ff001SIngo Weinhold {
28*014ff001SIngo Weinhold public:
29*014ff001SIngo Weinhold 	SendMessageTester();
30*014ff001SIngo Weinhold 	SendMessageTester(std::string name);
31*014ff001SIngo Weinhold 	virtual ~SendMessageTester();
32*014ff001SIngo Weinhold 
33*014ff001SIngo Weinhold 	void SendMessageTest1();
34*014ff001SIngo Weinhold 
35*014ff001SIngo Weinhold 	static Test* Suite();
36*014ff001SIngo Weinhold 
37*014ff001SIngo Weinhold private:
38*014ff001SIngo Weinhold 	BHandler *fHandler;
39*014ff001SIngo Weinhold 	BLooper *fLooper;
40*014ff001SIngo Weinhold };
41*014ff001SIngo Weinhold 
42*014ff001SIngo Weinhold #endif	// SEND_MESSAGE_TESTER_H
43*014ff001SIngo Weinhold 
44