1 // ResourcesTest.h 2 3 #ifndef __sk_resources_test_h__ 4 #define __sk_resources_test_h__ 5 6 #include <cppunit/TestCaller.h> 7 #include <cppunit/TestSuite.h> 8 9 #include <StorageDefs.h> 10 #include <SupportDefs.h> 11 12 #include "BasicTest.h" 13 14 class ResourcesTest : 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 InitTest(); 29 void ReadTest(); 30 void SyncTest(); 31 void MergeTest(); 32 void WriteToTest(); 33 void AddRemoveTest(); 34 void GetInfoTest(); 35 void ReadWriteTest(); 36 }; 37 38 39 #endif // __sk_resources_test_h__ 40 41 42 43 44