proxygen
ClientProtocolTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <fizz/client/ClientProtocol.h>
#include <fizz/client/test/Mocks.h>
#include <fizz/client/test/Utilities.h>
#include <fizz/protocol/test/Matchers.h>
#include <fizz/protocol/test/ProtocolTest.h>
#include <fizz/protocol/test/TestMessages.h>
#include <fizz/record/test/Mocks.h>

Go to the source code of this file.

Classes

class  fizz::client::test::ClientProtocolTest
 

Namespaces

 fizz
 
 fizz::client
 
 fizz::client::test
 

Functions

 fizz::client::test::TEST_F (ClientProtocolTest, TestInvalidTransitionNoAlert)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestInvalidWriteNewSessionTicket)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestInvalidTransitionAlert)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestInvalidTransitionError)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskEarlyFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectNoHostNoPsk)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskBadVersion)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskBadCipher)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectSeparatePskIdentity)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskIdentityWithoutSni)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectNoSni)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectNoAlpn)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectExtension)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectMultipleShares)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectCachedGroup)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectNoShares)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskEarly)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskEarlyNoAlpn)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskEarlyDisabled)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskEarlyAlpnMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectCompat)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectCompatEarly)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloAfterHrrFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskNoDhFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskAfterHrrFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHello)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPsk)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloExtraData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloBadVersion)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloBadCipher)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloBadGroup)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloNoKeyShare)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloHrrBadVersion)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloHrrBadCipher)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloHrrBadGroup)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskAcceptedNotSent)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloOtherPskAccepted)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskDifferentHash)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskDifferentCompatibleCipher)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskDheNotSupported)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloExtensions)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloPskKeNotSupported)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestServerHelloBadSessionId)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestConnectPskKeNoShares)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestPskFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequest)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestPskDifferentHash)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestDoubleHelloRetryRequest)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestBadVersion)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestBadCipher)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestBadGroup)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestGroupAlreadySent)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestNoKeyShare)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestCookie)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestAttemptedEarly)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestHelloRetryRequestCompat)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsPsk)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsAlpn)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEmptyAlpn)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsAlpnMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsNoAlpn)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsDisallowedExtension)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsUnrequestedExtension)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAccepted)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAlreadyRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAcceptedHrr)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyCipherMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAlpnMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificate)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateWithRequestContext)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateEmpty)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificateFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificate)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificateUnknownAlgo)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificateDecompressionFailed)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificateWithRequestContext)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCompressedCertificateEmpty)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestUnexpectedCompressedCertificate)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerify)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyNoVerifier)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyUnsupportedAlgorithm)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyFailure)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyVerifierFailure)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateVerifyVerifierFailureOtherException)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestNoCert)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestDuplicated)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestAlgosMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestContextAlgosUnsupported)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestPrefersContextOrder)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestCertificateRequestMatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedCertNoMatchFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedCertSentFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedEarlyFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinished)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedExtraData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedMismatch)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedRejectedEarly)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestFinishedCompat)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestNewSessionTicket)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestNewSessionTicketNonce)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestNewSessionTicketEarlyData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestAppData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestAppWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestKeyUpdateNotRequested)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestKeyUpdateExtraData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestKeyUpdateRequestFlow)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestInvalidEarlyWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingSHEarlyWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEarlyEncryptionLevelRecvSHLO)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEarlyEncryptionLevelRecvFinished)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEarlyWriteCompat)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEarlyWriteCompatCCSAlreadySent)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEarlyAcceptedCompatNoEarlyData)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingSHEarlyWriteRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingEEEarlyWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingEEEarlyWriteRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingCertEarlyWriteRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingCertVerifyEarlyWriteRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingFinishedEarlyWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestExpectingFinishedEarlyWriteRejected)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEstablishedEarlyWrite)
 
 fizz::client::test::TEST_F (ClientProtocolTest, TestEstablishedEarlyWriteRejected)