diff options
author | Tom Cherry <tomcherry@google.com> | 2020-06-16 16:55:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-06-16 16:55:25 +0000 |
commit | 1e412e7d4e67dba0fc30591a0e00bb52bc5bb292 (patch) | |
tree | d695c4bd0bb962867ddec39c27cc20dcfa88f3d7 /logd/LogBufferTest.h | |
parent | be42841c61dc8914f89ef3d900955a3dd4e62388 (diff) | |
parent | 1a796bca57ef45d559e70dc05ad2df5cb77b8f64 (diff) |
Merge "logd: add a SerializedLogBuffer suitable for compression"
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 { |