Lines Matching refs:FilePath
63 FilePath GetAbsolutePathOf(const FilePath& relative_path) {
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(),
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(),
98 FilePath("path\\gtest-options_test.xml")).c_str()) == 0 ||
101 FilePath("path\\gtest-options-ex_test.xml")).c_str()) == 0 ||
104 FilePath("path\\gtest_all_test.xml")).c_str()) == 0)
116 FilePath("path/gtest-options_test.xml")).c_str() ||
119 FilePath("path/lt-gtest-options_test.xml")).c_str() ||
122 FilePath("path/gtest_all_test.xml")).c_str() ||
125 FilePath("path/lt-gtest_all_test.xml")).c_str())
131 const FilePath executable = GetCurrentExecutableName();
152 original_working_dir_ = FilePath::GetCurrentDir();
156 FilePath::GetCurrentDir().c_str());
163 FilePath original_working_dir_;
168 EXPECT_STREQ(FilePath::ConcatPaths(original_working_dir_,
169 FilePath("test_detail.xml")).c_str(),
175 EXPECT_STREQ(FilePath::ConcatPaths(original_working_dir_,
176 FilePath("test_detail.xml")).c_str(),
182 EXPECT_STREQ(FilePath::ConcatPaths(original_working_dir_,
183 FilePath("filename.abc")).c_str(),
193 FilePath::ConcatPaths(
195 FilePath("path\\gtest-options_test.xml")).c_str()) == 0 ||
197 FilePath::ConcatPaths(
199 FilePath("path\\gtest-options-ex_test.xml")).c_str()) == 0 ||
201 FilePath::ConcatPaths(
203 FilePath("path\\gtest_all_test.xml")).c_str()) == 0)
213 EXPECT_TRUE(output_file == FilePath::ConcatPaths(original_working_dir_,
214 FilePath("path/gtest-options_test.xml")).c_str() ||
215 output_file == FilePath::ConcatPaths(original_working_dir_,
216 FilePath("path/lt-gtest-options_test.xml")).c_str() ||
217 output_file == FilePath::ConcatPaths(original_working_dir_,
218 FilePath("path/gtest_all_test.xml")).c_str() ||
219 output_file == FilePath::ConcatPaths(original_working_dir_,
220 FilePath("path/lt-gtest_all_test.xml")).c_str())
228 EXPECT_STREQ(FilePath("c:\\tmp\\filename.abc").c_str(),
232 EXPECT_STREQ(FilePath("/tmp/filename.abc").c_str(),
243 FilePath("c:\\tmp\\gtest-options_test.xml").c_str()) == 0 ||
245 FilePath("c:\\tmp\\gtest-options-ex_test.xml").c_str()) == 0 ||
247 FilePath("c:\\tmp\\gtest_all_test.xml").c_str()) == 0)