Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
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 95 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 97 of file gmock-nice-strict_test.cc.

97: str_(s) {}
char * 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 99 of file gmock-nice-strict_test.cc.

100 {
101 str_ = std::string() + a1 + a2 + a3 + a4 + static_cast<char>(a5) +
102 static_cast<char>(a6) + a7 + a8 + (a9 ? 'T' : 'F') + (a10 ? 'T' : 'F');
103 }

◆ ~MockBar()

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

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

105{}

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 107 of file gmock-nice-strict_test.cc.

107{ return str_; }

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