1 // VolumeTest.h 2 3 #ifndef VOLUME_TEST_H 4 #define VOLUME_TEST_H 5 6 #include "BasicTest.h" 7 8 #include <StorageDefs.h> 9 #include <SupportDefs.h> 10 11 class BTestApp; 12 class BBitmap; 13 class CppUnit::Test; 14 class TestHandler; 15 16 class VolumeTest : public BasicTest 17 { 18 public: 19 static CppUnit::Test* Suite(); 20 21 // This function called before *each* test added in Suite() 22 void setUp(); 23 24 // This function called after *each* test added in Suite() 25 void tearDown(); 26 27 //------------------------------------------------------------ 28 // Test functions 29 //------------------------------------------------------------ 30 void InitTest1(); 31 void InitTest2(); 32 void AssignmentTest(); 33 void ComparissonTest(); 34 void SetNameTest(); 35 void BadValuesTest(); 36 37 void IterationTest(); 38 void WatchingTest(); 39 40 41 private: 42 BTestApp *fApplication; 43 }; 44 45 #endif // VOLUME_TEST_H 46