#ifndef QUICHE_HTTP2_TEST_TOOLS_SPDY_TEST_UTILS_H_
#define QUICHE_HTTP2_TEST_TOOLS_SPDY_TEST_UTILS_H_
#include <cstddef>
#include <cstdint>
#include <string>
#include "absl/strings/string_view.h"
#include "quiche/http2/core/spdy_protocol.h"
#include "quiche/common/http/http_header_block.h"
namespace spdy {
inline bool operator==(absl::string_view x,
const Http2HeaderBlock::ValueProxy& y) { … }
namespace test {
std::string HexDumpWithMarks(const unsigned char* data, int length,
const bool* marks, int mark_length);
void CompareCharArraysWithHexError(const std::string& description,
const unsigned char* actual,
const int actual_len,
const unsigned char* expected,
const int expected_len);
void SetFrameFlags(SpdySerializedFrame* frame, uint8_t flags);
void SetFrameLength(SpdySerializedFrame* frame, size_t length);
SpdySerializedFrame MakeSerializedFrame(const char* data, size_t length);
}
}
#endif