19 #include <gmock/gmock.h> 20 #include <gtest/gtest.h> 33 const std::vector<uint8_t>& ,
35 std::chrono::steady_clock::time_point ,
51 manager_.addPeeker(&p0_);
57 manager_.addPeeker(&p9_);
58 manager_.addPeeker(&p0_);
59 manager_.addPeeker(&p4_);
60 manager_.addPeeker(&p2_);
66 manager_.addPeeker(&p0_);
67 manager_.addPeeker(&p4_);
68 manager_.addPeeker(&p2_);
69 manager_.addPeeker(&p9_);
75 manager_.addPeeker(&p0_);
76 manager_.addPeeker(&p9_);
77 manager_.addPeeker(&p2_);
78 manager_.addPeeker(&p0_);
AcceptorHandshakeHelper::UniquePtr getHelper(const std::vector< uint8_t > &, const folly::SocketAddress &, std::chrono::steady_clock::time_point, TransportInfo &) override
#define EXPECT_EQ(val1, val2)
SecurityProtocolContextManager manager_
std::unique_ptr< AcceptorHandshakeHelper, folly::DelayedDestruction::Destructor > UniquePtr
TEST_F(AcceptorTest, TestCanAcceptWithNoConnectionCounter)