template <typename Predicate>

class TrulyMatcher

Defined at line 1563 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

Used for implementing Truly(pred), which turns a predicate into a

matcher.

Public Methods

void TrulyMatcher<Predicate> (Predicate pred)

Defined at line 1565 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

template <typename T>
bool MatchAndExplain (T & x, MatchResultListener * listener)

This method template allows Truly(pred) to be used as a matcher

for type T where T is the argument type of predicate 'pred'. The

argument is passed by reference as the predicate may be

interested in the address of the argument.

Defined at line 1572 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

void DescribeTo (::std::ostream * os)

Defined at line 1585 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

void DescribeNegationTo (::std::ostream * os)

Defined at line 1589 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h