Home
last modified time | relevance | path

Searched refs:IsRootDirectory (Results 1 – 3 of 3) sorted by relevance

/freebsd-head/contrib/googletest/googletest/test/
HDgoogletest-filepath-test.cc640 TEST(FilePathTest, IsRootDirectory) { in TEST() argument
642 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()
643 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()
644 EXPECT_TRUE(FilePath("e://").IsRootDirectory()); in TEST()
645 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
646 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()
647 EXPECT_FALSE(FilePath("b:a").IsRootDirectory()); in TEST()
648 EXPECT_FALSE(FilePath("8:/").IsRootDirectory()); in TEST()
649 EXPECT_FALSE(FilePath("c|/").IsRootDirectory()); in TEST()
650 EXPECT_TRUE(FilePath("c:/").IsRootDirectory()); in TEST()
[all …]
/freebsd-head/contrib/googletest/googletest/src/
HDgtest-filepath.cc270 const FilePath& path(IsRootDirectory() ? *this in DirectoryExists()
295 bool FilePath::IsRootDirectory() const { in IsRootDirectory() function in testing::internal::FilePath
/freebsd-head/contrib/googletest/googletest/include/gtest/internal/
HDgtest-filepath.h180 bool IsRootDirectory() const;