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