1 //------------------------------------------------------------------------------ 2 // GetRunningTester.h 3 // 4 //------------------------------------------------------------------------------ 5 6 #ifndef GET_RECENT_TESTER_H 7 #define GET_RECENT_TESTER_H 8 9 // Standard Includes ----------------------------------------------------------- 10 11 // System Includes ------------------------------------------------------------- 12 13 // Project Includes ------------------------------------------------------------ 14 #include <TestCase.h> 15 16 // Local Includes -------------------------------------------------------------- 17 #include "../common.h" 18 19 // Local Defines --------------------------------------------------------------- 20 21 // Globals --------------------------------------------------------------------- 22 23 class GetRecentTester : public BTestCase 24 { 25 public: 26 GetRecentTester() {;} 27 GetRecentTester(std::string name) : BTestCase(name) {;} 28 29 //----------------------------- 30 // GetRecentApps() 31 //----------------------------- 32 33 // NULL refList, variable maxCount 34 void GetRecentAppsTestA1(); 35 void GetRecentAppsTestA2(); 36 void GetRecentAppsTestA3(); 37 38 // Valid refList, variable maxCount 39 void GetRecentAppsTestB1(); 40 void GetRecentAppsTestB2(); 41 void GetRecentAppsTestB3(); 42 43 // BEOS:APP_FLAGS tests 44 void GetRecentAppsTestC1(); 45 void GetRecentAppsTestC2(); 46 void GetRecentAppsTestC3(); 47 48 //----------------------------- 49 // GetRecentDocs() 50 //----------------------------- 51 52 // Invalid params 53 void GetRecentDocumentsTest1(); 54 void GetRecentDocumentsTest2(); 55 void GetRecentDocumentsTest3(); 56 57 // Normal function 58 void GetRecentDocumentsTest4(); 59 60 // Repititon filter tests 61 void GetRecentDocumentsTest5(); 62 63 //----------------------------- 64 // GetRecentFolders() 65 //----------------------------- 66 67 // Invalid params 68 void GetRecentFoldersTest1(); 69 void GetRecentFoldersTest2(); 70 void GetRecentFoldersTest3(); 71 72 // Normal function 73 void GetRecentFoldersTest4(); 74 75 // Repititon filter tests 76 void GetRecentFoldersTest5(); 77 78 //----------------------------- 79 // Load/Save/Clear 80 //----------------------------- 81 void RecentListsLoadSaveClearTest(); 82 83 //----------------------------- 84 // misc 85 //----------------------------- 86 87 // called for *each* test 88 virtual void setUp(); 89 virtual void tearDown(); 90 91 static Test* Suite(); 92 }; 93 94 #endif // GET_RECENT_TESTER_H 95 96