Home
last modified time | relevance | path

Searched refs:expected_substring (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc144 void ExpectErrorSubstring(const std::string& expected_substring);
152 const std::string& expected_substring);
157 bool HasAlternateErrorSubstring(const std::string& expected_substring);
405 const std::string& expected_substring) { in ExpectErrorSubstring() argument
407 EXPECT_PRED_FORMAT2(testing::IsSubstring, expected_substring, error_text_); in ExpectErrorSubstring()
412 const std::string& expected_substring) { in HasAlternateErrorSubstring() argument
414 return error_text_.find(expected_substring) != std::string::npos; in HasAlternateErrorSubstring()
489 const std::string& expected_substring) { in ExpectCapturedStdoutSubstringWithZeroReturnCode() argument
491 EXPECT_PRED_FORMAT2(testing::IsSubstring, expected_substring, in ExpectCapturedStdoutSubstringWithZeroReturnCode()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtransformer_test.py379 expected_substring = 'I blew up'
380 self.assertTrue(expected_substring in obtained_message, obtained_message)
/external/pdfium/fpdfsdk/
Dfpdf_text_embeddertest.cpp1032 static const char expected_substring[] = "Goodbye, world!"; in TEST_F() local
1040 EXPECT_EQ(sizeof(expected_substring), static_cast<size_t>(num_chars)); in TEST_F()
1041 EXPECT_TRUE(check_unsigned_shorts(expected_substring, buffer, in TEST_F()
1042 sizeof(expected_substring))); in TEST_F()
/external/google-breakpad/src/testing/test/
Dgmock-spec-builders_test.cc1962 const string& expected_substring, in VerifyOutput() argument
1965 EXPECT_THAT(output.c_str(), HasSubstr(expected_substring)); in VerifyOutput()
/external/googletest/googlemock/test/
Dgmock-spec-builders_test.cc2126 const std::string& expected_substring, in VerifyOutput() argument
2129 EXPECT_THAT(output.c_str(), HasSubstr(expected_substring)); in VerifyOutput()