Home
last modified time | relevance | path

Searched refs:expected_text (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc120 void ExpectErrorText(const string& expected_text);
131 void ExpectCapturedStdout(const string& expected_text);
359 void CommandLineInterfaceTest::ExpectErrorText(const string& expected_text) { in ExpectErrorText() argument
361 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in ExpectErrorText()
444 const string& expected_text) { in ExpectCapturedStdout() argument
445 EXPECT_EQ(expected_text, captured_stdout_); in ExpectCapturedStdout()
1577 void ExpectStdoutMatchesText(const string& expected_text) { in ExpectStdoutMatchesText() argument
1578 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stdout_)); in ExpectStdoutMatchesText()
1581 void ExpectStderrMatchesText(const string& expected_text) { in ExpectStderrMatchesText() argument
1582 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stderr_)); in ExpectStderrMatchesText()
/external/autotest/client/common_lib/
Dlogging_manager_test.py198 def _compare_logs(self, log_buffer, expected_text): argument
200 expected_lines = expected_text.splitlines()