Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-filepath_test.cc659 TEST(FilePathTest, IsRootDirectory) { in TEST() argument
661 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory()); in TEST()
662 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory()); in TEST()
663 EXPECT_TRUE(FilePath("e://").IsRootDirectory()); in TEST()
664 EXPECT_FALSE(FilePath("").IsRootDirectory()); in TEST()
665 EXPECT_FALSE(FilePath("b:").IsRootDirectory()); in TEST()
666 EXPECT_FALSE(FilePath("b:a").IsRootDirectory()); in TEST()
667 EXPECT_FALSE(FilePath("8:/").IsRootDirectory()); in TEST()
668 EXPECT_FALSE(FilePath("c|/").IsRootDirectory()); in TEST()
670 EXPECT_TRUE(FilePath("/").IsRootDirectory()); in TEST()
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h167 bool IsRootDirectory() const;
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-filepath.cc223 const FilePath& path(IsRootDirectory() ? *this : in DirectoryExists()
248 bool FilePath::IsRootDirectory() const { in IsRootDirectory() function in testing::internal::FilePath