proxygen
fizz::client::test::MockHandshakeCallbackT< SM > Class Template Reference

#include <Mocks.h>

Inheritance diagram for fizz::client::test::MockHandshakeCallbackT< SM >:
fizz::client::AsyncFizzClientT< SM >::HandshakeCallback

Public Member Functions

 MOCK_METHOD0 (_fizzHandshakeSuccess, void())
 
void fizzHandshakeSuccess (AsyncFizzClientT< SM > *) noexceptoverride
 
 MOCK_METHOD1 (_fizzHandshakeError, void(folly::exception_wrapper))
 
void fizzHandshakeError (AsyncFizzClientT< SM > *, folly::exception_wrapper ew) noexceptoverride
 
- Public Member Functions inherited from fizz::client::AsyncFizzClientT< SM >::HandshakeCallback
virtual ~HandshakeCallback ()=default
 

Detailed Description

template<typename SM>
class fizz::client::test::MockHandshakeCallbackT< SM >

Definition at line 72 of file Mocks.h.

Member Function Documentation

template<typename SM>
void fizz::client::test::MockHandshakeCallbackT< SM >::fizzHandshakeError ( AsyncFizzClientT< SM > *  ,
folly::exception_wrapper  ew 
)
inlineoverridevirtualnoexcept

Implements fizz::client::AsyncFizzClientT< SM >::HandshakeCallback.

Definition at line 80 of file Mocks.h.

82  {
83  _fizzHandshakeError(std::move(ew));
84  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
template<typename SM>
void fizz::client::test::MockHandshakeCallbackT< SM >::fizzHandshakeSuccess ( AsyncFizzClientT< SM > *  )
inlineoverridevirtualnoexcept

Implements fizz::client::AsyncFizzClientT< SM >::HandshakeCallback.

Definition at line 75 of file Mocks.h.

75  {
76  _fizzHandshakeSuccess();
77  }
template<typename SM>
fizz::client::test::MockHandshakeCallbackT< SM >::MOCK_METHOD0 ( _fizzHandshakeSuccess  ,
void()   
)
template<typename SM>
fizz::client::test::MockHandshakeCallbackT< SM >::MOCK_METHOD1 ( _fizzHandshakeError  ,
void(folly::exception_wrapper  
)

The documentation for this class was generated from the following file: