xref: /haiku/src/tests/kits/storage/AppFileInfoTest.h (revision 5d9e40fe9252c8f9c5e5e41594545bfa4419fcc7)
1 // AppFileInfoTest.h
2 
3 #ifndef APP_FILE_INFO_TEST_H
4 #define APP_FILE_INFO_TEST_H
5 
6 #include <StorageDefs.h>
7 #include <SupportDefs.h>
8 #include <BasicTest.h>
9 
10 class BApplication;
11 class BBitmap;
12 class CppUnit::Test;
13 
14 class AppFileInfoTest : public BasicTest
15 {
16 public:
17 	static CppUnit::Test* Suite();
18 
19 	// This function called before *each* test added in Suite()
20 	void setUp();
21 
22 	// This function called after *each* test added in Suite()
23 	void tearDown();
24 
25 	//------------------------------------------------------------
26 	// Test functions
27 	//------------------------------------------------------------
28 	void InitTest1();
29 	void InitTest2();
30 	void TypeTest();
31 	void SignatureTest();
32 	void AppFlagsTest();
33 	void SupportedTypesTest();
34 	void IconTest();
35 	void VersionInfoTest();
36 	void IconForTypeTest();
37 	void InfoLocationTest();
38 
39 private:
40 	BApplication	*fApplication;
41 	BBitmap			*fIconM1;
42 	BBitmap			*fIconM2;
43 	BBitmap			*fIconM3;
44 	BBitmap			*fIconM4;
45 	BBitmap			*fIconL1;
46 	BBitmap			*fIconL2;
47 	BBitmap			*fIconL3;
48 	BBitmap			*fIconL4;
49 };
50 
51 #endif	// APP_FILE_INFO_TEST_H
52