tesseract v5.3.3.20231005
testing::gmock_nice_strict_test::MockBar Class Reference

Public Member Functions

 MockBar (const std::string &s)
 
 MockBar (char a1, char a2, std::string a3, std::string a4, int a5, int a6, const std::string &a7, const std::string &a8, bool a9, bool a10)
 
virtual ~MockBar ()
 
const std::string & str () const
 
 MOCK_METHOD0 (This, int())
 
 MOCK_METHOD2 (That, std::string(int, bool))
 

Detailed Description

Definition at line 99 of file gmock-nice-strict_test.cc.

Constructor & Destructor Documentation

◆ MockBar() [1/2]

testing::gmock_nice_strict_test::MockBar::MockBar ( const std::string &  s)
inlineexplicit

Definition at line 101 of file gmock-nice-strict_test.cc.

101: str_(s) {}

◆ MockBar() [2/2]

testing::gmock_nice_strict_test::MockBar::MockBar ( char  a1,
char  a2,
std::string  a3,
std::string  a4,
int  a5,
int  a6,
const std::string &  a7,
const std::string &  a8,
bool  a9,
bool  a10 
)
inline

Definition at line 103 of file gmock-nice-strict_test.cc.

104 {
105 str_ = std::string() + a1 + a2 + a3 + a4 + static_cast<char>(a5) +
106 static_cast<char>(a6) + a7 + a8 + (a9 ? 'T' : 'F') + (a10 ? 'T' : 'F');
107 }

◆ ~MockBar()

virtual testing::gmock_nice_strict_test::MockBar::~MockBar ( )
inlinevirtual

Definition at line 109 of file gmock-nice-strict_test.cc.

109{}

Member Function Documentation

◆ MOCK_METHOD0()

testing::gmock_nice_strict_test::MockBar::MOCK_METHOD0 ( This  ,
int()   
)

◆ MOCK_METHOD2()

testing::gmock_nice_strict_test::MockBar::MOCK_METHOD2 ( That  ,
std::string(int, bool)   
)

◆ str()

const std::string & testing::gmock_nice_strict_test::MockBar::str ( ) const
inline

Definition at line 111 of file gmock-nice-strict_test.cc.

111{ return str_; }

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