// Copyright 2016 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/test_tools/hpack_block_builder.h" #include <string> #include "absl/strings/escaping.h" #include "quiche/common/platform/api/quiche_test.h" namespace http2 { namespace test { namespace { const bool kUncompressed = …; const bool kCompressed = …; // TODO(jamessynge): Once static table code is checked in, switch to using // constants from there. const uint32_t kStaticTableMethodGET = …; const uint32_t kStaticTablePathSlash = …; const uint32_t kStaticTableSchemeHttp = …; // Tests of encoding per the RFC. See: // http://httpwg.org/specs/rfc7541.html#header.field.representation.examples // The expected values have been copied from the RFC. TEST(HpackBlockBuilderTest, ExamplesFromSpecC2) { … } // Tests of encoding per the RFC. See: // http://httpwg.org/specs/rfc7541.html#request.examples.without.huffman.coding TEST(HpackBlockBuilderTest, ExamplesFromSpecC3) { … } // Tests of encoding per the RFC. See: // http://httpwg.org/specs/rfc7541.html#request.examples.with.huffman.coding TEST(HpackBlockBuilderTest, ExamplesFromSpecC4) { … } TEST(HpackBlockBuilderTest, DynamicTableSizeUpdate) { … } } // namespace } // namespace test } // namespace http2