TestEntry
static TestEntry relBadLink2;
static TestEntry relBadLink3;
static TestEntry relBadLink4;
static TestEntry absVeryBadLink1;
static TestEntry absVeryBadLink2;
static TestEntry absVeryBadLink3;
static TestEntry absVeryBadLink4;
static TestEntry relVeryBadLink1;
static TestEntry relVeryBadLink2;
static TestEntry relVeryBadLink3;
static TestEntry relVeryBadLink4;
static TestEntry tooLongEntry1;
static TestEntry tooLongDir1;
static TestEntry tooLongDir2;
static TestEntry tooLongDir3;
static TestEntry tooLongDir4;
static TestEntry tooLongDir5;
static TestEntry tooLongDir6;
static TestEntry tooLongDir7;
static TestEntry tooLongDir8;
static TestEntry tooLongDir9;
static TestEntry tooLongDir10;
static TestEntry tooLongDir11;
static TestEntry tooLongDir12;
static TestEntry tooLongDir13;
static TestEntry tooLongDir14;
static TestEntry tooLongDir15;
static TestEntry tooLongDir16;
static TestEntry *resolve_link(TestEntry *entry);
static string get_shortest_relative_path(TestEntry *dir, TestEntry *entry);
EntryTest::RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry,
EntryTest::RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry,
EntryTest::RenameTestFile(TestEntry *testEntry, TestEntry *newTestEntry,
EntryTest::RenameTestDir(TestEntry *testEntry, TestEntry *newTestEntry,
EntryTest::RenameTestLink(TestEntry *testEntry, TestEntry *newTestEntry,
EntryTest::MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir,
EntryTest::MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing,
EntryTest::MoveToTestFile(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
EntryTest::MoveToTestDir(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
EntryTest::MoveToTestLink(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
const TestEntry *testEntry, const TestEntry *testEntry2,
TestEntry *testEntries[] = {
int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*);
TestEntry *testEntry = testEntries[i];
TestEntry *traversedTestEntry = resolve_link(testEntry);
TestEntry *testEntry2 = testEntries[k];
TestEntry *traversedTestEntry2 = resolve_link(testEntry2);
TestEntry *testEntries[] = {
int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*);
TestEntry *testEntry = testEntries[i];
TestEntry *testEntry = testEntries[i];
TestEntry *testEntries[] = {
int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*);
TestEntry *testEntry = testEntries[i];
TestEntry *testEntry2 = testEntries[k];
for (list<TestEntry*>::iterator it = allTestEntries.begin();
for (list<TestEntry*>::iterator it = allTestEntries.begin();
for (list<TestEntry*>::iterator it = allTestEntries.begin();
TestEntry *entry = *it;
TestEntry *testEntries[] = {
TestEntry::TestEntry()
TestEntry::init(TestEntry &super, string name, test_entry_kind kind,
TestEntry::initDir(TestEntry &super, string name)
TestEntry::initFile(TestEntry &super, string name)
TestEntry::initRLink(TestEntry &super, string name, TestEntry &target)
TestEntry::initALink(TestEntry &super, string name, TestEntry &target)
TestEntry::initPath(const char *pathName)
TestEntry::completeInit()
TestEntry::get_ref()
int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*);
get_shortest_relative_path(TestEntry *dir, TestEntry *entry)
map<TestEntry*, int> superDirs;
for (TestEntry *superDir = dir;
TestEntry *commonSuperDir = &badTestEntry;
for (TestEntry *superDir = entry;
TestEntry *testEntry = testEntries[i];
for (TestEntry *superDir = entry;
TestEntry *
resolve_link(TestEntry *entry)
set<TestEntry*> followedLinks;
examine_entry(BEntry &entry, TestEntry *testEntry, bool traverse)
TestEntry();
EntryTest::InitTest1Paths(TestEntry &_testEntry, status_t error, bool traverse)
TestEntry *testEntry = &_testEntry;
void init(TestEntry &super, string name, test_entry_kind kind,
EntryTest::InitTest1Refs(TestEntry &_testEntry, status_t error, bool traverse)
void initDir(TestEntry &super, string name);
TestEntry *testEntry = &_testEntry;
void initFile(TestEntry &super, string name);
EntryTest::InitTest1DirPaths(TestEntry &_testEntry, status_t error,
void initRLink(TestEntry &super, string name, TestEntry &target);
TestEntry *testEntry = &_testEntry;
void initALink(TestEntry &super, string name, TestEntry &target);
TestEntry * super;
TestEntry * target;
static list<TestEntry*> allTestEntries;
static TestEntry badTestEntry;
static TestEntry testDir;
static TestEntry dir1;
static TestEntry dir2;
static TestEntry file1;
static TestEntry file2;
static TestEntry file3;
static TestEntry file4;
static TestEntry subDir1;
static TestEntry abstractEntry1;
static TestEntry badEntry1;
static TestEntry absDirLink1;
static TestEntry absDirLink2;
static TestEntry absDirLink3;
static TestEntry absDirLink4;
static TestEntry relDirLink1;
static TestEntry relDirLink2;
static TestEntry relDirLink3;
EntryTest::InitTest2Paths(TestEntry &_testEntry, status_t error, bool traverse)
TestEntry *testEntry = &_testEntry;
static TestEntry relDirLink4;
static TestEntry absFileLink1;
static TestEntry absFileLink2;
EntryTest::InitTest2Refs(TestEntry &_testEntry, status_t error, bool traverse)
static TestEntry absFileLink3;
TestEntry *testEntry = &_testEntry;
static TestEntry absFileLink4;
EntryTest::InitTest2DirPaths(TestEntry &_testEntry, status_t error,
static TestEntry relFileLink1;
TestEntry *testEntry = &_testEntry;
static TestEntry relFileLink2;
static TestEntry relFileLink3;
static TestEntry relFileLink4;
static TestEntry absCyclicLink1;
static TestEntry absCyclicLink2;
static TestEntry relCyclicLink1;
static TestEntry relCyclicLink2;
static TestEntry absBadLink1;
static TestEntry absBadLink2;
static TestEntry absBadLink3;
static TestEntry absBadLink4;
static TestEntry relBadLink1;
struct TestEntry;
void InitTest1Paths(TestEntry &testEntry, status_t error,
void InitTest1Refs(TestEntry &testEntry, status_t error,
void InitTest1DirPaths(TestEntry &testEntry, status_t error,
void InitTest2Paths(TestEntry &testEntry, status_t error,
void InitTest2Refs(TestEntry &testEntry, status_t error,
void InitTest2DirPaths(TestEntry &testEntry, status_t error,
void RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry,
void RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry,
void RenameTestFile(TestEntry *testEntry, TestEntry *newTestEntry,
void RenameTestDir(TestEntry *testEntry, TestEntry *newTestEntry,
void RenameTestLink(TestEntry *testEntry, TestEntry *newTestEntry,
void MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir,
void MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
void MoveToTestFile(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
void MoveToTestDir(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,
void MoveToTestLink(TestEntry *testEntry, TestEntry *testDir,
TestEntry *newTestEntry, bool existing, bool clobber,