#include "quiche/quic/core/chlo_extractor.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/base/macros.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/quic_framer.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/crypto_test_utils.h"
#include "quiche/quic/test_tools/first_flight.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
namespace {
class TestDelegate : public ChloExtractor::Delegate { … };
class ChloExtractorTest : public QuicTestWithParam<ParsedQuicVersion> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(ChloExtractorTest, FindsValidChlo) { … }
TEST_P(ChloExtractorTest, DoesNotFindValidChloOnWrongStream) { … }
TEST_P(ChloExtractorTest, DoesNotFindValidChloOnWrongOffset) { … }
TEST_P(ChloExtractorTest, DoesNotFindInvalidChlo) { … }
TEST_P(ChloExtractorTest, FirstFlight) { … }
}
}
}