Lines Matching refs:TestEntry

32 struct TestEntry {  struct
33 TestEntry();
35 void init(TestEntry &super, string name, test_entry_kind kind,
37 void initDir(TestEntry &super, string name);
38 void initFile(TestEntry &super, string name);
39 void initRLink(TestEntry &super, string name, TestEntry &target);
40 void initALink(TestEntry &super, string name, TestEntry &target);
48 TestEntry * super; argument
52 TestEntry * target; argument
62 static list<TestEntry*> allTestEntries; argument
64 static TestEntry badTestEntry;
65 static TestEntry testDir;
66 static TestEntry dir1;
67 static TestEntry dir2;
68 static TestEntry file1;
69 static TestEntry file2;
70 static TestEntry file3;
71 static TestEntry file4;
72 static TestEntry subDir1;
73 static TestEntry abstractEntry1;
74 static TestEntry badEntry1;
75 static TestEntry absDirLink1;
76 static TestEntry absDirLink2;
77 static TestEntry absDirLink3;
78 static TestEntry absDirLink4;
79 static TestEntry relDirLink1;
80 static TestEntry relDirLink2;
81 static TestEntry relDirLink3;
82 static TestEntry relDirLink4;
83 static TestEntry absFileLink1;
84 static TestEntry absFileLink2;
85 static TestEntry absFileLink3;
86 static TestEntry absFileLink4;
87 static TestEntry relFileLink1;
88 static TestEntry relFileLink2;
89 static TestEntry relFileLink3;
90 static TestEntry relFileLink4;
91 static TestEntry absCyclicLink1;
92 static TestEntry absCyclicLink2;
93 static TestEntry relCyclicLink1;
94 static TestEntry relCyclicLink2;
95 static TestEntry absBadLink1;
96 static TestEntry absBadLink2;
97 static TestEntry absBadLink3;
98 static TestEntry absBadLink4;
99 static TestEntry relBadLink1;
100 static TestEntry relBadLink2;
101 static TestEntry relBadLink3;
102 static TestEntry relBadLink4;
103 static TestEntry absVeryBadLink1;
104 static TestEntry absVeryBadLink2;
105 static TestEntry absVeryBadLink3;
106 static TestEntry absVeryBadLink4;
107 static TestEntry relVeryBadLink1;
108 static TestEntry relVeryBadLink2;
109 static TestEntry relVeryBadLink3;
110 static TestEntry relVeryBadLink4;
111 static TestEntry tooLongEntry1;
112 static TestEntry tooLongDir1;
113 static TestEntry tooLongDir2;
114 static TestEntry tooLongDir3;
115 static TestEntry tooLongDir4;
116 static TestEntry tooLongDir5;
117 static TestEntry tooLongDir6;
118 static TestEntry tooLongDir7;
119 static TestEntry tooLongDir8;
120 static TestEntry tooLongDir9;
121 static TestEntry tooLongDir10;
122 static TestEntry tooLongDir11;
123 static TestEntry tooLongDir12;
124 static TestEntry tooLongDir13;
125 static TestEntry tooLongDir14;
126 static TestEntry tooLongDir15;
127 static TestEntry tooLongDir16;
133 static TestEntry *resolve_link(TestEntry *entry);
134 static string get_shortest_relative_path(TestEntry *dir, TestEntry *entry);
250 TestEntry *testEntries[] = { in CreateRWStatables()
261 int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*); in CreateRWStatables()
263 TestEntry *testEntry = testEntries[i]; in CreateRWStatables()
295 examine_entry(BEntry &entry, TestEntry *testEntry, bool traverse) in examine_entry()
334 EntryTest::InitTest1Paths(TestEntry &_testEntry, status_t error, bool traverse) in InitTest1Paths()
336 TestEntry *testEntry = &_testEntry; in InitTest1Paths()
368 EntryTest::InitTest1Refs(TestEntry &_testEntry, status_t error, bool traverse) in InitTest1Refs()
370 TestEntry *testEntry = &_testEntry; in InitTest1Refs()
387 EntryTest::InitTest1DirPaths(TestEntry &_testEntry, status_t error, in InitTest1DirPaths()
390 TestEntry *testEntry = &_testEntry; in InitTest1DirPaths()
814 EntryTest::InitTest2Paths(TestEntry &_testEntry, status_t error, bool traverse) in InitTest2Paths()
816 TestEntry *testEntry = &_testEntry; in InitTest2Paths()
849 EntryTest::InitTest2Refs(TestEntry &_testEntry, status_t error, bool traverse) in InitTest2Refs()
851 TestEntry *testEntry = &_testEntry; in InitTest2Refs()
869 EntryTest::InitTest2DirPaths(TestEntry &_testEntry, status_t error, in InitTest2DirPaths()
872 TestEntry *testEntry = &_testEntry; in InitTest2DirPaths()
1413 EntryTest::RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry, in RenameTestEntry()
1488 EntryTest::RenameTestEntry(TestEntry *testEntry, TestEntry *newTestEntry, in RenameTestEntry()
1506 EntryTest::RenameTestFile(TestEntry *testEntry, TestEntry *newTestEntry, in RenameTestFile()
1515 EntryTest::RenameTestDir(TestEntry *testEntry, TestEntry *newTestEntry, in RenameTestDir()
1524 EntryTest::RenameTestLink(TestEntry *testEntry, TestEntry *newTestEntry, in RenameTestLink()
1634 EntryTest::MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir, in MoveToTestEntry()
1727 EntryTest::MoveToTestEntry(TestEntry *testEntry, TestEntry *testDir, in MoveToTestEntry()
1728 TestEntry *newTestEntry, bool existing, in MoveToTestEntry()
1747 EntryTest::MoveToTestFile(TestEntry *testEntry, TestEntry *testDir, in MoveToTestFile()
1748 TestEntry *newTestEntry, bool existing, bool clobber, in MoveToTestFile()
1757 EntryTest::MoveToTestDir(TestEntry *testEntry, TestEntry *testDir, in MoveToTestDir()
1758 TestEntry *newTestEntry, bool existing, bool clobber, in MoveToTestDir()
1767 EntryTest::MoveToTestLink(TestEntry *testEntry, TestEntry *testDir, in MoveToTestLink()
1768 TestEntry *newTestEntry, bool existing, bool clobber, in MoveToTestLink()
1963 const TestEntry *testEntry, const TestEntry *testEntry2, in compareEntries()
2011 TestEntry *testEntries[] = { in ComparisonTest()
2022 int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*); in ComparisonTest()
2025 TestEntry *testEntry = testEntries[i]; in ComparisonTest()
2026 TestEntry *traversedTestEntry = resolve_link(testEntry); in ComparisonTest()
2030 TestEntry *testEntry2 = testEntries[k]; in ComparisonTest()
2031 TestEntry *traversedTestEntry2 = resolve_link(testEntry2); in ComparisonTest()
2062 TestEntry *testEntries[] = { in AssignmentTest()
2073 int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*); in AssignmentTest()
2076 TestEntry *testEntry = testEntries[i]; in AssignmentTest()
2110 TestEntry *testEntry = testEntries[i]; in AssignmentTest()
2161 TestEntry *testEntries[] = { in CFunctionsTest()
2172 int32 testEntryCount = sizeof(testEntries) / sizeof(TestEntry*); in CFunctionsTest()
2175 TestEntry *testEntry = testEntries[i]; in CFunctionsTest()
2191 TestEntry *testEntry2 = testEntries[k]; in CFunctionsTest()
2450 for (list<TestEntry*>::iterator it = allTestEntries.begin(); in init_entry_test()
2456 for (list<TestEntry*>::iterator it = allTestEntries.begin(); in init_entry_test()
2462 for (list<TestEntry*>::iterator it = allTestEntries.begin(); in init_entry_test()
2464 TestEntry *entry = *it; in init_entry_test()
2516 TestEntry::TestEntry() in TestEntry() function in TestEntry
2533 TestEntry::init(TestEntry &super, string name, test_entry_kind kind, in init()
2545 TestEntry::initDir(TestEntry &super, string name) in initDir()
2552 TestEntry::initFile(TestEntry &super, string name) in initFile()
2559 TestEntry::initRLink(TestEntry &super, string name, TestEntry &target) in initRLink()
2567 TestEntry::initALink(TestEntry &super, string name, TestEntry &target) in initALink()
2575 TestEntry::initPath(const char *pathName) in initPath()
2585 TestEntry::completeInit() in completeInit()
2602 TestEntry::get_ref() in get_ref()
2612 get_shortest_relative_path(TestEntry *dir, TestEntry *entry) in get_shortest_relative_path()
2616 map<TestEntry*, int> superDirs; in get_shortest_relative_path()
2618 for (TestEntry *superDir = dir; in get_shortest_relative_path()
2624 TestEntry *commonSuperDir = &badTestEntry; in get_shortest_relative_path()
2626 for (TestEntry *superDir = entry; in get_shortest_relative_path()
2641 for (TestEntry *superDir = entry; in get_shortest_relative_path()
2663 TestEntry *
2664 resolve_link(TestEntry *entry) in resolve_link()
2666 set<TestEntry*> followedLinks; in resolve_link()