chromium/services/data_decoder/gzipper_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;

}  // namespace

TEST_F(GzipperTest, DeflateAndInflate) {}

// Test not allocating enough space to inflate data.
TEST_F(GzipperTest, InflateExceedsSize) {}

// Test allocating more than the space needed to inflate data.
TEST_F(GzipperTest, InflateTrimsSize) {}

TEST_F(GzipperTest, CompressAndUncompress) {}

}  // namespace data_decoder