Definition at line 4612 of file gmock-matchers_test.cc.
◆ DivisibleByImpl()
testing::gmock_matchers_test::DivisibleByImpl::DivisibleByImpl |
( |
int | a_divider | ) |
|
|
inlineexplicit |
◆ DescribeNegationTo()
void testing::gmock_matchers_test::DivisibleByImpl::DescribeNegationTo |
( |
ostream * | os | ) |
const |
|
inline |
◆ DescribeTo()
void testing::gmock_matchers_test::DivisibleByImpl::DescribeTo |
( |
ostream * | os | ) |
const |
|
inline |
◆ divider()
int testing::gmock_matchers_test::DivisibleByImpl::divider |
( |
| ) |
const |
|
inline |
◆ MatchAndExplain()
bool testing::gmock_matchers_test::DivisibleByImpl::MatchAndExplain |
( |
const T & | n, |
|
|
MatchResultListener * | listener ) const |
|
inline |
Definition at line 4618 of file gmock-matchers_test.cc.
4618 {
4619 *listener << "which is " << (n % divider_) << " modulo "
4620 << divider_;
4621 return (n % divider_) == 0;
4622 }
◆ set_divider()
void testing::gmock_matchers_test::DivisibleByImpl::set_divider |
( |
int | a_divider | ) |
|
|
inline |
The documentation for this class was generated from the following file: