Home | History | Annotate | Download | only in Basic

Lines Matching full:manager

67   FileManagerTest() : manager(options) {
71 FileManager manager;
77 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0);
84 file = manager.getVirtualFile("x/y/z.cpp", 42, 0);
98 manager.addStatCache(new FakeStatCache);
100 EXPECT_EQ(NULL, manager.getDirectory("virtual/dir/foo"));
101 EXPECT_EQ(NULL, manager.getDirectory("virtual/dir"));
102 EXPECT_EQ(NULL, manager.getDirectory("virtual"));
108 manager.addStatCache(new FakeStatCache);
110 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
111 EXPECT_EQ(NULL, manager.getDirectory("virtual/dir/foo"));
113 const DirectoryEntry *dir = manager.getDirectory("virtual/dir");
117 dir = manager.getDirectory("virtual");
128 manager.addStatCache(statCache);
130 const FileEntry *file = manager.getFile("/tmp/test");
142 manager.addStatCache(new FakeStatCache);
144 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
145 const FileEntry *file = manager.getFile("virtual/dir/bar.h");
163 manager.addStatCache(statCache);
165 const FileEntry *fileFoo = manager.getFile("foo.cpp");
166 const FileEntry *fileBar = manager.getFile("bar.cpp");
179 manager.addStatCache(statCache);
182 manager.getVirtualFile("bar.cpp", 200, 0);
184 const FileEntry *file = manager.getFile("xyz.txt");
199 manager.addStatCache(statCache);
201 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp"));
212 manager.addStatCache(statCache);
214 manager.getVirtualFile("abc/foo.cpp", 100, 0);
215 manager.getVirtualFile("abc/bar.cpp", 200, 0);
217 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp"));