|
proxygen
|
Public Member Functions | |
| void | SetUp () override |
| void | resetTransports () |
| void | resetTransportsAndStartCookieHandshake () |
| void | resetTransportsAndDoCookieHandshake () |
| void | doHandshake () |
| void | doClientHandshake () |
| void | doServerHandshake () |
| void | expectClientSuccess () |
| void | expectServerSuccess () |
| void | expectSuccess () |
| void | expectError (const std::string &clientStr, const std::string &serverStr) |
| void | expectServerError (const std::string &clientError, const std::string &serverError) |
| void | clientWrite (StringPiece write) |
| void | serverWrite (StringPiece write) |
| void | expectClientRead (StringPiece read) |
| void | expectServerRead (StringPiece read) |
| void | expectEarlyDataRejectError () |
| void | expectReplaySafety () |
| void | sendAppData () |
| void | verifyEarlyParameters () |
| void | verifyParameters () |
| void | setupResume () |
| void | setupResumeWithHRR () |
Public Member Functions inherited from testing::Test | |
| virtual | ~Test () |
| virtual | ~Test () |
| virtual | ~Test () |
Static Public Member Functions | |
| static bool | certsMatch (const std::shared_ptr< const Cert > &a, const std::shared_ptr< const Cert > &b) |
Static Public Member Functions inherited from testing::Test | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| static bool | HasFatalFailure () |
| static bool | HasNonfatalFailure () |
| static bool | HasFailure () |
| static void | RecordProperty (const std::string &key, const std::string &value) |
| static void | RecordProperty (const std::string &key, int value) |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| static bool | HasFatalFailure () |
| static bool | HasNonfatalFailure () |
| static bool | HasFailure () |
| static void | RecordProperty (const std::string &key, const std::string &value) |
| static void | RecordProperty (const std::string &key, int value) |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| static bool | HasFatalFailure () |
| static bool | HasNonfatalFailure () |
| static bool | HasFailure () |
| static void | RecordProperty (const std::string &key, const std::string &value) |
| static void | RecordProperty (const std::string &key, int value) |
Protected Attributes | |
| EventBase | evb_ |
| std::shared_ptr< FizzClientContext > | clientContext_ |
| std::shared_ptr< FizzServerContext > | serverContext_ |
| AsyncFizzClient::UniquePtr | client_ |
| AsyncFizzServer::UniquePtr | server_ |
| std::shared_ptr< AES128CookieCipher > | cookieCipher_ |
| fizz::client::test::MockHandshakeCallback | clientCallback_ |
| fizz::server::test::MockHandshakeCallback | serverCallback_ |
| folly::test::MockReadCallback | readCallback_ |
| std::shared_ptr< fizz::ClientExtensions > | clientExtensions_ |
| std::shared_ptr< fizz::ServerExtensions > | serverExtensions_ |
| LocalTransport * | clientTransport_ |
| LocalTransport * | serverTransport_ |
| MockReadCallback | clientRead_ |
| MockReadCallback | serverRead_ |
| MockReplaySafetyCallback | replayCallback_ |
| ExpectedParameters | expected_ |
Additional Inherited Members | |
Public Types inherited from testing::Test | |
| typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
| typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
| typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
| typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
| typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
| typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
Protected Member Functions inherited from testing::Test | |
| Test () | |
| virtual void | TearDown () |
| Test () | |
| virtual void | TearDown () |
| Test () | |
| virtual void | TearDown () |
Definition at line 56 of file HandshakeTest.cpp.
|
inlinestatic |
|
inline |
Definition at line 253 of file HandshakeTest.cpp.
References folly::IOBuf::copyBuffer().
|
inline |
Definition at line 188 of file HandshakeTest.cpp.
References evb_, folly::EventBase::loop(), folly::none, and string.
|
inline |
Definition at line 181 of file HandshakeTest.cpp.
References evb_, folly::EventBase::loop(), folly::none, and string.
|
inline |
Definition at line 194 of file HandshakeTest.cpp.
References evb_, and folly::EventBase::loop().
|
inline |
|
inline |
Definition at line 199 of file HandshakeTest.cpp.
References testing::_, EXPECT_CALL, FAIL, testing::Invoke(), ON_CALL, folly::basic_fbstring< E, T, A, Storage >::toStdString(), and folly::exception_wrapper::what().
|
inline |
Definition at line 269 of file HandshakeTest.cpp.
References testing::_, folly::AsyncSocketException::EARLY_DATA_REJECTED, EXPECT_CALL, EXPECT_EQ, folly::AsyncSocketException::getType(), and testing::Invoke().
|
inline |
Definition at line 227 of file HandshakeTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_THAT, testing::HasSubstr(), testing::Invoke(), folly::basic_fbstring< E, T, A, Storage >::toStdString(), and folly::exception_wrapper::what().
|
inline |
Definition at line 276 of file HandshakeTest.cpp.
References EXPECT_CALL.
|
inline |
Definition at line 238 of file HandshakeTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_THAT, testing::HasSubstr(), testing::Invoke(), string, folly::basic_fbstring< E, T, A, Storage >::toStdString(), and folly::exception_wrapper::what().
|
inline |
|
inline |
Definition at line 213 of file HandshakeTest.cpp.
References testing::_, EXPECT_CALL, FAIL, testing::Invoke(), ON_CALL, folly::basic_fbstring< E, T, A, Storage >::toStdString(), and folly::exception_wrapper::what().
|
inline |
Definition at line 222 of file HandshakeTest.cpp.
|
inline |
Definition at line 126 of file HandshakeTest.cpp.
References clientContext_, evb_, and folly::gen::move.
|
inline |
Definition at line 176 of file HandshakeTest.cpp.
|
inline |
Definition at line 142 of file HandshakeTest.cpp.
References testing::_, clientContext_, folly::IOBuf::copyBuffer(), folly::Range< Iter >::data(), evb_, EXPECT_CALL, EXPECT_EQ, testing::Invoke(), folly::gen::move, ON_CALL, fizz::detail::readBuf(), retry, and testing::Return().
|
inline |
Definition at line 280 of file HandshakeTest.cpp.
|
inline |
Definition at line 257 of file HandshakeTest.cpp.
References folly::IOBuf::copyBuffer().
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 58 of file HandshakeTest.cpp.
References ASSERT_EQ, clientCert, clientContext_, fizz::test::getCert(), fizz::test::getPrivateKey(), bm::init(), fizz::test::kClientAuthCACert, fizz::test::kClientAuthClientCert, fizz::test::kClientAuthClientKey, fizz::test::kP256Certificate, fizz::test::kP256Key, fizz::test::kP384Certificate, fizz::test::kP384Key, fizz::test::kP521Certificate, fizz::test::kP521Key, fizz::test::kRSACertificate, fizz::test::kRSAKey, folly::gen::move, ON_CALL, folly::range(), and testing::Return().
|
inline |
Definition at line 337 of file HandshakeTest.cpp.
References folly::none.
|
inline |
Definition at line 347 of file HandshakeTest.cpp.
References folly::none.
|
inline |
Definition at line 297 of file HandshakeTest.cpp.
References EXPECT_EQ, and EXPECT_TRUE.
|
inline |
Definition at line 307 of file HandshakeTest.cpp.
References EXPECT_EQ, and EXPECT_TRUE.
|
protected |
Definition at line 367 of file HandshakeTest.cpp.
|
protected |
Definition at line 372 of file HandshakeTest.cpp.
|
protected |
Definition at line 365 of file HandshakeTest.cpp.
|
protected |
Definition at line 377 of file HandshakeTest.cpp.
|
protected |
Definition at line 383 of file HandshakeTest.cpp.
|
protected |
Definition at line 380 of file HandshakeTest.cpp.
|
protected |
Definition at line 370 of file HandshakeTest.cpp.
|
protected |
Definition at line 364 of file HandshakeTest.cpp.
|
protected |
Definition at line 388 of file HandshakeTest.cpp.
|
protected |
Definition at line 375 of file HandshakeTest.cpp.
|
protected |
Definition at line 386 of file HandshakeTest.cpp.
|
protected |
Definition at line 368 of file HandshakeTest.cpp.
|
protected |
Definition at line 373 of file HandshakeTest.cpp.
|
protected |
Definition at line 366 of file HandshakeTest.cpp.
|
protected |
Definition at line 378 of file HandshakeTest.cpp.
|
protected |
Definition at line 384 of file HandshakeTest.cpp.
|
protected |
Definition at line 381 of file HandshakeTest.cpp.