| // Copyright (c) 2012 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. |
| #ifndef QUICHE_SPDY_CORE_SPDY_TEST_UTILS_H_ |
| #define QUICHE_SPDY_CORE_SPDY_TEST_UTILS_H_ |
| #include "absl/strings/string_view.h" |
| #include "spdy/core/spdy_header_block.h" |
| #include "spdy/core/spdy_protocol.h" |
| inline bool operator==(absl::string_view x, |
| const Http2HeaderBlock::ValueProxy& y) { |
| std::string HexDumpWithMarks(const unsigned char* data, |
| void CompareCharArraysWithHexError(const std::string& description, |
| const unsigned char* actual, |
| const unsigned char* expected, |
| void SetFrameFlags(SpdySerializedFrame* frame, uint8_t flags); |
| void SetFrameLength(SpdySerializedFrame* frame, size_t length); |
| #endif // QUICHE_SPDY_CORE_SPDY_TEST_UTILS_H_ |