#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/str_join.h"
#include "quiche/http2/adapter/http2_protocol.h"
#include "quiche/http2/adapter/http2_visitor_interface.h"
#include "quiche/http2/adapter/mock_http2_visitor.h"
#include "quiche/http2/adapter/oghttp2_adapter.h"
#include "quiche/http2/adapter/oghttp2_util.h"
#include "quiche/http2/adapter/test_frame_sequence.h"
#include "quiche/http2/adapter/test_utils.h"
#include "quiche/common/http/http_header_block.h"
#include "quiche/common/platform/api/quiche_expect_bug.h"
#include "quiche/common/platform/api/quiche_test.h"
namespace http2 {
namespace adapter {
namespace test {
namespace {
ConnectionError;
SpdyFrameType;
_;
enum FrameType { … };
TEST(OgHttp2AdapterTest, ClientHandlesMetadata) { … }
TEST(OgHttp2AdapterTest, ClientHandlesMetadataWithEmptyPayload) { … }
TEST(OgHttp2AdapterTest, ClientHandlesMetadataWithPayloadError) { … }
TEST(OgHttp2AdapterTest, ClientHandlesMetadataWithCompletionError) { … }
class MetadataApiTest : public quiche::test::QuicheTestWithParam<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(MetadataApiTest, ClientSendsMetadataAfterFlowControlBlock) { … }
TEST(OgHttp2AdapterTest, ClientSendsMetadataWithContinuation) { … }
TEST_P(MetadataApiTest, SubmitMetadata) { … }
size_t DivRoundUp(size_t numerator, size_t denominator) { … }
TEST_P(MetadataApiTest, SubmitMetadataMultipleFrames) { … }
TEST_P(MetadataApiTest, SubmitConnectionMetadata) { … }
TEST_P(MetadataApiTest, ServerQueuesMetadataThenTrailers) { … }
}
}
}
}