9 #include <gmock/gmock.h> 10 #include <gtest/gtest.h> 16 using namespace folly;
23 class MockClientStateMachineInstance :
public MockClientStateMachine {
51 context_ = std::make_shared<FizzClientContext>();
58 std::unique_ptr<TestFizzClient, DelayedDestruction::Destructor>
fizzClient_;
63 *MockClientStateMachineInstance::instance,
64 _processConnect(
_,
_,
_,
_,
_,
_))
67 fizzClient_->fizzClient_.connect(context_,
nullptr,
sni,
folly::none);
73 *MockClientStateMachineInstance::instance,
74 _processConnect(
_,
_,
_,
_,
_,
_))
78 std::shared_ptr<const FizzClientContext>
context,
79 std::shared_ptr<const CertificateVerifier> verifier,
82 const std::shared_ptr<ClientExtensions>& extensions) {
91 fizzClient_->fizzClient_.connect(
92 context_,
nullptr, sni,
std::move(cachedPsk));
#define EXPECT_EQ(val1, val2)
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > InvokeWithoutArgs(FunctionImpl function_impl)
std::unique_ptr< TestFizzClient, DelayedDestruction::Destructor > fizzClient_
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke(FunctionImpl function_impl)
std::vector< Action > Actions
FizzClient< ActionMoveVisitor, MockClientStateMachineInstance > fizzClient_
TEST_F(AsyncSSLSocketWriteTest, write_coalescing1)
std::shared_ptr< FizzClientContext > context_
#define EXPECT_TRUE(condition)
MockClientStateMachineInstance()
#define EXPECT_CALL(obj, call)
const internal::AnythingMatcher _
ActionMoveVisitor visitor_