Lines Matching refs:IsRootDirectory
675 TEST(FilePathTest, IsRootDirectory) { in TEST() argument
677 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()
678 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()
679 EXPECT_TRUE(FilePath("e://").IsRootDirectory()); in TEST()
680 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
681 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()
682 EXPECT_FALSE(FilePath("b:a").IsRootDirectory()); in TEST()
683 EXPECT_FALSE(FilePath("8:/").IsRootDirectory()); in TEST()
684 EXPECT_FALSE(FilePath("c|/").IsRootDirectory()); in TEST()
686 EXPECT_TRUE(FilePath("/").IsRootDirectory()); in TEST()
687 EXPECT_TRUE(FilePath("//").IsRootDirectory()); in TEST()
688 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
689 EXPECT_FALSE(FilePath("\\").IsRootDirectory()); in TEST()
690 EXPECT_FALSE(FilePath("/x").IsRootDirectory()); in TEST()