Lines Matching refs:string
81 EXPECT_EQ(GetAbsolutePathOf(FilePath("test_detail.xml")).string(),
87 EXPECT_EQ(GetAbsolutePathOf(FilePath("filename.abc")).string(),
93 const std::string expected_output_file =
95 FilePath(std::string("path") + GTEST_PATH_SEP_ +
96 GetCurrentExecutableName().string() + ".xml")).string();
97 const std::string& output_file =
107 const std::string exe_str = GetCurrentExecutableName().string();
133 EXPECT_NE(original_working_dir_.string(),
134 FilePath::GetCurrentDir().string());
138 posix::ChDir(original_working_dir_.string().c_str());
147 FilePath("test_detail.xml")).string(),
154 FilePath("test_detail.xml")).string(),
161 FilePath("filename.abc")).string(),
167 const std::string expected_output_file =
170 FilePath(std::string("path") + GTEST_PATH_SEP_ +
171 GetCurrentExecutableName().string() + ".xml")).string();
172 const std::string& output_file =
184 EXPECT_EQ(FilePath("c:\\tmp\\filename.abc").string(),
188 EXPECT_EQ(FilePath("/tmp/filename.abc").string(),
195 const std::string path = "c:\\tmp\\";
197 const std::string path = "/tmp/";
201 const std::string expected_output_file =
202 path + GetCurrentExecutableName().string() + ".xml";
203 const std::string& output_file =