ARB
|
#include <test_unit.h>
Public Member Functions | |
matchable_value (copy< T > val_, const char *nontemp_code) | |
matchable_value (const matchable_value< T > &other) | |
DECLARE_ASSIGNMENT_OPERATOR (matchable_value) | |
MAKE_CLONABLE (matchable_value< T >) | |
const copy< T > & | value () const |
char * | gen_description () const |
const char * | name () const OVERRIDE |
const char * | readable_value () const OVERRIDE |
template<typename U > | |
match_expectation | equals_expectation (bool invert, const U &other, const char *code) const |
template<typename U > | |
match_expectation | lessThan_expectation (bool invert, const U &other, const char *code) const |
template<typename U > | |
match_expectation | moreThan_expectation (bool invert, const U &other, const char *code) const |
match_expectation | null_expectation (bool wantNULL) const |
template<typename FUNC > | |
match_expectation | predicate_expectation (bool wanted, predicate< FUNC > pred, matchable_value< T > arg) const |
template<typename U , typename FUNC > | |
match_expectation | predicate_expectation (bool wanted, FUNC pred, const char *pred_code, const U &arg, const char *arg_code) const |
MAKE_CLONABLE (group_matcher) | |
bool | matches (const matchable &thing) const OVERRIDE |
void | dump_expectation (const matchable &thing, int indent) const OVERRIDE |
match_expectation | of (const expectation &e) const |
match_expectation | of (const expectation &e1, const expectation &e2) const |
match_expectation | of (const expectation &e1, const expectation &e2, const expectation &e3) const |
match_expectation | of (const expectation &e1, const expectation &e2, const expectation &e3, const expectation &e4) const |
match_expectation | ofgroup (const expectation_group &group) |
void | dump_brief_description (const matchable &thing) const OVERRIDE |
![]() | |
virtual | ~matcher () |
can match things. More... | |
HASTOBE_CLONABLE (matcher) | |
![]() | |
virtual | ~matchable () |
can be matched with corresponding matcher. More... | |
HASTOBE_CLONABLE (matchable) | |
Static Public Member Functions | |
static group_matcher | all () |
static group_matcher | none () |
static group_matcher | atleast (int min_) |
static group_matcher | atmost (int max_) |
static group_matcher | exactly (int amount) |
Definition at line 649 of file test_unit.h.
|
inline |
Definition at line 654 of file test_unit.h.
|
inline |
Definition at line 655 of file test_unit.h.
arb_test::FINAL_TYPE< T >::DECLARE_ASSIGNMENT_OPERATOR | ( | matchable_value | ) |
arb_test::FINAL_TYPE< T >::MAKE_CLONABLE | ( | matchable_value< T > | ) |
|
inline |
Definition at line 659 of file test_unit.h.
|
inline |
Definition at line 660 of file test_unit.h.
References arb_test::StaticCode::strf().
|
inlinevirtual |
Implements arb_test::matchable.
Definition at line 662 of file test_unit.h.
|
inlinevirtual |
Implements arb_test::matchable.
Definition at line 663 of file test_unit.h.
References arb_test::str::exists(), arb_test::readable(), and arb_test::str::value().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
arb_test::FINAL_TYPE< T >::MAKE_CLONABLE | ( | group_matcher | ) |
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 944 of file test_unit.h.
References arb_test::group_match::diff.
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 948 of file test_unit.h.
References arb_test::group_match::dump(), and group.
|
inlinestatic |
Definition at line 955 of file test_unit.h.
|
inlinestatic |
Definition at line 956 of file test_unit.h.
|
inlinestatic |
Definition at line 957 of file test_unit.h.
|
inlinestatic |
Definition at line 958 of file test_unit.h.
|
inlinestatic |
Definition at line 959 of file test_unit.h.
|
inline |
Definition at line 962 of file test_unit.h.
|
inline |
Definition at line 965 of file test_unit.h.
|
inline |
Definition at line 968 of file test_unit.h.
References add().
|
inline |
Definition at line 971 of file test_unit.h.
References add().
|
inline |
Definition at line 975 of file test_unit.h.
|
inlinevirtual |
Implements arb_test::matcher.
Definition at line 979 of file test_unit.h.
References arb_test::expectation_group::dump_brief_description(), group, and arb_test::print().