v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | List of all members
testing::Matcher< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::Matcher< T >:
Inheritance graph
[legend]
Collaboration diagram for testing::Matcher< T >:
Collaboration graph
[legend]

Public Member Functions

 Matcher ()
 
 Matcher (const MatcherInterface< T > *impl)
 
 Matcher (T value)
 
bool MatchAndExplain (T x, MatchResultListener *listener) const
 
bool Matches (T x) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
void ExplainMatchResultTo (T x,::std::ostream *os) const
 
const MatcherDescriberInterfaceGetDescriber () const
 

Detailed Description

template<typename T>
class testing::Matcher< T >

Definition at line 319 of file gmock-matchers.h.

Constructor & Destructor Documentation

template<typename T>
testing::Matcher< T >::Matcher ( )
inlineexplicit

Definition at line 324 of file gmock-matchers.h.

template<typename T>
testing::Matcher< T >::Matcher ( const MatcherInterface< T > *  impl)
inlineexplicit

Definition at line 327 of file gmock-matchers.h.

template<typename T>
testing::Matcher< T >::Matcher ( value)

Definition at line 3747 of file gmock-matchers.h.

References testing::Eq().

Here is the call graph for this function:

Member Function Documentation

template<typename T>
bool testing::internal::MatcherBase< T >::MatchAndExplain ( x,
MatchResultListener listener 
) const
inlineinherited

Definition at line 256 of file gmock-matchers.h.

Referenced by testing::internal::MatchPrintAndExplain().

Here is the caller graph for this function:

template<typename T>
bool testing::internal::MatcherBase< T >::Matches ( x) const
inlineinherited

Definition at line 261 of file gmock-matchers.h.

Referenced by testing::internal::MatchPrintAndExplain(), and TEST().

Here is the caller graph for this function:

template<typename T>
void testing::internal::MatcherBase< T >::DescribeTo ( ::std::ostream *  os) const
inlineinherited

Definition at line 267 of file gmock-matchers.h.

Referenced by testing::internal::PredicateFormatterFromMatcher< M >::operator()().

Here is the caller graph for this function:

template<typename T>
void testing::internal::MatcherBase< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlineinherited

Definition at line 270 of file gmock-matchers.h.

template<typename T>
void testing::internal::MatcherBase< T >::ExplainMatchResultTo ( x,
::std::ostream *  os 
) const
inlineinherited

Definition at line 275 of file gmock-matchers.h.

template<typename T>
const MatcherDescriberInterface* testing::internal::MatcherBase< T >::GetDescriber ( ) const
inlineinherited

Definition at line 283 of file gmock-matchers.h.


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