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