Lines Matching refs:c_str
71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(),
82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(),
88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
96 GetCurrentExecutableName().c_str() + ".xml")).c_str();
99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
101 EXPECT_EQ(expected_output_file, output_file.c_str());
106 const std::string exe_str = GetCurrentExecutableName().c_str();
109 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 ||
110 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 ||
111 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 ||
112 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0;
132 EXPECT_STRNE(original_working_dir_.c_str(),
133 FilePath::GetCurrentDir().c_str());
137 posix::ChDir(original_working_dir_.c_str());
146 FilePath("test_detail.xml")).c_str(),
147 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
153 FilePath("test_detail.xml")).c_str(),
154 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
160 FilePath("filename.abc")).c_str(),
161 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
170 GetCurrentExecutableName().c_str() + ".xml")).c_str();
173 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
175 EXPECT_EQ(expected_output_file, output_file.c_str());
182 EXPECT_STREQ(FilePath("c:\\tmp\\filename.abc").c_str(),
183 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
186 EXPECT_STREQ(FilePath("/tmp/filename.abc").c_str(),
187 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
200 path + GetCurrentExecutableName().c_str() + ".xml";
204 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
206 EXPECT_EQ(expected_output_file, output_file.c_str());