Lines Matching refs:test_name
66 const string& test_name, const string& input) in ConformanceRequestSetting() argument
72 test_name_(test_name) { in ConformanceRequestSetting()
163 void ConformanceTestSuite::ReportSuccess(const string& test_name) { in ReportSuccess() argument
164 if (expected_to_fail_.erase(test_name) != 0) { in ReportSuccess()
168 test_name.c_str()); in ReportSuccess()
169 unexpected_succeeding_tests_.insert(test_name); in ReportSuccess()
174 void ConformanceTestSuite::ReportFailure(const string& test_name, in ReportFailure() argument
179 if (expected_to_fail_.erase(test_name) == 1) { in ReportFailure()
184 StringAppendF(&output_, "WARNING, test=%s: ", test_name.c_str()); in ReportFailure()
186 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure()
187 unexpected_failing_tests_.insert(test_name); in ReportFailure()
198 void ConformanceTestSuite::ReportSkip(const string& test_name, in ReportSkip() argument
203 test_name.c_str(), request.ShortDebugString().c_str(), in ReportSkip()
206 skipped_.insert(test_name); in ReportSkip()
237 const string& test_name = setting.GetTestName(); in VerifyResponse() local
243 << "Failed to parse wire data for test case: " << test_name; in VerifyResponse()
247 ReportFailure(test_name, level, request, response, in VerifyResponse()
254 ReportFailure(test_name, level, request, response, in VerifyResponse()
259 ReportSkip(test_name, request, response); in VerifyResponse()
277 ReportSuccess(test_name); in VerifyResponse()
280 ReportFailure(test_name, level, request, response, in VerifyResponse()
286 void ConformanceTestSuite::RunTest(const string& test_name, in RunTest() argument
289 if (test_names_.insert(test_name).second == false) { in RunTest()
290 GOOGLE_LOG(FATAL) << "Duplicated test name: " << test_name; in RunTest()
297 runner_->RunTest(test_name, serialized_request, &serialized_response); in RunTest()
307 test_name.c_str(), in RunTest()
365 void ConformanceTestSuite::AddExpectedFailedTest(const std::string& test_name) { in AddExpectedFailedTest() argument
366 expected_to_fail_.insert(test_name); in AddExpectedFailedTest()