proxygen
|
Classes | |
class | ActionMoveVisitor |
class | AsyncFizzClientTest |
class | ClientProtocolTest |
class | FizzClientTest |
class | MockAsyncFizzClient |
class | MockClientExtensions |
class | MockClientStateMachine |
class | MockClientStateMachineInstance |
class | MockConnectCallback |
class | MockHandshakeCallbackT |
class | MockPskCache |
class | SynchronizedLruPskCacheTest |
class | TestFizzClient |
Typedefs | |
using | MockHandshakeCallback = MockHandshakeCallbackT< ClientStateMachine > |
Functions | |
MATCHER_P (BufMatches, expected,"") | |
TEST_F (AsyncFizzClientTest, TestConnect) | |
TEST_F (AsyncFizzClientTest, TestReadSingle) | |
TEST_F (AsyncFizzClientTest, TestReadMulti) | |
TEST_F (AsyncFizzClientTest, TestWrite) | |
TEST_F (AsyncFizzClientTest, TestWriteMulti) | |
TEST_F (AsyncFizzClientTest, TestWriteErrorState) | |
TEST_F (AsyncFizzClientTest, TestHandshake) | |
TEST_F (AsyncFizzClientTest, TestExporterAPI) | |
TEST_F (AsyncFizzClientTest, TestHandshakeError) | |
TEST_F (AsyncFizzClientTest, TestHandshakeErrorDelete) | |
TEST_F (AsyncFizzClientTest, TestDeliverAppData) | |
TEST_F (AsyncFizzClientTest, TestWriteToSocket) | |
TEST_F (AsyncFizzClientTest, TestMutateState) | |
TEST_F (AsyncFizzClientTest, TestCloseHandshake) | |
TEST_F (AsyncFizzClientTest, TestConnecting) | |
TEST_F (AsyncFizzClientTest, TestGoodSocket) | |
TEST_F (AsyncFizzClientTest, TestGoodState) | |
TEST_F (AsyncFizzClientTest, TestSocketConnect) | |
TEST_F (AsyncFizzClientTest, TestSocketConnectWithUnsupportedTransport) | |
TEST_F (AsyncFizzClientTest, TestHandshakeConnectWithUnopenedSocket) | |
TEST_F (AsyncFizzClientTest, TestSocketConnectWithOpenSocket) | |
TEST_F (AsyncFizzClientTest, TestApplicationProtocol) | |
TEST_F (AsyncFizzClientTest, TestApplicationProtocolNone) | |
TEST_F (AsyncFizzClientTest, TestPskResumed) | |
TEST_F (AsyncFizzClientTest, TestNoPskResumption) | |
TEST_F (AsyncFizzClientTest, TestGetCertsNone) | |
TEST_F (AsyncFizzClientTest, TestGetCerts) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshake) | |
TEST_F (AsyncFizzClientTest, TestEarlyParams) | |
TEST_F (AsyncFizzClientTest, TestEarlyApplicationProtocolNone) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeWrite) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeReplaySafeCallback) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeReplaySafeCallbackRemoved) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeOverLimit) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeAllOverLimit) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedFatalError) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedPendingWriteError) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedAutoResendNoData) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedAutoResend) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedAutoResendOrder) | |
TEST_F (AsyncFizzClientTest, TestEarlyHandshakeRejectedAutoResendDeletedBuffer) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectResendDifferentAlpn) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectResendDifferentNoAlpn) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectResendDifferentVersion) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectResendDifferentCipher) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectNoClientCert) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectNoServerCert) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectDifferentServerIdentity) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectSameServerIdentity) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectDifferentClientIdentity) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectSameClientIdentity) | |
TEST_F (AsyncFizzClientTest, TestEarlyRejectRemovePsk) | |
TEST_F (AsyncFizzClientTest, TestEarlyWriteRejected) | |
TEST_F (AsyncFizzClientTest, TestEarlyWriteRejectedNullCallback) | |
TEST_F (AsyncFizzClientTest, TestErrorStopsActions) | |
TEST_F (AsyncFizzClientTest, TestNewCachedPskActions) | |
TEST_F (AsyncFizzClientTest, TestNewCachedPskActionsWithEmptyPskIdentity) | |
TEST_F (ClientProtocolTest, TestInvalidTransitionNoAlert) | |
TEST_F (ClientProtocolTest, TestInvalidWriteNewSessionTicket) | |
TEST_F (ClientProtocolTest, TestInvalidTransitionAlert) | |
TEST_F (ClientProtocolTest, TestInvalidTransitionError) | |
TEST_F (ClientProtocolTest, TestConnectFlow) | |
TEST_F (ClientProtocolTest, TestConnectPskFlow) | |
TEST_F (ClientProtocolTest, TestConnectPskEarlyFlow) | |
TEST_F (ClientProtocolTest, TestConnectNoHostNoPsk) | |
TEST_F (ClientProtocolTest, TestConnectPskBadVersion) | |
TEST_F (ClientProtocolTest, TestConnectPskBadCipher) | |
TEST_F (ClientProtocolTest, TestConnectSeparatePskIdentity) | |
TEST_F (ClientProtocolTest, TestConnectPskIdentityWithoutSni) | |
TEST_F (ClientProtocolTest, TestConnectNoSni) | |
TEST_F (ClientProtocolTest, TestConnectNoAlpn) | |
TEST_F (ClientProtocolTest, TestConnectExtension) | |
TEST_F (ClientProtocolTest, TestConnectMultipleShares) | |
TEST_F (ClientProtocolTest, TestConnectCachedGroup) | |
TEST_F (ClientProtocolTest, TestConnectNoShares) | |
TEST_F (ClientProtocolTest, TestConnectPskEarly) | |
TEST_F (ClientProtocolTest, TestConnectPskEarlyNoAlpn) | |
TEST_F (ClientProtocolTest, TestConnectPskEarlyDisabled) | |
TEST_F (ClientProtocolTest, TestConnectPskEarlyAlpnMismatch) | |
TEST_F (ClientProtocolTest, TestConnectCompat) | |
TEST_F (ClientProtocolTest, TestConnectCompatEarly) | |
TEST_F (ClientProtocolTest, TestServerHelloFlow) | |
TEST_F (ClientProtocolTest, TestServerHelloAfterHrrFlow) | |
TEST_F (ClientProtocolTest, TestServerHelloPskFlow) | |
TEST_F (ClientProtocolTest, TestServerHelloPskNoDhFlow) | |
TEST_F (ClientProtocolTest, TestServerHelloPskAfterHrrFlow) | |
TEST_F (ClientProtocolTest, TestServerHello) | |
TEST_F (ClientProtocolTest, TestServerHelloPsk) | |
TEST_F (ClientProtocolTest, TestServerHelloPskRejected) | |
TEST_F (ClientProtocolTest, TestServerHelloExtraData) | |
TEST_F (ClientProtocolTest, TestServerHelloBadVersion) | |
TEST_F (ClientProtocolTest, TestServerHelloBadCipher) | |
TEST_F (ClientProtocolTest, TestServerHelloBadGroup) | |
TEST_F (ClientProtocolTest, TestServerHelloNoKeyShare) | |
TEST_F (ClientProtocolTest, TestServerHelloHrrBadVersion) | |
TEST_F (ClientProtocolTest, TestServerHelloHrrBadCipher) | |
TEST_F (ClientProtocolTest, TestServerHelloHrrBadGroup) | |
TEST_F (ClientProtocolTest, TestServerHelloPskAcceptedNotSent) | |
TEST_F (ClientProtocolTest, TestServerHelloOtherPskAccepted) | |
TEST_F (ClientProtocolTest, TestServerHelloPskDifferentHash) | |
TEST_F (ClientProtocolTest, TestServerHelloPskDifferentCompatibleCipher) | |
TEST_F (ClientProtocolTest, TestServerHelloPskDheNotSupported) | |
TEST_F (ClientProtocolTest, TestServerHelloExtensions) | |
TEST_F (ClientProtocolTest, TestServerHelloPskKeNotSupported) | |
TEST_F (ClientProtocolTest, TestServerHelloBadSessionId) | |
TEST_F (ClientProtocolTest, TestConnectPskKeNoShares) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestFlow) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestPskFlow) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequest) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestPskDifferentHash) | |
TEST_F (ClientProtocolTest, TestDoubleHelloRetryRequest) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestBadVersion) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestBadCipher) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestBadGroup) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestGroupAlreadySent) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestNoKeyShare) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestCookie) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestAttemptedEarly) | |
TEST_F (ClientProtocolTest, TestHelloRetryRequestCompat) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsFlow) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsPsk) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsAlpn) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEmptyAlpn) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsAlpnMismatch) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsNoAlpn) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsDisallowedExtension) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsUnrequestedExtension) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAccepted) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyRejected) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAlreadyRejected) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAcceptedHrr) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyCipherMismatch) | |
TEST_F (ClientProtocolTest, TestEncryptedExtensionsEarlyAlpnMismatch) | |
TEST_F (ClientProtocolTest, TestCertificateFlow) | |
TEST_F (ClientProtocolTest, TestCertificate) | |
TEST_F (ClientProtocolTest, TestCertificateWithRequestContext) | |
TEST_F (ClientProtocolTest, TestCertificateEmpty) | |
TEST_F (ClientProtocolTest, TestCompressedCertificateFlow) | |
TEST_F (ClientProtocolTest, TestCompressedCertificate) | |
TEST_F (ClientProtocolTest, TestCompressedCertificateUnknownAlgo) | |
TEST_F (ClientProtocolTest, TestCompressedCertificateDecompressionFailed) | |
TEST_F (ClientProtocolTest, TestCompressedCertificateWithRequestContext) | |
TEST_F (ClientProtocolTest, TestCompressedCertificateEmpty) | |
TEST_F (ClientProtocolTest, TestUnexpectedCompressedCertificate) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyFlow) | |
TEST_F (ClientProtocolTest, TestCertificateVerify) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyNoVerifier) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyUnsupportedAlgorithm) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyFailure) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyVerifierFailure) | |
TEST_F (ClientProtocolTest, TestCertificateVerifyVerifierFailureOtherException) | |
TEST_F (ClientProtocolTest, TestCertificateRequestNoCert) | |
TEST_F (ClientProtocolTest, TestCertificateRequestDuplicated) | |
TEST_F (ClientProtocolTest, TestCertificateRequestAlgosMismatch) | |
TEST_F (ClientProtocolTest, TestCertificateRequestContextAlgosUnsupported) | |
TEST_F (ClientProtocolTest, TestCertificateRequestPrefersContextOrder) | |
TEST_F (ClientProtocolTest, TestCertificateRequestMatch) | |
TEST_F (ClientProtocolTest, TestFinishedFlow) | |
TEST_F (ClientProtocolTest, TestFinishedCertNoMatchFlow) | |
TEST_F (ClientProtocolTest, TestFinishedCertSentFlow) | |
TEST_F (ClientProtocolTest, TestFinishedEarlyFlow) | |
TEST_F (ClientProtocolTest, TestFinished) | |
TEST_F (ClientProtocolTest, TestFinishedExtraData) | |
TEST_F (ClientProtocolTest, TestFinishedMismatch) | |
TEST_F (ClientProtocolTest, TestFinishedRejectedEarly) | |
TEST_F (ClientProtocolTest, TestFinishedCompat) | |
TEST_F (ClientProtocolTest, TestNewSessionTicket) | |
TEST_F (ClientProtocolTest, TestNewSessionTicketNonce) | |
TEST_F (ClientProtocolTest, TestNewSessionTicketEarlyData) | |
TEST_F (ClientProtocolTest, TestAppData) | |
TEST_F (ClientProtocolTest, TestAppWrite) | |
TEST_F (ClientProtocolTest, TestKeyUpdateNotRequested) | |
TEST_F (ClientProtocolTest, TestKeyUpdateExtraData) | |
TEST_F (ClientProtocolTest, TestKeyUpdateRequestFlow) | |
TEST_F (ClientProtocolTest, TestInvalidEarlyWrite) | |
TEST_F (ClientProtocolTest, TestExpectingSHEarlyWrite) | |
TEST_F (ClientProtocolTest, TestEarlyEncryptionLevelRecvSHLO) | |
TEST_F (ClientProtocolTest, TestEarlyEncryptionLevelRecvFinished) | |
TEST_F (ClientProtocolTest, TestEarlyWriteCompat) | |
TEST_F (ClientProtocolTest, TestEarlyWriteCompatCCSAlreadySent) | |
TEST_F (ClientProtocolTest, TestEarlyAcceptedCompatNoEarlyData) | |
TEST_F (ClientProtocolTest, TestExpectingSHEarlyWriteRejected) | |
TEST_F (ClientProtocolTest, TestExpectingEEEarlyWrite) | |
TEST_F (ClientProtocolTest, TestExpectingEEEarlyWriteRejected) | |
TEST_F (ClientProtocolTest, TestExpectingCertEarlyWriteRejected) | |
TEST_F (ClientProtocolTest, TestExpectingCertVerifyEarlyWriteRejected) | |
TEST_F (ClientProtocolTest, TestExpectingFinishedEarlyWrite) | |
TEST_F (ClientProtocolTest, TestExpectingFinishedEarlyWriteRejected) | |
TEST_F (ClientProtocolTest, TestEstablishedEarlyWrite) | |
TEST_F (ClientProtocolTest, TestEstablishedEarlyWriteRejected) | |
TEST_F (FizzClientTest, TestConnect) | |
TEST_F (FizzClientTest, TestConnectPskIdentity) | |
TEST_F (SynchronizedLruPskCacheTest, TestBasic) | |
TEST_F (SynchronizedLruPskCacheTest, TestEviction) | |
CachedPsk | getTestPsk (std::string pskName, std::chrono::system_clock::time_point issueTime) |
void | pskEq (const CachedPsk &psk1, const CachedPsk &psk2) |
CachedPsk fizz::client::test::getTestPsk | ( | std::string | pskName, |
std::chrono::system_clock::time_point | issueTime | ||
) |
Definition at line 16 of file Utilities.h.
References fizz::client::CachedPsk::alpn, fizz::client::CachedPsk::cipher, fizz::client::CachedPsk::group, fizz::client::CachedPsk::maxEarlyDataSize, folly::gen::move, fizz::client::CachedPsk::psk, fizz::Resumption, fizz::client::CachedPsk::secret, fizz::client::CachedPsk::ticketAgeAdd, fizz::client::CachedPsk::ticketExpirationTime, fizz::client::CachedPsk::ticketIssueTime, fizz::tls_1_3, fizz::TLS_AES_128_GCM_SHA256, fizz::client::CachedPsk::type, fizz::client::CachedPsk::version, and fizz::x25519.
Referenced by fizz::client::test::SynchronizedLruPskCacheTest::getCachedPsk(), and fizz::client::test::ClientProtocolTest::getCachedPsk().
fizz::client::test::MATCHER_P | ( | BufMatches | , |
expected | , | ||
"" | |||
) |
Definition at line 179 of file AsyncFizzClientTest.cpp.
References folly::eq.
Definition at line 34 of file Utilities.h.
References fizz::client::CachedPsk::alpn, fizz::client::CachedPsk::cipher, EXPECT_EQ, fizz::client::CachedPsk::group, fizz::client::CachedPsk::maxEarlyDataSize, fizz::client::CachedPsk::psk, fizz::client::CachedPsk::secret, fizz::client::CachedPsk::ticketAgeAdd, fizz::client::CachedPsk::ticketExpirationTime, fizz::client::CachedPsk::ticketIssueTime, fizz::client::CachedPsk::type, and fizz::client::CachedPsk::version.
Referenced by TEST_F().
fizz::client::test::TEST_F | ( | SynchronizedLruPskCacheTest | , |
TestBasic | |||
) |
Definition at line 39 of file SynchronizedLruPskCacheTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, and pskEq().
fizz::client::test::TEST_F | ( | SynchronizedLruPskCacheTest | , |
TestEviction | |||
) |
Definition at line 50 of file SynchronizedLruPskCacheTest.cpp.
References EXPECT_FALSE, i, and folly::sformat().
fizz::client::test::TEST_F | ( | FizzClientTest | , |
TestConnect | |||
) |
Definition at line 61 of file FizzClientTest.cpp.
References testing::_, EXPECT_CALL, testing::InvokeWithoutArgs(), folly::none, sni, and string.
fizz::client::test::TEST_F | ( | FizzClientTest | , |
TestConnectPskIdentity | |||
) |
Definition at line 70 of file FizzClientTest.cpp.
References testing::_, context, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, testing::Invoke(), folly::gen::move, fizz::client::CachedPsk::psk, sni, and string.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestConnect | |||
) |
Definition at line 184 of file AsyncFizzClientTest.cpp.
References folly::netops::connect().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestReadSingle | |||
) |
Definition at line 188 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestReadMulti | |||
) |
Definition at line 196 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestWrite | |||
) |
Definition at line 205 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestWriteMulti | |||
) |
Definition at line 212 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestWriteErrorState | |||
) |
Definition at line 222 of file AsyncFizzClientTest.cpp.
References testing::_, folly::netops::connect(), folly::IOBuf::copyBuffer(), folly::pushmi::operators::error(), EXPECT_CALL, ON_CALL, testing::Return(), and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestHandshake | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestExporterAPI | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestHandshakeError | |||
) |
Definition at line 241 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestHandshakeErrorDelete | |||
) |
Definition at line 251 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestInvalidTransitionNoAlert | |||
) |
Definition at line 256 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::none, and fizz::client::ClientStateMachine::processAppWrite().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestInvalidWriteNewSessionTicket | |||
) |
Definition at line 261 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::none, and fizz::client::ClientStateMachine::processWriteNewSessionTicket().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestDeliverAppData | |||
) |
Definition at line 262 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestInvalidTransitionAlert | |||
) |
Definition at line 267 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), EXPECT_CALL, fizz::client::ClientStateMachine::processAppWrite(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestWriteToSocket | |||
) |
Definition at line 274 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::WriteToSocket::contents, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::TLSContent::encryptionLevel, EXPECT_CALL, fizz::Handshake, fizz::handshake, testing::InvokeWithoutArgs(), folly::gen::move, socket_, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestInvalidTransitionError | |||
) |
Definition at line 275 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::Error, and fizz::client::ClientStateMachine::processAppWrite().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectFlow | |||
) |
Definition at line 281 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), fizz::TLSContent::contentType, fizz::Connect::context, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::encodeHandshake(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, fizz::handshake, testing::Invoke(), testing::InvokeWithoutArgs(), makeRandom(), folly::gen::move, fizz::NotAttempted, fizz::Plaintext, fizz::client::detail::processEvent(), random(), fizz::Connect::sni, fizz::Connect::verifier, verifier_, fizz::detail::write(), and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestMutateState | |||
) |
Definition at line 291 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::client::Error, EXPECT_CALL, EXPECT_EQ, testing::InvokeWithoutArgs(), fizz::test::State::state(), and uint32_t.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestCloseHandshake | |||
) |
Definition at line 309 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), folly::netops::connect(), EXPECT_CALL, and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestConnecting | |||
) |
Definition at line 317 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::netops::connect(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_FALSE, EXPECT_TRUE, testing::InvokeWithoutArgs(), ON_CALL, testing::Return(), and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestGoodSocket | |||
) |
Definition at line 332 of file AsyncFizzClientTest.cpp.
References folly::netops::connect(), EXPECT_FALSE, EXPECT_TRUE, ON_CALL, testing::Return(), and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestGoodState | |||
) |
Definition at line 340 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::client::Error, EXPECT_CALL, EXPECT_FALSE, EXPECT_TRUE, testing::InvokeWithoutArgs(), ON_CALL, testing::Return(), socket_, and fizz::test::State::state().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskFlow | |||
) |
Definition at line 350 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::TLSContent::contentType, fizz::Connect::context, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, fizz::detail::getFinishedData(), fizz::handshake, testing::Invoke(), testing::InvokeWithoutArgs(), makeRandom(), folly::gen::move, fizz::NotAttempted, fizz::Plaintext, fizz::client::detail::processEvent(), random(), fizz::ResumptionPskBinder, fizz::Connect::sni, fizz::TLS_AES_128_GCM_SHA256, fizz::Connect::verifier, verifier_, fizz::detail::write(), and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestSocketConnect | |||
) |
Definition at line 353 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), EXPECT_CALL, fizz::client::test::MockClientStateMachineInstance::instance, testing::Invoke(), testing::InvokeWithoutArgs(), folly::EventBase::loop(), and string.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestSocketConnectWithUnsupportedTransport | |||
) |
Definition at line 380 of file AsyncFizzClientTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_THAT, testing::HasSubstr(), testing::Invoke(), testing::Return(), socket_, and string.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestHandshakeConnectWithUnopenedSocket | |||
) |
Definition at line 395 of file AsyncFizzClientTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_FALSE, EXPECT_THAT, testing::HasSubstr(), fizz::client::test::MockClientStateMachineInstance::instance, testing::Invoke(), string, folly::basic_fbstring< E, T, A, Storage >::toStdString(), and folly::exception_wrapper::what().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestSocketConnectWithOpenSocket | |||
) |
Definition at line 416 of file AsyncFizzClientTest.cpp.
References testing::_, folly::AsyncSocketException::ALREADY_OPEN, folly::AsyncSocket::ConnectCallback::connectErr(), EXPECT_CALL, EXPECT_THAT, testing::HasSubstr(), testing::Invoke(), testing::Return(), socket_, and string.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestApplicationProtocol | |||
) |
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskEarlyFlow | |||
) |
Definition at line 446 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::Attempted, fizz::Connect::cachedPsk, fizz::ClientEarlyTraffic, folly::netops::connect(), fizz::TLSContent::contentType, fizz::Connect::context, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::EarlyExporter, fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, fizz::detail::getFinishedData(), fizz::handshake, testing::Invoke(), testing::InvokeWithoutArgs(), makeRandom(), folly::gen::move, fizz::Plaintext, fizz::client::detail::processEvent(), random(), fizz::ResumptionPskBinder, fizz::Connect::sni, fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, fizz::Connect::verifier, verifier_, fizz::detail::write(), and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestApplicationProtocolNone | |||
) |
Definition at line 448 of file AsyncFizzClientTest.cpp.
References folly::netops::connect(), EXPECT_CALL, and EXPECT_EQ.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestPskResumed | |||
) |
Definition at line 455 of file AsyncFizzClientTest.cpp.
References folly::netops::connect(), EXPECT_CALL, and EXPECT_TRUE.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestNoPskResumption | |||
) |
Definition at line 462 of file AsyncFizzClientTest.cpp.
References folly::netops::connect(), EXPECT_CALL, and EXPECT_FALSE.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestGetCertsNone | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestGetCerts | |||
) |
Definition at line 475 of file AsyncFizzClientTest.cpp.
References clientCert, folly::netops::connect(), EXPECT_CALL, EXPECT_EQ, and serverCert.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshake | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyParams | |||
) |
Definition at line 494 of file AsyncFizzClientTest.cpp.
References clientCert, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::gen::move, params, and serverCert.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyApplicationProtocolNone | |||
) |
Definition at line 508 of file AsyncFizzClientTest.cpp.
References EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::gen::move, folly::none, and params.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeWrite | |||
) |
Definition at line 515 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeReplaySafeCallback | |||
) |
Definition at line 529 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, testing::Invoke(), and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeReplaySafeCallbackRemoved | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeOverLimit | |||
) |
Definition at line 550 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), folly::IOBuf::create(), fizz::EarlyAppWrite::data, fizz::AppWrite::data, EXPECT_CALL, EXPECT_TRUE, testing::Invoke(), s, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectNoHostNoPsk | |||
) |
Definition at line 579 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskBadVersion | |||
) |
Definition at line 589 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::tls_1_2.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeAllOverLimit | |||
) |
Definition at line 597 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::create(), fizz::AppWrite::data, EXPECT_CALL, EXPECT_TRUE, testing::Invoke(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskBadCipher | |||
) |
Definition at line 602 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::client::detail::processEvent(), fizz::TLS_AES_128_GCM_SHA256, and fizz::TLS_AES_256_GCM_SHA384.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedFatalError | |||
) |
Definition at line 615 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), folly::IOBuf::copyBuffer(), folly::IOBuf::create(), EXPECT_CALL, fizz::client::FatalConnectionError, folly::gen::move, and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectSeparatePskIdentity | |||
) |
Definition at line 616 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Connect::sni.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskIdentityWithoutSni | |||
) |
Definition at line 629 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedPendingWriteError | |||
) |
Definition at line 631 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::client::FatalConnectionError, folly::AsyncSocketException::getType(), testing::Invoke(), and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectNoSni | |||
) |
Definition at line 642 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), chlo, folly::netops::connect(), fizz::Connect::context, fizz::encodeHandshake(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), fizz::server_name, fizz::Connect::verifier, and verifier_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedAutoResendNoData | |||
) |
Definition at line 646 of file AsyncFizzClientTest.cpp.
References fizz::client::AutomaticResend, and EXPECT_CALL.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedAutoResend | |||
) |
Definition at line 655 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::client::AutomaticResend, folly::IOBuf::copyBuffer(), fizz::EarlyAppWrite::data, fizz::AppWrite::data, EXPECT_CALL, EXPECT_TRUE, testing::Invoke(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectNoAlpn | |||
) |
Definition at line 658 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_layer_protocol_negotiation, chlo, folly::netops::connect(), fizz::Connect::context, fizz::encodeHandshake(), EXPECT_EQ, EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), and fizz::Connect::sni.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectExtension | |||
) |
Definition at line 674 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), chlo, folly::netops::connect(), fizz::Connect::context, folly::IOBuf::copyBuffer(), fizz::encodeHandshake(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::Extension::extension_data, fizz::Extension::extension_type, fizz::Connect::extensions, testing::InvokeWithoutArgs(), folly::gen::move, fizz::client::detail::processEvent(), fizz::Connect::sni, fizz::token_binding, fizz::Connect::verifier, and verifier_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedAutoResendOrder | |||
) |
Definition at line 681 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::client::AutomaticResend, folly::IOBuf::copyBuffer(), folly::IOBuf::create(), fizz::EarlyAppWrite::data, fizz::AppWrite::data, EXPECT_CALL, EXPECT_TRUE, testing::Invoke(), s, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectMultipleShares | |||
) |
Definition at line 703 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::netops::connect(), fizz::Connect::context, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, testing::InvokeWithoutArgs(), folly::gen::move, fizz::client::detail::processEvent(), fizz::secp256r1, fizz::Connect::sni, and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyHandshakeRejectedAutoResendDeletedBuffer | |||
) |
Definition at line 724 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::client::AutomaticResend, folly::IOBuf::copyBuffer(), fizz::EarlyAppWrite::data, fizz::AppWrite::data, EXPECT_CALL, EXPECT_TRUE, testing::Invoke(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectCachedGroup | |||
) |
Definition at line 740 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, testing::InvokeWithoutArgs(), folly::gen::move, fizz::client::detail::processEvent(), fizz::secp256r1, and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectResendDifferentAlpn | |||
) |
Definition at line 746 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, folly::AsyncSocketException::getType(), testing::Invoke(), and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectResendDifferentNoAlpn | |||
) |
Definition at line 761 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, folly::AsyncSocketException::getType(), testing::Invoke(), and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectNoShares | |||
) |
Definition at line 768 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Connect::sni.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectResendDifferentVersion | |||
) |
Definition at line 776 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, socket_, and fizz::tls_1_2.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskEarly | |||
) |
Definition at line 780 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_TRUE, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectResendDifferentCipher | |||
) |
Definition at line 793 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, socket_, and fizz::TLS_AES_256_GCM_SHA384.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskEarlyNoAlpn | |||
) |
Definition at line 795 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_TRUE, folly::gen::move, folly::none, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectNoClientCert | |||
) |
Definition at line 810 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskEarlyDisabled | |||
) |
Definition at line 812 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::NotAttempted, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskEarlyAlpnMismatch | |||
) |
Definition at line 827 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::NotAttempted, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectNoServerCert | |||
) |
Definition at line 827 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectCompat | |||
) |
Definition at line 842 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Connect::sni.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectDifferentServerIdentity | |||
) |
Definition at line 844 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, testing::Return(), and socket_.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectCompatEarly | |||
) |
Definition at line 855 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectSameServerIdentity | |||
) |
Definition at line 865 of file AsyncFizzClientTest.cpp.
References fizz::client::AutomaticResend, EXPECT_CALL, fizz::sm::getEarlyDataParams(), folly::gen::move, params, and testing::Return().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloFlow | |||
) |
Definition at line 873 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::ClientHandshakeTraffic, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::Handshake, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::NotAttempted, fizz::OneRtt, fizz::client::detail::processEvent(), fizz::ServerHandshakeTraffic, fizz::test::TestMessages::serverHello(), fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectDifferentClientIdentity | |||
) |
Definition at line 880 of file AsyncFizzClientTest.cpp.
References testing::_, testing::AtLeast(), fizz::client::AutomaticResend, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, fizz::sm::getEarlyDataParams(), folly::AsyncSocketException::getType(), testing::Invoke(), folly::gen::move, params, testing::Return(), and socket_.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectSameClientIdentity | |||
) |
Definition at line 901 of file AsyncFizzClientTest.cpp.
References fizz::client::AutomaticResend, EXPECT_CALL, fizz::sm::getEarlyDataParams(), folly::gen::move, params, and testing::Return().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyRejectRemovePsk | |||
) |
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyWriteRejected | |||
) |
Definition at line 922 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, failed, testing::Invoke(), folly::gen::move, fizz::client::ReportEarlyWriteFailed::write, and fizz::detail::write().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestEarlyWriteRejectedNullCallback | |||
) |
Definition at line 934 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, failed, testing::Invoke(), folly::gen::move, fizz::client::ReportEarlyWriteFailed::write, and fizz::detail::write().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestErrorStopsActions | |||
) |
Definition at line 945 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_FALSE, EXPECT_TRUE, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestNewCachedPskActions | |||
) |
Definition at line 956 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, and testing::InvokeWithoutArgs().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloAfterHrrFlow | |||
) |
Definition at line 957 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::ClientHandshakeTraffic, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::Handshake, fizz::HelloRetryRequest, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::NotAttempted, fizz::client::detail::processEvent(), fizz::ServerHandshakeTraffic, fizz::test::TestMessages::serverHello(), fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | AsyncFizzClientTest | , |
TestNewCachedPskActionsWithEmptyPskIdentity | |||
) |
Definition at line 967 of file AsyncFizzClientTest.cpp.
References testing::_, fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, testing::InvokeWithoutArgs(), and folly::none.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskFlow | |||
) |
Definition at line 1033 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::ClientHandshakeTraffic, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::Handshake, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::OneRtt, fizz::client::detail::processEvent(), fizz::Resumption, fizz::ServerHandshakeTraffic, fizz::test::TestMessages::serverHelloPsk(), fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskNoDhFlow | |||
) |
Definition at line 1121 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::ClientHandshakeTraffic, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, fizz::Handshake, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::key_share, folly::gen::move, fizz::None, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), fizz::Resumption, fizz::ServerHandshakeTraffic, fizz::test::TestMessages::serverHelloPsk(), fizz::test::TestProtocolVersion, and fizz::TLS_AES_128_GCM_SHA256.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskAfterHrrFlow | |||
) |
Definition at line 1206 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::ClientHandshakeTraffic, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::Handshake, fizz::HelloRetryRequest, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::client::detail::processEvent(), fizz::Resumption, fizz::ServerHandshakeTraffic, fizz::test::TestMessages::serverHelloPsk(), fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHello | |||
) |
Definition at line 1283 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::client::detail::processEvent(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPsk | |||
) |
Definition at line 1291 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::client::detail::processEvent(), fizz::Resumption, and fizz::test::TestMessages::serverHelloPsk().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskRejected | |||
) |
Definition at line 1301 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::client::detail::processEvent(), fizz::Rejected, and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloExtraData | |||
) |
Definition at line 1311 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_CALL, fizz::client::detail::processEvent(), testing::Return(), fizz::test::TestMessages::serverHello(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloBadVersion | |||
) |
Definition at line 1320 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), folly::gen::move, fizz::client::detail::processEvent(), fizz::protocol_version, fizz::test::TestMessages::removeExtension(), fizz::ServerSupportedVersions::selected_version, fizz::test::TestMessages::serverHello(), fizz::supported_versions, and fizz::tls_1_1.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloBadCipher | |||
) |
Definition at line 1334 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, folly::gen::move, fizz::client::detail::processEvent(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloBadGroup | |||
) |
Definition at line 1343 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::encodeExtension(), fizz::KeyShareEntry::group, fizz::handshake_failure, fizz::KeyShareEntry::key_exchange, fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), fizz::secp256r1, fizz::ServerKeyShare::server_share, fizz::test::TestMessages::serverHello(), and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloNoKeyShare | |||
) |
Definition at line 1358 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloHrrBadVersion | |||
) |
Definition at line 1367 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::client::detail::processEvent(), fizz::test::TestMessages::serverHello(), and fizz::tls_1_2.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloHrrBadCipher | |||
) |
Definition at line 1375 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::client::detail::processEvent(), fizz::test::TestMessages::serverHello(), and fizz::TLS_AES_256_GCM_SHA384.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloHrrBadGroup | |||
) |
Definition at line 1383 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, folly::gen::move, fizz::client::detail::processEvent(), fizz::secp256r1, and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskAcceptedNotSent | |||
) |
Definition at line 1396 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_layer_protocol_negotiation, fizz::illegal_parameter, fizz::key_share, fizz::key_share_old, fizz::client::detail::processEvent(), fizz::server_name, fizz::test::TestMessages::serverHelloPsk(), and fizz::supported_versions.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloOtherPskAccepted | |||
) |
Definition at line 1411 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::illegal_parameter, folly::gen::move, fizz::client::detail::processEvent(), fizz::ServerPresharedKey::selected_identity, and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskDifferentHash | |||
) |
Definition at line 1423 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::client::detail::processEvent(), fizz::test::TestMessages::serverHelloPsk(), and fizz::TLS_AES_256_GCM_SHA384.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskDifferentCompatibleCipher | |||
) |
Definition at line 1434 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::client::detail::processEvent(), fizz::test::TestMessages::serverHelloPsk(), fizz::TLS_AES_128_GCM_SHA256, and fizz::TLS_CHACHA20_POLY1305_SHA256.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskDheNotSupported | |||
) |
Definition at line 1445 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::client::detail::processEvent(), fizz::psk_ke, and fizz::test::TestMessages::serverHelloPsk().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloExtensions | |||
) |
Definition at line 1454 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_CALL, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloPskKeNotSupported | |||
) |
Definition at line 1464 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::psk_dhe_ke, fizz::test::TestMessages::removeExtension(), and fizz::test::TestMessages::serverHelloPsk().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestServerHelloBadSessionId | |||
) |
Definition at line 1475 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::illegal_parameter, folly::gen::move, fizz::client::detail::processEvent(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestConnectPskKeNoShares | |||
) |
Definition at line 1484 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Connect::cachedPsk, folly::netops::connect(), fizz::Connect::context, EXPECT_EQ, EXPECT_TRUE, folly::gen::move, folly::none, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestFlow | |||
) |
Definition at line 1505 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), chlo, fizz::ClientKeyShare::client_shares, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::encodeExtension(), fizz::encodeHandshake(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, fizz::findExtension(), fizz::TLSMessage::fragment, fizz::KeyShareEntry::group, fizz::handshake, fizz::HelloRetryRequest, fizz::test::TestMessages::helloRetryRequest(), testing::Invoke(), testing::InvokeWithoutArgs(), fizz::KeyShareEntry::key_exchange, fizz::key_share, folly::gen::move, fizz::NotAttempted, fizz::Plaintext, fizz::client::detail::processEvent(), random(), fizz::secp256r1, fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, fizz::TLSMessage::type, verifier_, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestPskFlow | |||
) |
Definition at line 1603 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, fizz::detail::getFinishedData(), fizz::handshake, fizz::HelloRetryRequest, fizz::test::TestMessages::helloRetryRequest(), testing::Invoke(), testing::InvokeWithoutArgs(), fizz::NotAttempted, fizz::Plaintext, fizz::client::detail::processEvent(), random(), fizz::ResumptionPskBinder, fizz::secp256r1, fizz::test::TestProtocolVersion, fizz::TLS_AES_128_GCM_SHA256, fizz::TLSMessage::type, verifier_, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequest | |||
) |
Definition at line 1704 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::test::TestMessages::helloRetryRequest(), and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestPskDifferentHash | |||
) |
Definition at line 1713 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, EXPECT_FALSE, fizz::test::TestMessages::helloRetryRequest(), fizz::client::detail::processEvent(), and fizz::TLS_AES_256_GCM_SHA384.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestDoubleHelloRetryRequest | |||
) |
Definition at line 1725 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::HelloRetryRequest, fizz::test::TestMessages::helloRetryRequest(), fizz::client::detail::processEvent(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestBadVersion | |||
) |
Definition at line 1734 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::helloRetryRequest(), folly::gen::move, fizz::client::detail::processEvent(), fizz::protocol_version, fizz::test::TestMessages::removeExtension(), fizz::ServerSupportedVersions::selected_version, fizz::supported_versions, and fizz::tls_1_1.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestBadCipher | |||
) |
Definition at line 1748 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::handshake_failure, fizz::test::TestMessages::helloRetryRequest(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestBadGroup | |||
) |
Definition at line 1757 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::handshake_failure, fizz::test::TestMessages::helloRetryRequest(), fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), and fizz::HelloRetryRequestKeyShare::selected_group.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestGroupAlreadySent | |||
) |
Definition at line 1769 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::alert, fizz::encodeExtension(), EXPECT_EQ, fizz::test::TestMessages::helloRetryRequest(), fizz::illegal_parameter, fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), fizz::HelloRetryRequestKeyShare::selected_group, fizz::detail::write(), and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestNoKeyShare | |||
) |
Definition at line 1785 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, EXPECT_FALSE, fizz::test::TestMessages::helloRetryRequest(), fizz::key_share, folly::gen::move, fizz::client::detail::processEvent(), fizz::test::TestMessages::removeExtension(), fizz::secp256r1, and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestCookie | |||
) |
Definition at line 1802 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), cookie, fizz::Cookie::cookie, folly::IOBuf::copyBuffer(), fizz::encodeExtension(), EXPECT_EQ, EXPECT_THAT, testing::HasSubstr(), fizz::test::TestMessages::helloRetryRequest(), folly::gen::move, fizz::client::detail::processEvent(), folly::gen::range(), and string.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestAttemptedEarly | |||
) |
Definition at line 1816 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, EXPECT_EQ, fizz::test::TestMessages::helloRetryRequest(), fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestHelloRetryRequestCompat | |||
) |
Definition at line 1828 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::change_cipher_spec, EXPECT_EQ, EXPECT_TRUE, fizz::handshake, fizz::test::TestMessages::helloRetryRequest(), fizz::Plaintext, fizz::client::detail::processEvent(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsFlow | |||
) |
Definition at line 1845 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_CALL, EXPECT_EQ, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsPsk | |||
) |
Definition at line 1858 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_CALL, EXPECT_EQ, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsAlpn | |||
) |
Definition at line 1873 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_EQ, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEmptyAlpn | |||
) |
Definition at line 1883 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_layer_protocol_negotiation, fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, folly::gen::move, fizz::client::detail::processEvent(), and fizz::test::TestMessages::removeExtension().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsAlpnMismatch | |||
) |
Definition at line 1895 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsNoAlpn | |||
) |
Definition at line 1903 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_layer_protocol_negotiation, fizz::test::TestMessages::encryptedExt(), EXPECT_EQ, EXPECT_FALSE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::test::TestMessages::removeExtension().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsDisallowedExtension | |||
) |
Definition at line 1916 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsUnrequestedExtension | |||
) |
Definition at line 1927 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_layer_protocol_negotiation, fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, fizz::key_share, folly::gen::move, fizz::pre_shared_key, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyAccepted | |||
) |
Definition at line 1942 of file ClientProtocolTest.cpp.
References fizz::Accepted, fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), EXPECT_EQ, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyRejected | |||
) |
Definition at line 1953 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyAlreadyRejected | |||
) |
Definition at line 1963 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::encryptedExt(), EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyAcceptedHrr | |||
) |
Definition at line 1974 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyCipherMismatch | |||
) |
Definition at line 1986 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, folly::gen::move, fizz::client::detail::processEvent(), and fizz::TLS_CHACHA20_POLY1305_SHA256.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEncryptedExtensionsEarlyAlpnMismatch | |||
) |
Definition at line 1996 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::encodeExtension(), fizz::test::TestMessages::encryptedExt(), fizz::illegal_parameter, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateFlow | |||
) |
Definition at line 2007 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), and testing::Return().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificate | |||
) |
Definition at line 2035 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), folly::IOBuf::copyBuffer(), EXPECT_EQ, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateWithRequestContext | |||
) |
Definition at line 2048 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), folly::IOBuf::copyBuffer(), fizz::illegal_parameter, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateEmpty | |||
) |
Definition at line 2060 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::certificate, fizz::test::TestMessages::certificate(), fizz::illegal_parameter, folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificateFlow | |||
) |
Definition at line 2068 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::CompressedCertificate::algorithm, cc, fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), fizz::CompressedCertificate::compressed_certificate_message, fizz::test::TestMessages::compressedCertificate(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), testing::Return(), fizz::CompressedCertificate::uncompressed_length, and fizz::zlib.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificate | |||
) |
Definition at line 2115 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), cc, fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), fizz::test::TestMessages::compressedCertificate(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), and fizz::zlib.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificateUnknownAlgo | |||
) |
Definition at line 2141 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::bad_certificate, fizz::test::TestMessages::compressedCertificate(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificateDecompressionFailed | |||
) |
Definition at line 2157 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::bad_certificate, cc, fizz::test::TestMessages::compressedCertificate(), EXPECT_CALL, testing::Invoke(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificateWithRequestContext | |||
) |
Definition at line 2175 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), cc, fizz::CertificateEntry::cert_data, fizz::certificate, fizz::test::TestMessages::certificate(), fizz::test::TestMessages::compressedCertificate(), folly::IOBuf::copyBuffer(), EXPECT_CALL, fizz::illegal_parameter, testing::Invoke(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCompressedCertificateEmpty | |||
) |
Definition at line 2200 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), cc, fizz::test::TestMessages::certificate(), fizz::test::TestMessages::compressedCertificate(), EXPECT_CALL, fizz::illegal_parameter, testing::Invoke(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestUnexpectedCompressedCertificate | |||
) |
Definition at line 2218 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::compressedCertificate(), folly::gen::move, fizz::client::detail::processEvent(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyFlow | |||
) |
Definition at line 2226 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::test::TestMessages::certificateVerify(), folly::IOBuf::copyBuffer(), fizz::ecdsa_secp256r1_sha256, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, testing::Invoke(), fizz::client::detail::processEvent(), fizz::Server, verifier_, and verify().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerify | |||
) |
Definition at line 2262 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateVerify(), EXPECT_EQ, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyNoVerifier | |||
) |
Definition at line 2271 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateVerify(), EXPECT_EQ, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyUnsupportedAlgorithm | |||
) |
Definition at line 2281 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateVerify(), fizz::illegal_parameter, fizz::client::detail::processEvent(), and fizz::rsa_pss_sha256.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyFailure | |||
) |
Definition at line 2290 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::bad_record_mac, fizz::test::TestMessages::certificateVerify(), fizz::ecdsa_secp256r1_sha256, EXPECT_CALL, fizz::client::detail::processEvent(), fizz::Server, and verify().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyVerifierFailure | |||
) |
Definition at line 2307 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::bad_record_mac, fizz::test::TestMessages::certificateVerify(), EXPECT_CALL, fizz::client::detail::processEvent(), verifier_, and verify().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateVerifyVerifierFailureOtherException | |||
) |
Definition at line 2318 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::bad_certificate, fizz::test::TestMessages::certificateVerify(), EXPECT_CALL, fizz::client::detail::processEvent(), verifier_, and verify().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestNoCert | |||
) |
Definition at line 2328 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), EXPECT_EQ, folly::gen::move, folly::none, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestDuplicated | |||
) |
Definition at line 2339 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), folly::gen::move, fizz::client::detail::processEvent(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestAlgosMismatch | |||
) |
Definition at line 2353 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), fizz::ecdsa_secp256r1_sha256, fizz::encodeExtension(), EXPECT_CALL, EXPECT_EQ, folly::gen::move, folly::none, fizz::client::detail::processEvent(), testing::Return(), fizz::rsa_pss_sha256, and fizz::SignatureAlgorithms::supported_signature_algorithms.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestContextAlgosUnsupported | |||
) |
Definition at line 2376 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), fizz::ecdsa_secp256r1_sha256, fizz::encodeExtension(), EXPECT_CALL, EXPECT_EQ, folly::gen::move, folly::none, fizz::client::detail::processEvent(), testing::Return(), fizz::rsa_pss_sha256, fizz::rsa_pss_sha512, and fizz::SignatureAlgorithms::supported_signature_algorithms.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestPrefersContextOrder | |||
) |
Definition at line 2400 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), fizz::ecdsa_secp521r1_sha512, fizz::ed25519, fizz::encodeExtension(), EXPECT_CALL, EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), testing::Return(), fizz::rsa_pss_sha512, and fizz::SignatureAlgorithms::supported_signature_algorithms.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestCertificateRequestMatch | |||
) |
Definition at line 2429 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::certificateRequest(), EXPECT_CALL, EXPECT_EQ, folly::gen::move, fizz::client::detail::processEvent(), testing::Return(), and fizz::rsa_pss_sha256.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedFlow | |||
) |
Definition at line 2445 of file ClientProtocolTest.cpp.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedCertNoMatchFlow | |||
) |
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedCertSentFlow | |||
) |
Definition at line 2457 of file ClientProtocolTest.cpp.
References fizz::ecdsa_secp256r1_sha256, and EXPECT_EQ.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedEarlyFlow | |||
) |
Definition at line 2466 of file ClientProtocolTest.cpp.
References testing::_, fizz::Accepted, fizz::client::detail::actions(), fizz::AppTraffic, fizz::ClientAppTraffic, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::EarlyData, fizz::encodeHandshake(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::ExporterMaster, fizz::test::TestMessages::finished(), fizz::TLSMessage::fragment, fizz::detail::getFinishedData(), fizz::Handshake, fizz::handshake, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::client::detail::processEvent(), fizz::ResumptionMaster, fizz::ServerAppTraffic, fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinished | |||
) |
Definition at line 2752 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::test::TestMessages::finished(), and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedExtraData | |||
) |
Definition at line 2760 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_CALL, fizz::test::TestMessages::finished(), fizz::client::detail::processEvent(), testing::Return(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedMismatch | |||
) |
Definition at line 2769 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::bad_record_mac, folly::IOBuf::copyBuffer(), fizz::finished, fizz::test::TestMessages::finished(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedRejectedEarly | |||
) |
Definition at line 2778 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::test::TestMessages::finished(), fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestFinishedCompat | |||
) |
Definition at line 2789 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::change_cipher_spec, EXPECT_EQ, EXPECT_TRUE, fizz::test::TestMessages::finished(), fizz::Handshake, fizz::handshake, fizz::Plaintext, fizz::client::detail::processEvent(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestNewSessionTicket | |||
) |
Definition at line 2805 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_EQ, testing::InvokeWithoutArgs(), folly::gen::move, fizz::test::TestMessages::newSessionTicket(), fizz::client::detail::processEvent(), fizz::Resumption, fizz::tls_1_3, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestNewSessionTicketNonce | |||
) |
Definition at line 2830 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), EXPECT_CALL, testing::InvokeWithoutArgs(), folly::gen::move, fizz::test::TestMessages::newSessionTicket(), nst, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestNewSessionTicketEarlyData | |||
) |
Definition at line 2846 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::encodeExtension(), EXPECT_CALL, EXPECT_EQ, testing::InvokeWithoutArgs(), fizz::TicketEarlyData::max_early_data_size, folly::gen::move, fizz::test::TestMessages::newSessionTicket(), nst, fizz::client::detail::processEvent(), fizz::Resumption, fizz::tls_1_3, fizz::TLS_AES_128_GCM_SHA256, and fizz::x25519.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestAppData | |||
) |
Definition at line 2873 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::appData(), folly::gen::move, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestAppWrite | |||
) |
Definition at line 2881 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::application_data, fizz::test::TestMessages::appWrite(), fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestKeyUpdateNotRequested | |||
) |
Definition at line 2903 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_EQ, fizz::test::TestMessages::keyUpdate(), and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestKeyUpdateExtraData | |||
) |
Definition at line 2910 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), EXPECT_CALL, fizz::test::TestMessages::keyUpdate(), fizz::client::detail::processEvent(), testing::Return(), and fizz::unexpected_message.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestKeyUpdateRequestFlow | |||
) |
Definition at line 2919 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::AppTraffic, fizz::ClientAppTraffic, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::encodeHandshake(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, fizz::handshake, testing::Invoke(), testing::InvokeWithoutArgs(), fizz::test::TestMessages::keyUpdate(), fizz::client::detail::processEvent(), testing::Return(), fizz::ServerAppTraffic, fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestInvalidEarlyWrite | |||
) |
Definition at line 2989 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::test::TestMessages::earlyAppWrite(), folly::none, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingSHEarlyWrite | |||
) |
Definition at line 2996 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::application_data, fizz::Attempted, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::test::TestMessages::earlyAppWrite(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEarlyEncryptionLevelRecvSHLO | |||
) |
Definition at line 3018 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::EarlyData, EXPECT_EQ, fizz::Handshake, fizz::client::detail::processEvent(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEarlyEncryptionLevelRecvFinished | |||
) |
Definition at line 3033 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::EarlyData, EXPECT_EQ, fizz::Handshake, fizz::client::detail::processEvent(), and fizz::test::TestMessages::serverHello().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEarlyWriteCompat | |||
) |
Definition at line 3048 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::application_data, fizz::Attempted, fizz::change_cipher_spec, fizz::test::TestMessages::earlyAppWrite(), fizz::EarlyData, EXPECT_EQ, EXPECT_TRUE, fizz::Plaintext, fizz::client::detail::processEvent(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEarlyWriteCompatCCSAlreadySent | |||
) |
Definition at line 3066 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), fizz::Attempted, fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, and fizz::client::detail::processEvent().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEarlyAcceptedCompatNoEarlyData | |||
) |
Definition at line 3079 of file ClientProtocolTest.cpp.
References fizz::Accepted, fizz::client::detail::actions(), ASSERT_EQ, fizz::change_cipher_spec, fizz::EarlyData, EXPECT_EQ, EXPECT_TRUE, fizz::test::TestMessages::finished(), fizz::Handshake, fizz::handshake, fizz::Plaintext, fizz::client::detail::processEvent(), and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingSHEarlyWriteRejected | |||
) |
Definition at line 3103 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingEEEarlyWrite | |||
) |
Definition at line 3114 of file ClientProtocolTest.cpp.
References testing::_, fizz::client::detail::actions(), fizz::application_data, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::test::TestMessages::earlyAppWrite(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingEEEarlyWriteRejected | |||
) |
Definition at line 3134 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingCertEarlyWriteRejected | |||
) |
Definition at line 3145 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingCertVerifyEarlyWriteRejected | |||
) |
Definition at line 3156 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingFinishedEarlyWrite | |||
) |
Definition at line 3167 of file ClientProtocolTest.cpp.
References testing::_, fizz::Accepted, fizz::client::detail::actions(), fizz::application_data, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::test::TestMessages::earlyAppWrite(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestExpectingFinishedEarlyWriteRejected | |||
) |
Definition at line 3189 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEstablishedEarlyWrite | |||
) |
Definition at line 3200 of file ClientProtocolTest.cpp.
References testing::_, fizz::Accepted, fizz::client::detail::actions(), fizz::application_data, fizz::TLSContent::contentType, folly::IOBuf::copyBuffer(), fizz::TLSContent::data, fizz::test::TestMessages::earlyAppWrite(), fizz::TLSContent::encryptionLevel, EXPECT_CALL, EXPECT_EQ, EXPECT_TRUE, fizz::TLSMessage::fragment, testing::Invoke(), folly::gen::move, fizz::client::detail::processEvent(), fizz::TLSMessage::type, and fizz::detail::write().
fizz::client::test::TEST_F | ( | ClientProtocolTest | , |
TestEstablishedEarlyWriteRejected | |||
) |
Definition at line 3220 of file ClientProtocolTest.cpp.
References fizz::client::detail::actions(), folly::IOBuf::copyBuffer(), fizz::test::TestMessages::earlyAppWrite(), EXPECT_TRUE, folly::gen::move, fizz::client::detail::processEvent(), and fizz::Rejected.