1 // DirectoryTest.h 2 3 #ifndef __sk_directory_test_h__ 4 #define __sk_directory_test_h__ 5 6 #include <SupportDefs.h> 7 8 #include <cppunit/TestCaller.h> 9 #include <cppunit/TestSuite.h> 10 11 #include "NodeTest.h" 12 13 class DirectoryTest : public NodeTest 14 { 15 public: 16 static Test* Suite(); 17 18 virtual void CreateRONodes(TestNodes& testEntries); 19 virtual void CreateRWNodes(TestNodes& testEntries); 20 virtual void CreateUninitializedNodes(TestNodes& testEntries); 21 22 // This function is called before *each* test added in Suite() 23 void setUp(); 24 25 // This function is called after *each* test added in Suite() 26 void tearDown(); 27 28 // test methods 29 30 void InitTest1(); 31 void InitTest2(); 32 void GetEntryTest(); 33 void IsRootTest(); 34 void FindEntryTest(); 35 void ContainsTest(); 36 void GetStatForTest(); 37 void EntryIterationTest(); 38 void EntryCreationTest(); 39 void AssignmentTest(); 40 void CreateDirectoryTest(); 41 }; 42 43 #endif // __sk_directory_test_h__ 44