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 11class BTestApp; 12class BBitmap; 13class CppUnit::Test; 14class TestHandler; 15 16class VolumeTest : public BasicTest 17{ 18public: 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 41private: 42 BTestApp *fApplication; 43}; 44 45#endif // VOLUME_TEST_H 46