|
proxygen
|
#include <wangle/acceptor/EvbHandshakeHelper.h>#include <chrono>#include <thread>#include <folly/synchronization/Baton.h>#include <folly/futures/Barrier.h>#include <folly/io/async/ScopedEventBaseThread.h>#include <folly/io/async/test/MockAsyncSSLSocket.h>#include <folly/portability/GMock.h>#include <folly/portability/GTest.h>#include <wangle/acceptor/test/AcceptorHelperMocks.h>Go to the source code of this file.
Classes | |
| class | EvbHandshakeHelperTest |
Functions | |
| TEST_F (EvbHandshakeHelperTest, TestSuccessPath) | |
| TEST_F (EvbHandshakeHelperTest, TestFailPath) | |
| TEST_F (EvbHandshakeHelperTest, TestDropConnection) | |
| TEST_F (EvbHandshakeHelperTest, TestDropConnectionTricky) | |
| TEST_F | ( | EvbHandshakeHelperTest | , |
| TestSuccessPath | |||
| ) |
Definition at line 80 of file EvbHandshakeHelperTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, FAIL, testing::Invoke(), folly::gen::move, folly::none, folly::Baton< MayBlock, Atom >::post(), s, and folly::Baton< MayBlock, Atom >::try_wait_for().
| TEST_F | ( | EvbHandshakeHelperTest | , |
| TestFailPath | |||
| ) |
Definition at line 114 of file EvbHandshakeHelperTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, EXPECT_NE, EXPECT_TRUE, FAIL, testing::Invoke(), folly::gen::move, folly::none, folly::Baton< MayBlock, Atom >::post(), s, and folly::Baton< MayBlock, Atom >::try_wait_for().
| TEST_F | ( | EvbHandshakeHelperTest | , |
| TestDropConnection | |||
| ) |
Definition at line 148 of file EvbHandshakeHelperTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, FAIL, testing::Invoke(), folly::gen::move, folly::Baton< MayBlock, Atom >::post(), folly::Baton< MayBlock, Atom >::reset(), s, and folly::Baton< MayBlock, Atom >::try_wait_for().
| TEST_F | ( | EvbHandshakeHelperTest | , |
| TestDropConnectionTricky | |||
| ) |
Definition at line 193 of file EvbHandshakeHelperTest.cpp.
References testing::_, testing::AtMost(), EXPECT_CALL, EXPECT_EQ, EXPECT_FALSE, FAIL, testing::Invoke(), folly::gen::move, folly::Baton< MayBlock, Atom >::post(), folly::Baton< MayBlock, Atom >::reset(), s, folly::Baton< MayBlock, Atom >::try_wait_for(), and folly::futures::Barrier::wait().