Searched refs:IsRootDirectory (Results 1 – 3 of 3) sorted by relevance
640 TEST(FilePathTest, IsRootDirectory) { in TEST() argument642 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()643 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()645 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()646 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()650 EXPECT_TRUE(FilePath("c:/").IsRootDirectory()); in TEST()661 EXPECT_TRUE(FilePath("/").IsRootDirectory()); in TEST()662 EXPECT_TRUE(FilePath("//").IsRootDirectory()); in TEST()663 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()664 EXPECT_FALSE(FilePath("\\").IsRootDirectory()); in TEST()[all …]
174 bool IsRootDirectory() const;
270 const FilePath& path(IsRootDirectory() ? *this in DirectoryExists()295 bool FilePath::IsRootDirectory() const { in IsRootDirectory() function in testing::internal::FilePath