xref: /haiku/src/tests/kits/support/barchivable/InstantiateObjectTester.h (revision 1d9d47fc72028bb71b5f232a877231e59cfe2438)
1 //------------------------------------------------------------------------------
2 //	InstantiateObjectTester.h
3 //
4 //------------------------------------------------------------------------------
5 
6 #ifndef INSTANTIATEOBJECTTESTER_H
7 #define INSTANTIATEOBJECTTESTER_H
8 
9 // Standard Includes -----------------------------------------------------------
10 
11 // System Includes -------------------------------------------------------------
12 
13 // Project Includes ------------------------------------------------------------
14 
15 // Local Includes --------------------------------------------------------------
16 #include "LocalCommon.h"
17 
18 // Local Defines ---------------------------------------------------------------
19 
20 // Globals ---------------------------------------------------------------------
21 
22 //------------------------------------------------------------------------------
23 class TInstantiateObjectTester : public BTestCase
24 {
25 	public:
26 		TInstantiateObjectTester(std::string name = "");
27 
28 		void Case1();
29 		void Case2();
30 		void Case3();
31 		void Case4();
32 		void Case5();
33 		void Case6();
34 		void Case7();
35 		void Case8();
36 		void Case9();
37 		void Case10();
38 		void Case11();
39 		void Case12();
40 		void Case13();
41 		void Case14();
42 
43 		void RunTests();
44 
45 		static CppUnit::Test* Suite();
46 
47 	private:
48 		void		LoadAddon();
49 		void		UnloadAddon();
50 		std::string	GetLocalSignature();
51 
52 		image_id	fAddonId;
53 };
54 //------------------------------------------------------------------------------
55 
56 #endif	//INSTANTIATEOBJECTTESTER_H
57 
58 /*
59  * $Log $
60  *
61  * $Id  $
62  *
63  */
64 
65 
66