xref: /haiku/src/tests/kits/support/barchivable/InstantiateObjectTester.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 #ifndef INSTANTIATE_OBJECT_TESTER_H
2 #define INSTANTIATE_OBJECT_TESTER_H
3 
4 
5 #include "LocalCommon.h"
6 
7 
8 class TInstantiateObjectTester : public BTestCase {
9 public:
10 								TInstantiateObjectTester(
11 									std::string name = "");
12 
13 			void				Case1();
14 			void				Case2();
15 			void				Case3();
16 			void				Case4();
17 			void				Case5();
18 			void				Case6();
19 			void				Case7();
20 			void				Case8();
21 			void				Case9();
22 			void				Case10();
23 			void				Case11();
24 			void				Case12();
25 			void				Case13();
26 			void				Case14();
27 
28 			void				RunTests();
29 
30 	static	CppUnit::Test*		Suite();
31 
32 private:
33 			void				LoadAddon();
34 			void				UnloadAddon();
35 			std::string			GetLocalSignature();
36 
37 private:
38 			image_id			fAddonId;
39 };
40 
41 
42 #endif	// INSTANTIATE_OBJECT_TESTER_H
43