Lines Matching defs:GTEST_PATH_SEP_
90 posix::ChDir(GTEST_PATH_SEP_);
99 EXPECT_STREQ(GTEST_PATH_SEP_, cwd_without_drive + 1);
103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string());
135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string());
141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string());
147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string());
153 FilePath("adir" GTEST_PATH_SEP_ "subdir" GTEST_PATH_SEP_ "afile")
189 EXPECT_EQ(GTEST_PATH_SEP_, FilePath("").RemoveFileName().string());
191 EXPECT_EQ("." GTEST_PATH_SEP_, FilePath("").RemoveFileName().string());
197 EXPECT_EQ("adir" GTEST_PATH_SEP_,
198 FilePath("adir" GTEST_PATH_SEP_).RemoveFileName().string());
203 EXPECT_EQ("adir" GTEST_PATH_SEP_,
204 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveFileName().string());
209 EXPECT_EQ("adir" GTEST_PATH_SEP_ "subdir" GTEST_PATH_SEP_,
210 FilePath("adir" GTEST_PATH_SEP_ "subdir" GTEST_PATH_SEP_ "afile")
216 EXPECT_EQ(GTEST_PATH_SEP_,
217 FilePath(GTEST_PATH_SEP_ "afile").RemoveFileName().string());
227 EXPECT_EQ("adir" GTEST_PATH_SEP_,
233 EXPECT_EQ("adir" GTEST_PATH_SEP_,
239 EXPECT_EQ("adir" GTEST_PATH_SEP_ "subdir" GTEST_PATH_SEP_,
245 EXPECT_EQ(GTEST_PATH_SEP_, FilePath("/afile").RemoveFileName().string());
253 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
259 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string());
263 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_),
265 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
269 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_),
271 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string());
289 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
293 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_),
295 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
306 EXPECT_EQ("foo" GTEST_PATH_SEP_, actual.string());
316 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"),
318 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar" GTEST_PATH_SEP_ "foobar.xml",
324 FilePath("foo" GTEST_PATH_SEP_),
325 FilePath("bar" GTEST_PATH_SEP_ "bar.xml"));
326 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar" GTEST_PATH_SEP_ "bar.xml",
332 FilePath("bar" GTEST_PATH_SEP_));
333 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar" GTEST_PATH_SEP_, actual.string());
349 FilePath("foo" GTEST_PATH_SEP_).RemoveTrailingPathSeparator().string());
357 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar",
358 FilePath("foo" GTEST_PATH_SEP_ "bar" GTEST_PATH_SEP_)
364 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar",
365 FilePath("foo" GTEST_PATH_SEP_ "bar")
423 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar",
424 FilePath("foo" GTEST_PATH_SEP_ "bar").string());
425 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar",
426 FilePath("foo" GTEST_PATH_SEP_ GTEST_PATH_SEP_ "bar").string());
427 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar",
428 FilePath("foo" GTEST_PATH_SEP_ GTEST_PATH_SEP_
429 GTEST_PATH_SEP_ "bar").string());
434 EXPECT_EQ(GTEST_PATH_SEP_ "bar",
435 FilePath(GTEST_PATH_SEP_ "bar").string());
436 EXPECT_EQ(GTEST_PATH_SEP_ "bar",
437 FilePath(GTEST_PATH_SEP_ GTEST_PATH_SEP_ "bar").string());
438 EXPECT_EQ(GTEST_PATH_SEP_ "bar",
439 FilePath(GTEST_PATH_SEP_ GTEST_PATH_SEP_ GTEST_PATH_SEP_ "bar").string());
444 EXPECT_EQ("foo" GTEST_PATH_SEP_,
445 FilePath("foo" GTEST_PATH_SEP_).string());
446 EXPECT_EQ("foo" GTEST_PATH_SEP_,
447 FilePath("foo" GTEST_PATH_SEP_ GTEST_PATH_SEP_).string());
448 EXPECT_EQ("foo" GTEST_PATH_SEP_,
449 FilePath("foo" GTEST_PATH_SEP_ GTEST_PATH_SEP_ GTEST_PATH_SEP_).string());
458 EXPECT_EQ("foo" GTEST_PATH_SEP_,
460 EXPECT_EQ("foo" GTEST_PATH_SEP_,
461 FilePath("foo" GTEST_PATH_SEP_ "/").string());
462 EXPECT_EQ("foo" GTEST_PATH_SEP_,
463 FilePath("foo//" GTEST_PATH_SEP_).string());
496 "_directory_creation" GTEST_PATH_SEP_ "test" GTEST_PATH_SEP_));
638 EXPECT_TRUE(FilePath("koala" GTEST_PATH_SEP_).IsDirectory());
645 EXPECT_FALSE(FilePath("is" GTEST_PATH_SEP_ "relative").IsAbsolutePath());
648 EXPECT_TRUE(FilePath("c:\\" GTEST_PATH_SEP_ "is_not"
649 GTEST_PATH_SEP_ "relative").IsAbsolutePath());
650 EXPECT_FALSE(FilePath("c:foo" GTEST_PATH_SEP_ "bar").IsAbsolutePath());
651 EXPECT_TRUE(FilePath("c:/" GTEST_PATH_SEP_ "is_not"
652 GTEST_PATH_SEP_ "relative").IsAbsolutePath());
654 EXPECT_TRUE(FilePath(GTEST_PATH_SEP_ "is_not" GTEST_PATH_SEP_ "relative")