// Copyright 2017 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gtest/gtest.h" #include "puffin/src/puff_reader.h" #include "puffin/src/puff_writer.h" #include "puffin/src/unittest_common.h" namespace puffin { namespace { void TestLiteralLength(size_t length) { … } } // namespace // Testing read/write from/into a puff buffer using |PuffReader|/|PuffWriter|. TEST(PuffIOTest, InputOutputTest) { … } // Testing metadata boundary. TEST(PuffIOTest, MetadataBoundaryTest) { … } TEST(PuffIOTest, InvalidCopyLengthsDistanceTest) { … } TEST(PuffIOTest, InvalidCopyLenghtDistanceBoundaryTest) { … } TEST(PuffIOTest, LiteralsTest) { … } // Testing maximum literals length. TEST(PuffIOTest, MaxLiteralsTest) { … } } // namespace puffin