Searched refs:CheckMessage (Results 1 – 2 of 2) sorted by relevance
/system/logging/liblog/tests/ |
D | liblog_host_test.cpp | 47 static void CheckMessage(bool expected, const std::string& output, int priority, const char* tag, in CheckMessage() function 82 CheckMessage(false, captured_stderr.str(), ANDROID_LOG_VERBOSE, "tag", "verbose main"); in TEST() 83 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_INFO, "tag", "info main"); in TEST() 84 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_ERROR, "tag", "error main"); in TEST() 86 CheckMessage(false, captured_stderr.str(), ANDROID_LOG_VERBOSE, "tag", "verbose radio"); in TEST() 87 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_INFO, "tag", "info radio"); in TEST() 88 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_ERROR, "tag", "error radio"); in TEST() 90 CheckMessage(false, captured_stderr.str(), ANDROID_LOG_VERBOSE, "tag", "verbose system"); in TEST() 91 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_INFO, "tag", "info system"); in TEST() 92 CheckMessage(true, captured_stderr.str(), ANDROID_LOG_ERROR, "tag", "error system"); in TEST() [all …]
|
/system/libbase/ |
D | logging_test.cpp | 225 static void CheckMessage(const std::string& output, android::base::LogSeverity severity, in CheckMessage() function 248 static void CheckMessage(CapturedStderr& cap, android::base::LogSeverity severity, in CheckMessage() function 252 return CheckMessage(output, severity, expected, expected_tag); in CheckMessage() 276 CheckMessage(cap2, android::base::severity, "foobar"); \ 282 CheckMessage(cap2, android::base::severity, "foobar"); \ 353 CheckMessage(cap2, android::base::severity, "foobar"); \ 359 CheckMessage(cap2, android::base::severity, "foobar"); \ 423 ASSERT_NO_FATAL_FAILURE(CheckMessage( \ in TEST() 447 ASSERT_NO_FATAL_FAILURE(CheckMessage(cap, android::base::INFO, "67890")); in TEST() 456 ASSERT_NO_FATAL_FAILURE(CheckMessage(cap, android::base::INFO, "67890")); in TEST() [all …]
|