Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | List of all members
testing::gmock_function_mocker_test::LegacyMockFoo Class Reference
Inheritance diagram for testing::gmock_function_mocker_test::LegacyMockFoo:
Inheritance graph
[legend]

Public Member Functions

 LegacyMockFoo ()=default
 
 MOCK_METHOD1 (VoidReturning, void(int n))
 
 MOCK_METHOD0 (Nullary, int())
 
 MOCK_METHOD1 (Unary, bool(int))
 
 MOCK_METHOD2 (Binary, long(short, int))
 
 MOCK_METHOD10 (Decimal, int(bool, char, short, int, long, float, double, unsigned, char *, const std::string &str))
 
 MOCK_METHOD1 (TakesNonConstReference, bool(int &))
 
 MOCK_METHOD1 (TakesConstReference, std::string(const int &))
 
 MOCK_METHOD1 (TakesConst, bool(const int))
 
 MOCK_METHOD0 (ReturnTypeWithComma, std::map< int, std::string >())
 
 MOCK_CONST_METHOD1 (ReturnTypeWithComma, std::map< int, std::string >(int))
 
 MOCK_METHOD0 (OverloadedOnArgumentNumber, int())
 
 MOCK_METHOD1 (OverloadedOnArgumentNumber, int(int))
 
 MOCK_METHOD1 (OverloadedOnArgumentType, int(int))
 
 MOCK_METHOD1 (OverloadedOnArgumentType, char(char))
 
 MOCK_METHOD0 (OverloadedOnConstness, int())
 
 MOCK_CONST_METHOD0 (OverloadedOnConstness, char())
 
 MOCK_METHOD1 (TypeWithHole, int(int(*)()))
 
 MOCK_METHOD1 (TypeWithComma, int(const std::map< int, std::string > &))
 
 MOCK_METHOD1 (TypeWithTemplatedCopyCtor, int(const TemplatedCopyable< int > &))
 
 MOCK_METHOD1 (ReturnsFunctionPointer1, int(*(int))(bool))
 
 MOCK_METHOD1 (ReturnsFunctionPointer2, fn_ptr(int))
 
int RefQualifiedConstRef () const &override
 
int RefQualifiedConstRefRef () const &&override
 
int RefQualifiedRef ()&override
 
int RefQualifiedRefRef ()&&override
 
int RefQualifiedOverloaded () const &override
 
int RefQualifiedOverloaded () const &&override
 
int RefQualifiedOverloaded ()&override
 
int RefQualifiedOverloaded ()&&override
 
- Public Member Functions inherited from testing::gmock_function_mocker_test::FooInterface
virtual ~FooInterface ()=default
 
virtual void VoidReturning (int x)=0
 
virtual int Nullary ()=0
 
virtual bool Unary (int x)=0
 
virtual long Binary (short x, int y)=0
 
virtual int Decimal (bool b, char c, short d, int e, long f, float g, double h, unsigned i, char *j, const std::string &k)=0
 
virtual bool TakesNonConstReference (int &n)=0
 
virtual std::string TakesConstReference (const int &n)=0
 
virtual bool TakesConst (const int x)=0
 
virtual int OverloadedOnArgumentNumber ()=0
 
virtual int OverloadedOnArgumentNumber (int n)=0
 
virtual int OverloadedOnArgumentType (int n)=0
 
virtual char OverloadedOnArgumentType (char c)=0
 
virtual int OverloadedOnConstness ()=0
 
virtual char OverloadedOnConstness () const =0
 
virtual int TypeWithHole (int(*func)())=0
 
virtual int TypeWithComma (const std::map< int, std::string > &a_map)=0
 
virtual int TypeWithTemplatedCopyCtor (const TemplatedCopyable< int > &)=0
 
virtual fn_ptr ReturnsFunctionPointer2 (int)=0
 

Private Member Functions

 LegacyMockFoo (const LegacyMockFoo &)=delete
 
LegacyMockFoooperator= (const LegacyMockFoo &)=delete
 

Additional Inherited Members

- Public Types inherited from testing::gmock_function_mocker_test::FooInterface
using fn_ptr = int(*)(bool)
 
- Public Attributes inherited from testing::gmock_function_mocker_test::FooInterface
virtual int(*)(bool) ReturnsFunctionPointer1 (int)
 

Detailed Description

Definition at line 209 of file gmock-function-mocker_test.cc.

Constructor & Destructor Documentation

testing::gmock_function_mocker_test::LegacyMockFoo::LegacyMockFoo ( )
default
testing::gmock_function_mocker_test::LegacyMockFoo::LegacyMockFoo ( const LegacyMockFoo )
privatedelete

Member Function Documentation

testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( VoidReturning  ,
void(int n  
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD0 ( Nullary  ,
int()   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( Unary  ,
bool(int)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD2 ( Binary  ,
long(short, int)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD10 ( Decimal  ,
int(bool, char, short, int, long, float, double, unsigned, char *, const std::string &str)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TakesNonConstReference  ,
bool(int &)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TakesConstReference  ,
std::  stringconst int & 
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TakesConst  ,
bool(const int)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD0 ( ReturnTypeWithComma  ,
std::map< int, std::string >  () 
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_CONST_METHOD1 ( ReturnTypeWithComma  ,
std::map< int, std::string >  int 
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD0 ( OverloadedOnArgumentNumber  ,
int()   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( OverloadedOnArgumentNumber  ,
int(int)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( OverloadedOnArgumentType  ,
int(int)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( OverloadedOnArgumentType  ,
char(char)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD0 ( OverloadedOnConstness  ,
int()   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_CONST_METHOD0 ( OverloadedOnConstness  ,
char()   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TypeWithHole  ,
int(int(*)())   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TypeWithComma  ,
int(const std::map< int, std::string > &)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( TypeWithTemplatedCopyCtor  ,
int(const TemplatedCopyable< int > &)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( ReturnsFunctionPointer1  ,
int(*(int))(bool)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::MOCK_METHOD1 ( ReturnsFunctionPointer2  ,
fn_ptr(int)   
)
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedConstRef ( ) const
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedConstRefRef ( ) const
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedRef ( )
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedRefRef ( )
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedOverloaded ( ) const
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedOverloaded ( ) const
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedOverloaded ( )
inlineoverridevirtual
int testing::gmock_function_mocker_test::LegacyMockFoo::RefQualifiedOverloaded ( )
inlineoverridevirtual
LegacyMockFoo& testing::gmock_function_mocker_test::LegacyMockFoo::operator= ( const LegacyMockFoo )
privatedelete

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