James Kuszmaul | ef0e0cc | 2021-10-28 23:00:04 -0700 | [diff] [blame] | 1 | #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 | |
| 8 | namespace aos::logger::testing { |
| 9 | |
| 10 | INSTANTIATE_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 |