Searched refs:IsRootDirectory (Results 1 – 3 of 3) sorted by relevance
630 TEST(FilePathTest, IsRootDirectory) { in TEST() argument632 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()633 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()634 EXPECT_TRUE(FilePath("e://").IsRootDirectory()); in TEST()635 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()636 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()641 EXPECT_TRUE(FilePath("/").IsRootDirectory()); in TEST()642 EXPECT_TRUE(FilePath("//").IsRootDirectory()); in TEST()643 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()644 EXPECT_FALSE(FilePath("\\").IsRootDirectory()); in TEST()[all …]
226 const FilePath& path(IsRootDirectory() ? *this : in DirectoryExists()251 bool FilePath::IsRootDirectory() const { in IsRootDirectory() function in testing::internal::FilePath
170 bool IsRootDirectory() const;