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

/gem5/ext/googletest/googletest/test/
H A Dgtest-filepath_test.cc641 TEST(FilePathTest, IsRootDirectory) {
643 EXPECT_TRUE(FilePath("a:\\").IsRootDirectory());
644 EXPECT_TRUE(FilePath("Z:/").IsRootDirectory());
645 EXPECT_TRUE(FilePath("e://").IsRootDirectory());
646 EXPECT_FALSE(FilePath("").IsRootDirectory());
647 EXPECT_FALSE(FilePath("b:").IsRootDirectory());
648 EXPECT_FALSE(FilePath("b:a").IsRootDirectory());
649 EXPECT_FALSE(FilePath("8:/").IsRootDirectory());
650 EXPECT_FALSE(FilePath("c|/").IsRootDirectory());
652 EXPECT_TRUE(FilePath("/").IsRootDirectory());
[all...]
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h167 bool IsRootDirectory() const;
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc228 const FilePath& path(IsRootDirectory() ? *this :
253 bool FilePath::IsRootDirectory() const { function in class:testing::internal::FilePath

Completed in 9 milliseconds