ARB
|
#include <test_unit.h>
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 char * | relation (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 |
![]() | |
virtual | ~matcher () |
can match things. More... | |
HASTOBE_CLONABLE (matcher) | |
Definition at line 706 of file test_unit.h.
|
inline |
Definition at line 709 of file test_unit.h.
|
inline |
Definition at line 710 of file test_unit.h.
|
pure virtual |
Implemented in arb_test::predicate_matcher< T, FUNC >.
Referenced by arb_test::value_matcher< T >::dump_expectation(), and arb_test::value_matcher< T >::matches().
|
pure virtual |
Implemented in arb_test::predicate_matcher< T, FUNC >.
Referenced by arb_test::value_matcher< T >::dump_brief_description(), and arb_test::value_matcher< T >::dump_expectation().
|
inline |
Definition at line 715 of file test_unit.h.
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 717 of file test_unit.h.
References arb_test::value_matcher< T >::matches().
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 722 of file test_unit.h.
References diff(), arb_test::value_matcher< T >::matches(), arb_test::print(), arb_test::print_indent(), and arb_test::value_matcher< T >::relation().
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 740 of file test_unit.h.
References arb_test::print(), and arb_test::value_matcher< T >::relation().