proxygen
fizz::test::MockCertificateDecompressor Class Reference

#include <Mocks.h>

Inheritance diagram for fizz::test::MockCertificateDecompressor:
fizz::CertificateDecompressor

Public Member Functions

 MOCK_CONST_METHOD0 (getAlgorithm, CertificateCompressionAlgorithm())
 
 MOCK_METHOD1 (decompress, CertificateMsg(const CompressedCertificate &))
 
void setDefaults ()
 
- Public Member Functions inherited from fizz::CertificateDecompressor
virtual ~CertificateDecompressor ()=default
 
virtual CertificateCompressionAlgorithm getAlgorithm () const =0
 
virtual CertificateMsg decompress (const CompressedCertificate &)=0
 

Detailed Description

Definition at line 238 of file Mocks.h.

Member Function Documentation

fizz::test::MockCertificateDecompressor::MOCK_CONST_METHOD0 ( getAlgorithm  ,
CertificateCompressionAlgorithm()   
)
fizz::test::MockCertificateDecompressor::MOCK_METHOD1 ( decompress  ,
CertificateMsg(const CompressedCertificate &)   
)
void fizz::test::MockCertificateDecompressor::setDefaults ( )
inline

Definition at line 242 of file Mocks.h.

References testing::InvokeWithoutArgs(), and ON_CALL.

242  {
243  ON_CALL(*this, getAlgorithm()).WillByDefault(InvokeWithoutArgs([]() {
245  }));
246  }
PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > InvokeWithoutArgs(FunctionImpl function_impl)
virtual CertificateCompressionAlgorithm getAlgorithm() const =0
#define ON_CALL(obj, call)

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