#include "quiche/quic/core/crypto/quic_crypto_client_config.h"
#include <string>
#include <vector>
#include "absl/strings/string_view.h"
#include "quiche/quic/core/crypto/proof_verifier.h"
#include "quiche/quic/core/quic_server_id.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/platform/api/quic_expect_bug.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/crypto_test_utils.h"
#include "quiche/quic/test_tools/mock_random.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
StartsWith;
namespace quic {
namespace test {
namespace {
class TestProofVerifyDetails : public ProofVerifyDetails { … };
class OneServerIdFilter : public QuicCryptoClientConfig::ServerIdFilter { … };
class AllServerIdsFilter : public QuicCryptoClientConfig::ServerIdFilter { … };
}
class QuicCryptoClientConfigTest : public QuicTest { … };
TEST_F(QuicCryptoClientConfigTest, CachedState_IsEmpty) { … }
TEST_F(QuicCryptoClientConfigTest, CachedState_IsComplete) { … }
TEST_F(QuicCryptoClientConfigTest, CachedState_GenerationCounter) { … }
TEST_F(QuicCryptoClientConfigTest, CachedState_SetProofVerifyDetails) { … }
TEST_F(QuicCryptoClientConfigTest, CachedState_InitializeFrom) { … }
TEST_F(QuicCryptoClientConfigTest, InchoateChlo) { … }
TEST_F(QuicCryptoClientConfigTest, InchoateChloIsNotPadded) { … }
TEST_F(QuicCryptoClientConfigTest, PreferAesGcm) { … }
TEST_F(QuicCryptoClientConfigTest, InchoateChloSecure) { … }
TEST_F(QuicCryptoClientConfigTest, InchoateChloSecureWithSCIDNoEXPY) { … }
TEST_F(QuicCryptoClientConfigTest, InchoateChloSecureWithSCID) { … }
TEST_F(QuicCryptoClientConfigTest, FillClientHello) { … }
TEST_F(QuicCryptoClientConfigTest, FillClientHelloNoPadding) { … }
TEST_F(QuicCryptoClientConfigTest, ProcessServerDowngradeAttack) { … }
TEST_F(QuicCryptoClientConfigTest, InitializeFrom) { … }
TEST_F(QuicCryptoClientConfigTest, Canonical) { … }
TEST_F(QuicCryptoClientConfigTest, CanonicalNotUsedIfNotValid) { … }
TEST_F(QuicCryptoClientConfigTest, ClearCachedStates) { … }
TEST_F(QuicCryptoClientConfigTest, ProcessReject) { … }
TEST_F(QuicCryptoClientConfigTest, ProcessRejectWithLongTTL) { … }
TEST_F(QuicCryptoClientConfigTest, ServerNonceinSHLO) { … }
TEST_F(QuicCryptoClientConfigTest, MultipleCanonicalEntries) { … }
}
}