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.cpp137 static void GetLogStr(pid_t pid, std::string* log_str, log_id log = LOG_ID_MAIN) { in GetLogStr() argument
138 log_str->clear(); in GetLogStr()
166 *log_str += msg_str; in GetLogStr()
167 if (log_str->back() != '\n') { in GetLogStr()
168 *log_str += '\n'; in GetLogStr()
178 std::string log_str; in FindStrings() local
182 GetLogStr(pid, &log_str); in FindStrings()
185 if (log_str.find(str) == std::string::npos) { in FindStrings()
197 ASSERT_TRUE(found_all) << "Didn't find expected log output:\n" + log_str; in FindStrings()
461 std::string log_str; in TEST() local
[all …]