#include "services/data_decoder/gzipper.h"
#include <optional>
#include "base/functional/callback.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace data_decoder {
namespace {
void CopyResultCallback(std::optional<mojo_base::BigBuffer>& output_result,
std::optional<mojo_base::BigBuffer> result) { … }
GzipperTest;
}
TEST_F(GzipperTest, DeflateAndInflate) { … }
TEST_F(GzipperTest, InflateExceedsSize) { … }
TEST_F(GzipperTest, InflateTrimsSize) { … }
TEST_F(GzipperTest, CompressAndUncompress) { … }
}