52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
44 lines
917 B
C++
44 lines
917 B
C++
// DirectoryTest.h
|
|
|
|
#ifndef __sk_directory_test_h__
|
|
#define __sk_directory_test_h__
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
#include <cppunit/TestCaller.h>
|
|
#include <cppunit/TestSuite.h>
|
|
|
|
#include "NodeTest.h"
|
|
|
|
class DirectoryTest : public NodeTest
|
|
{
|
|
public:
|
|
static Test* Suite();
|
|
|
|
virtual void CreateRONodes(TestNodes& testEntries);
|
|
virtual void CreateRWNodes(TestNodes& testEntries);
|
|
virtual void CreateUninitializedNodes(TestNodes& testEntries);
|
|
|
|
// This function is called before *each* test added in Suite()
|
|
void setUp();
|
|
|
|
// This function is called after *each* test added in Suite()
|
|
void tearDown();
|
|
|
|
// test methods
|
|
|
|
void InitTest1();
|
|
void InitTest2();
|
|
void GetEntryTest();
|
|
void IsRootTest();
|
|
void FindEntryTest();
|
|
void ContainsTest();
|
|
void GetStatForTest();
|
|
void EntryIterationTest();
|
|
void EntryCreationTest();
|
|
void AssignmentTest();
|
|
void CreateDirectoryTest();
|
|
};
|
|
|
|
#endif // __sk_directory_test_h__
|