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