#include "quiche/quic/core/quic_config.h"
#include <memory>
#include <string>
#include <utility>
#include "quiche/quic/core/crypto/crypto_handshake_message.h"
#include "quiche/quic/core/crypto/crypto_protocol.h"
#include "quiche/quic/core/crypto/transport_parameters.h"
#include "quiche/quic/core/quic_constants.h"
#include "quiche/quic/core/quic_packets.h"
#include "quiche/quic/core/quic_time.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/platform/api/quic_expect_bug.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_config_peer.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
namespace {
class QuicConfigTest : public QuicTestWithParam<ParsedQuicVersion> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(QuicConfigTest, SetDefaults) { … }
TEST_P(QuicConfigTest, AutoSetIetfFlowControl) { … }
TEST_P(QuicConfigTest, ToHandshakeMessage) { … }
TEST_P(QuicConfigTest, ProcessClientHello) { … }
TEST_P(QuicConfigTest, ProcessServerHello) { … }
TEST_P(QuicConfigTest, MissingOptionalValuesInCHLO) { … }
TEST_P(QuicConfigTest, MissingOptionalValuesInSHLO) { … }
TEST_P(QuicConfigTest, MissingValueInCHLO) { … }
TEST_P(QuicConfigTest, MissingValueInSHLO) { … }
TEST_P(QuicConfigTest, OutOfBoundSHLO) { … }
TEST_P(QuicConfigTest, InvalidFlowControlWindow) { … }
TEST_P(QuicConfigTest, HasClientSentConnectionOption) { … }
TEST_P(QuicConfigTest, DontSendClientConnectionOptions) { … }
TEST_P(QuicConfigTest, HasClientRequestedIndependentOption) { … }
TEST_P(QuicConfigTest, IncomingLargeIdleTimeoutTransportParameter) { … }
TEST_P(QuicConfigTest, ReceivedInvalidMinAckDelayInTransportParameter) { … }
TEST_P(QuicConfigTest, FillTransportParams) { … }
TEST_P(QuicConfigTest, DNATPreferredAddress) { … }
TEST_P(QuicConfigTest, FillTransportParamsNoV4PreferredAddress) { … }
TEST_P(QuicConfigTest, SupportsServerPreferredAddress) { … }
TEST_P(QuicConfigTest, AddConnectionOptionsToSend) { … }
TEST_P(QuicConfigTest, ProcessTransportParametersServer) { … }
TEST_P(QuicConfigTest, DisableMigrationTransportParameter) { … }
TEST_P(QuicConfigTest, SendPreferredIPv4Address) { … }
}
}
}