summaryrefslogtreecommitdiff
path: root/logd/LogBufferTest.h
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-06-16 16:55:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-06-16 16:55:25 +0000
commit1e412e7d4e67dba0fc30591a0e00bb52bc5bb292 (patch)
treed695c4bd0bb962867ddec39c27cc20dcfa88f3d7 /logd/LogBufferTest.h
parentbe42841c61dc8914f89ef3d900955a3dd4e62388 (diff)
parent1a796bca57ef45d559e70dc05ad2df5cb77b8f64 (diff)
Merge "logd: add a SerializedLogBuffer suitable for compression"
Diffstat (limited to 'logd/LogBufferTest.h')
-rw-r--r--logd/LogBufferTest.h3
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 {