#include "quiche/quic/core/qpack/qpack_send_stream.h"
#include <memory>
#include <string>
#include <vector>
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/crypto/null_encrypter.h"
#include "quiche/quic/core/http/http_constants.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_config_peer.h"
#include "quiche/quic/test_tools/quic_connection_peer.h"
#include "quiche/quic/test_tools/quic_spdy_session_peer.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
namespace {
_;
AnyNumber;
Invoke;
StrictMock;
struct TestParams { … };
std::string PrintToString(const TestParams& tp) { … }
std::vector<TestParams> GetTestParams() { … }
class QpackSendStreamTest : public QuicTestWithParam<TestParams> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(QpackSendStreamTest, WriteStreamTypeOnlyFirstTime) { … }
TEST_P(QpackSendStreamTest, StopSendingQpackStream) { … }
TEST_P(QpackSendStreamTest, ReceiveDataOnSendStream) { … }
TEST_P(QpackSendStreamTest, GetSendWindowSizeFromSession) { … }
}
}
}