ARB
Public Member Functions | List of all members
arb_test::value_matcher< T > Class Template Referenceabstract

#include <test_unit.h>

Inheritance diagram for arb_test::value_matcher< T >:
Inheritance graph
[legend]
Collaboration diagram for arb_test::value_matcher< T >:
Collaboration graph
[legend]

Public Member Functions

 value_matcher (const matchable_value< T > &expected_)
 
 ~value_matcher () OVERRIDE
 
virtual bool matches (const copy< T > &v1, const copy< T > &v2) const =0
 
virtual const charrelation (bool isMatch) const =0
 
const matchable_value< T > & get_expected () const
 
bool matches (const matchable &thing) const FINAL_OVERRIDE
 
void dump_expectation (const matchable &thing, int indent) const OVERRIDE
 
void dump_brief_description (const matchable &thing) const OVERRIDE
 
- Public Member Functions inherited from arb_test::matcher
virtual ~matcher ()
 can match things. More...
 
 HASTOBE_CLONABLE (matcher)
 

Detailed Description

template<typename T>
class arb_test::value_matcher< T >

Definition at line 695 of file test_unit.h.

Constructor & Destructor Documentation

template<typename T >
arb_test::value_matcher< T >::value_matcher ( const matchable_value< T > &  expected_)
inline

Definition at line 698 of file test_unit.h.

template<typename T >
arb_test::value_matcher< T >::~value_matcher ( )
inline

Definition at line 699 of file test_unit.h.

Member Function Documentation

template<typename T >
virtual bool arb_test::value_matcher< T >::matches ( const copy< T > &  v1,
const copy< T > &  v2 
) const
pure virtual
template<typename T >
virtual const char* arb_test::value_matcher< T >::relation ( bool  isMatch) const
pure virtual
template<typename T >
const matchable_value<T>& arb_test::value_matcher< T >::get_expected ( ) const
inline

Definition at line 704 of file test_unit.h.

template<typename T >
bool arb_test::value_matcher< T >::matches ( const matchable thing) const
inlinevirtual

Implements arb_test::matcher.

Definition at line 706 of file test_unit.h.

References arb_test::value_matcher< T >::matches().

template<typename T >
void arb_test::value_matcher< T >::dump_expectation ( const matchable thing,
int  indent 
) const
inlinevirtual
template<typename T >
void arb_test::value_matcher< T >::dump_brief_description ( const matchable thing) const
inlinevirtual

Implements arb_test::matcher.

Definition at line 729 of file test_unit.h.

References arb_test::print(), and arb_test::value_matcher< T >::relation().


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