// Copyright 2017 The Chromium 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 "quiche/http2/core/array_output_buffer.h" #include <cstdint> #include <cstring> #include "quiche/common/platform/api/quiche_test.h" namespace spdy { namespace test { // This test verifies that ArrayOutputBuffer is initialized properly. TEST(ArrayOutputBufferTest, InitializedFromArray) { … } // This test verifies that Reset() causes an ArrayOutputBuffer's capacity and // size to be reset to the initial state. TEST(ArrayOutputBufferTest, WriteAndReset) { … } } // namespace test } // namespace spdy