blob: 3334602bd8915ce7a467e2b77f1f419fdf55bd55 [file] [log] [blame]
James Kuszmaulef0e0cc2021-10-28 23:00:04 -07001#include "aos/events/logging/snappy_encoder.h"
2
3#include "aos/events/logging/buffer_encoder_param_test.h"
4#include "aos/util/file.h"
5#include "gmock/gmock.h"
6#include "gtest/gtest.h"
7
8namespace aos::logger::testing {
9
10INSTANTIATE_TEST_SUITE_P(
11 Snappy, BufferEncoderTest,
12 ::testing::Combine(::testing::Values([]() {
13 return std::make_unique<SnappyEncoder>();
14 }),
15 ::testing::Values([](std::string_view filename) {
16 return std::make_unique<SnappyDecoder>(filename);
17 }),
18 ::testing::Range(0, 100)));
19
20} // namespace aos::logger::testing