|
proxygen
|
#include <wangle/acceptor/PeekingAcceptorHandshakeHelper.h>#include <thread>#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 | MockPeekingCallback |
| class | PeekingAcceptorHandshakeHelperTest |
Functions | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestPeekSuccess) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestPeekNonSuccess) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestPeek2ndSuccess) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestEOFDuringPeek) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestPeekErr) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestDropDuringPeek) | |
| TEST_F (PeekingAcceptorHandshakeHelperTest, TestDropAfterPeek) | |
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestPeekSuccess | |||
| ) |
Definition at line 95 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, callback_, EXPECT_CALL, folly::gen::move, and testing::Return().
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestPeekNonSuccess | |||
| ) |
Definition at line 107 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, callback_, EXPECT_CALL, folly::gen::move, and testing::Return().
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestPeek2ndSuccess | |||
| ) |
Definition at line 121 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, callback_, EXPECT_CALL, folly::gen::move, and testing::Return().
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestEOFDuringPeek | |||
| ) |
Definition at line 136 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, ASSERT_TRUE, callback_, EXPECT_CALL, folly::gen::move, and folly::AsyncReader::ReadCallback::readEOF().
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestPeekErr | |||
| ) |
Definition at line 147 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, callback_, EXPECT_CALL, and folly::gen::move.
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestDropDuringPeek | |||
| ) |
Definition at line 155 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, testing::AtLeast(), callback_, EXPECT_CALL, testing::Invoke(), folly::gen::move, and cpp.tokenize::UNKNOWN.
| TEST_F | ( | PeekingAcceptorHandshakeHelperTest | , |
| TestDropAfterPeek | |||
| ) |
Definition at line 166 of file PeekingAcceptorHandshakeHelperTest.cpp.
References testing::_, callback_, EXPECT_CALL, folly::gen::move, and testing::Return().