Lines Matching refs:IsRootDirectory
669 TEST(FilePathTest, IsRootDirectory) { in TEST() argument
671 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()
672 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()
673 EXPECT_TRUE(FilePath("e://").IsRootDirectory()); in TEST()
674 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
675 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()
676 EXPECT_FALSE(FilePath("b:a").IsRootDirectory()); in TEST()
677 EXPECT_FALSE(FilePath("8:/").IsRootDirectory()); in TEST()
678 EXPECT_FALSE(FilePath("c|/").IsRootDirectory()); in TEST()
680 EXPECT_TRUE(FilePath("/").IsRootDirectory()); in TEST()
681 EXPECT_TRUE(FilePath("//").IsRootDirectory()); in TEST()
682 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
683 EXPECT_FALSE(FilePath("\\").IsRootDirectory()); in TEST()
684 EXPECT_FALSE(FilePath("/x").IsRootDirectory()); in TEST()