Home
last modified time | relevance | path

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

/system/core/base/
Dlogging_test.cpp210 const char* expected, const char* expected_tag = nullptr) { in CheckMessage() argument
216 if (expected_tag != nullptr) { in CheckMessage()
217 ASSERT_NE(nullptr, strstr(output.c_str(), expected_tag)) << output; in CheckMessage()
222 if (expected_tag != nullptr) { in CheckMessage()
223 regex_str.append(expected_tag); in CheckMessage()
233 const char* expected, const char* expected_tag = nullptr) { in CheckMessage() argument
236 return CheckMessage(output, severity, expected, expected_tag); in CheckMessage()
623 constexpr const char* expected_tag = "test_tag"; in TEST() local
628 android::base::SetDefaultTag(expected_tag); in TEST()
634 CheckMessage(cap, android::base::LogSeverity::INFO, expected_msg, expected_tag)); in TEST()
/system/iorap/src/common/
Dexpected.h47 struct expected_tag{}; struct
48 struct expected_tag_right : public expected_tag {
51 struct expected_tag_error : public expected_tag {