• Home
  • Raw
  • Download

Lines Matching refs:test_name

83     const string& test_name, const string& input)  in ConformanceRequestSetting()  argument
89 test_name_(test_name) { in ConformanceRequestSetting()
178 void ConformanceTestSuite::ReportSuccess(const string& test_name) { in ReportSuccess() argument
179 if (expected_to_fail_.erase(test_name) != 0) { in ReportSuccess()
183 test_name.c_str()); in ReportSuccess()
184 unexpected_succeeding_tests_.insert(test_name); in ReportSuccess()
189 void ConformanceTestSuite::ReportFailure(const string& test_name, in ReportFailure() argument
194 if (expected_to_fail_.erase(test_name) == 1) { in ReportFailure()
199 StringAppendF(&output_, "WARNING, test=%s: ", test_name.c_str()); in ReportFailure()
201 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure()
202 unexpected_failing_tests_.insert(test_name); in ReportFailure()
213 void ConformanceTestSuite::ReportSkip(const string& test_name, in ReportSkip() argument
218 test_name.c_str(), request.ShortDebugString().c_str(), in ReportSkip()
221 skipped_.insert(test_name); in ReportSkip()
252 const string& test_name = setting.GetTestName(); in VerifyResponse() local
257 << "Failed to parse wire data for test case: " << test_name; in VerifyResponse()
261 ReportFailure(test_name, level, request, response, in VerifyResponse()
268 ReportFailure(test_name, level, request, response, in VerifyResponse()
273 ReportSkip(test_name, request, response); in VerifyResponse()
301 ReportSuccess(test_name); in VerifyResponse()
304 ReportFailure(test_name, level, request, response, in VerifyResponse()
310 void ConformanceTestSuite::RunTest(const string& test_name, in RunTest() argument
313 if (test_names_.insert(test_name).second == false) { in RunTest()
314 GOOGLE_LOG(FATAL) << "Duplicated test name: " << test_name; in RunTest()
321 runner_->RunTest(test_name, serialized_request, &serialized_response); in RunTest()
331 test_name.c_str(), in RunTest()
388 void ConformanceTestSuite::AddExpectedFailedTest(const std::string& test_name) { in AddExpectedFailedTest() argument
389 expected_to_fail_.insert(test_name); in AddExpectedFailedTest()