#include "quiche/http2/hpack/decoder/hpack_decoder_tables.h"
#include <algorithm>
#include <string>
#include <tuple>
#include <vector>
#include "quiche/http2/hpack/http2_hpack_constants.h"
#include "quiche/http2/test_tools/http2_random.h"
#include "quiche/http2/test_tools/random_util.h"
#include "quiche/http2/test_tools/verify_macros.h"
#include "quiche/common/platform/api/quiche_logging.h"
#include "quiche/common/platform/api/quiche_test.h"
AssertionResult;
AssertionSuccess;
namespace http2 {
namespace test {
class HpackDecoderTablesPeer { … };
namespace {
struct StaticEntry { … };
std::vector<StaticEntry> MakeSpecStaticEntries() { … }
template <class C>
void ShuffleCollection(C* collection, Http2Random* r) { … }
class HpackDecoderStaticTableTest : public quiche::test::QuicheTest { … };
TEST_F(HpackDecoderStaticTableTest, StaticTableContents) { … }
size_t Size(const std::string& name, const std::string& value) { … }
FakeHpackEntry;
const std::string& Name(const FakeHpackEntry& entry) { … }
const std::string& Value(const FakeHpackEntry& entry) { … }
size_t Size(const FakeHpackEntry& entry) { … }
class HpackDecoderTablesTest : public HpackDecoderStaticTableTest { … };
TEST_F(HpackDecoderTablesTest, StaticTableContents) { … }
TEST_F(HpackDecoderTablesTest, RandomDynamicTable) { … }
}
}
}