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