#include "quiche/binary_http/binary_http_message.h"
#include <cstdint>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "quiche/common/platform/api/quiche_test.h"
ContainerEq;
FieldsAre;
StrEq;
namespace quiche {
namespace {
std::string WordToBytes(uint32_t word) { … }
template <class T>
void TestPrintTo(const T& resp) { … }
}
TEST(BinaryHttpRequest, EncodeGetNoBody) { … }
TEST(BinaryHttpRequest, DecodeGetNoBody) { … }
TEST(BinaryHttpRequest, EncodeGetWithAuthority) { … }
TEST(BinaryHttpRequest, DecodeGetWithAuthority) { … }
TEST(BinaryHttpRequest, EncodePostBody) { … }
TEST(BinaryHttpRequest, DecodePostBody) { … }
TEST(BinaryHttpRequest, Equality) { … }
TEST(BinaryHttpRequest, Inequality) { … }
TEST(BinaryHttpResponse, EncodeNoBody) { … }
TEST(BinaryHttpResponse, DecodeNoBody) { … }
TEST(BinaryHttpResponse, EncodeBody) { … }
TEST(BinaryHttpResponse, DecodeBody) { … }
TEST(BHttpResponse, AddBadInformationalResponseCode) { … }
TEST(BinaryHttpResponse, EncodeMultiInformationalWithBody) { … }
TEST(BinaryHttpResponse, DecodeMultiInformationalWithBody) { … }
TEST(BinaryHttpMessage, SwapBody) { … }
TEST(BinaryHttpResponse, Equality) { … }
TEST(BinaryHttpResponse, Inequality) { … }
MATCHER_P(HasEqPayload, value, "Payloads of messages are equivalent.") { … }
template <typename T>
void TestPadding(T& message) { … }
TEST(BinaryHttpRequest, Padding) { … }
TEST(BinaryHttpResponse, Padding) { … }
}