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 ()
 
 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))
 
- Public Member Functions inherited from testing::gmock_function_mocker_test::FooInterface
virtual ~FooInterface ()
 
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

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (LegacyMockFoo)
 

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 188 of file gmock-function-mocker_test.cc.

Constructor & Destructor Documentation

testing::gmock_function_mocker_test::LegacyMockFoo::LegacyMockFoo ( )
inline

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

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)   
)
testing::gmock_function_mocker_test::LegacyMockFoo::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( LegacyMockFoo  )
private

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