Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp157 static void GetLogStr(pid_t pid, std::string* log_str, log_id log = LOG_ID_MAIN) { in GetLogStr() argument
158 log_str->clear(); in GetLogStr()
186 *log_str += msg_str; in GetLogStr()
187 if (log_str->back() != '\n') { in GetLogStr()
188 *log_str += '\n'; in GetLogStr()
199 std::string log_str; local
203 GetLogStr(pid, &log_str);
207 if (log_str.find(str) == std::string::npos) {
215 …ASSERT_TRUE(log_str.find(str) == std::string::npos) << "Unexpectedly found '" << str << "' in log …
224 ASSERT_EQ("", missing_match) << "Didn't find expected log output:\n" << log_str;
[all …]