Home | History | Annotate | Download | only in Basic

Lines Matching defs:dir

83   const DirectoryEntry *dir = file->getDir();
84 ASSERT_TRUE(dir != nullptr);
85 EXPECT_STREQ(".", dir->getName());
90 dir = file->getDir();
91 ASSERT_TRUE(dir != nullptr);
92 EXPECT_STREQ("x/y", dir->getName());
103 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/foo"));
104 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir"));
113 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
114 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/foo"));
116 const DirectoryEntry *dir = manager.getDirectory("virtual/dir");
117 ASSERT_TRUE(dir != nullptr);
118 EXPECT_STREQ("virtual/dir", dir->getName());
120 dir = manager.getDirectory("virtual");
121 ASSERT_TRUE(dir != nullptr);
122 EXPECT_STREQ("virtual", dir->getName());
145 const DirectoryEntry *dir = file->getDir();
146 ASSERT_TRUE(dir != nullptr);
147 EXPECT_STREQ("/tmp", dir->getName());
153 dir = file->getDir();
154 ASSERT_TRUE(dir != NULL);
155 EXPECT_STREQ(DirName, dir->getName());
164 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
165 const FileEntry *file = manager.getFile("virtual/dir/bar.h");
167 EXPECT_STREQ("virtual/dir/bar.h", file->getName());
169 const DirectoryEntry *dir = file->getDir();
170 ASSERT_TRUE(dir != nullptr);
171 EXPECT_STREQ("virtual/dir", dir->getName());