chromium/net/third_party/quiche/src/quiche/binary_http/binary_http_message_test.cc

#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) {}
}  // namespace
// Test examples from
// https://www.ietf.org/archive/id/draft-ietf-httpbis-binary-message-06.html

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) {}

}  // namespace quiche