diff options
Diffstat (limited to 'logd/LogBufferTest.h')
-rw-r--r-- | logd/LogBufferTest.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logd/LogBufferTest.h b/logd/LogBufferTest.h index f91a1b544..235f5ac2b 100644 --- a/logd/LogBufferTest.h +++ b/logd/LogBufferTest.h @@ -26,6 +26,7 @@ #include "LogStatistics.h" #include "LogTags.h" #include "LogWhiteBlackList.h" +#include "SerializedLogBuffer.h" #include "SimpleLogBuffer.h" struct LogMessage { @@ -67,6 +68,8 @@ class LogBufferTest : public testing::TestWithParam<std::string> { void SetUp() override { if (GetParam() == "chatty") { log_buffer_.reset(new ChattyLogBuffer(&reader_list_, &tags_, &prune_, &stats_)); + } else if (GetParam() == "serialized") { + log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, &stats_)); } else if (GetParam() == "simple") { log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); } else { |