#include "quiche/http2/test_tools/hpack_string_collector.h"
#include <stddef.h>
#include <iosfwd>
#include <ostream>
#include <string>
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "quiche/http2/test_tools/verify_macros.h"
#include "quiche/common/platform/api/quiche_test.h"
namespace http2 {
namespace test {
namespace {
std::ostream& operator<<(std::ostream& out,
HpackStringCollector::CollectorState v) { … }
}
HpackStringCollector::HpackStringCollector() { … }
HpackStringCollector::HpackStringCollector(const std::string& str, bool huffman)
: … { … }
void HpackStringCollector::Clear() { … }
bool HpackStringCollector::IsClear() const { … }
bool HpackStringCollector::IsInProgress() const { … }
bool HpackStringCollector::HasEnded() const { … }
void HpackStringCollector::OnStringStart(bool huffman, size_t length) { … }
void HpackStringCollector::OnStringData(const char* data, size_t length) { … }
void HpackStringCollector::OnStringEnd() { … }
::testing::AssertionResult HpackStringCollector::Collected(
absl::string_view str, bool is_huffman_encoded) const { … }
std::string HpackStringCollector::ToString() const { … }
bool operator==(const HpackStringCollector& a, const HpackStringCollector& b) { … }
bool operator!=(const HpackStringCollector& a, const HpackStringCollector& b) { … }
std::ostream& operator<<(std::ostream& out, const HpackStringCollector& v) { … }
}
}