1 // NodeInfoTest.h 2 3 #ifndef NODE_INFO_TEST_H 4 #define NODE_INFO_TEST_H 5 6 #include "BasicTest.h" 7 8 #include <StorageDefs.h> 9 #include <SupportDefs.h> 10 11 class BApplication; 12 class BBitmap; 13 class CppUnit::Test; 14 15 class NodeInfoTest : public BasicTest 16 { 17 public: 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 IconTest(); 33 void PreferredAppTest(); 34 void AppHintTest(); 35 void TrackerIconTest(); 36 37 private: 38 BApplication *fApplication; 39 BBitmap *fIconM1; 40 BBitmap *fIconM2; 41 BBitmap *fIconM3; 42 BBitmap *fIconM4; 43 BBitmap *fIconL1; 44 BBitmap *fIconL2; 45 BBitmap *fIconL3; 46 BBitmap *fIconL4; 47 }; 48 49 #endif // NODE_INFO_TEST_H 50