ARB
Public Member Functions | Static Public Member Functions | List of all members
arb_test::FINAL_TYPE< T > Class Template Reference

#include <test_unit.h>

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

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
 
chargen_description () const
 
const charname () const OVERRIDE
 
const charreadable_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
 
- Public Member Functions inherited from arb_test::matcher
virtual ~matcher ()
 can match things. More...
 
 HASTOBE_CLONABLE (matcher)
 
- Public Member Functions inherited from arb_test::matchable
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)
 

Detailed Description

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

Definition at line 649 of file test_unit.h.

Member Function Documentation

template<typename T >
arb_test::FINAL_TYPE< T >::matchable_value ( copy< T val_,
const char nontemp_code 
)
inline

Definition at line 654 of file test_unit.h.

template<typename T >
arb_test::FINAL_TYPE< T >::matchable_value ( const matchable_value< T > &  other)
inline

Definition at line 655 of file test_unit.h.

template<typename T >
arb_test::FINAL_TYPE< T >::DECLARE_ASSIGNMENT_OPERATOR ( matchable_value  )
template<typename T >
arb_test::FINAL_TYPE< T >::MAKE_CLONABLE ( matchable_value< T )
template<typename T >
const copy<T>& arb_test::FINAL_TYPE< T >::value ( ) const
inline

Definition at line 659 of file test_unit.h.

template<typename T >
char* arb_test::FINAL_TYPE< T >::gen_description ( ) const
inline

Definition at line 660 of file test_unit.h.

References arb_test::StaticCode::strf().

template<typename T >
const char* arb_test::FINAL_TYPE< T >::name ( ) const
inlinevirtual

Implements arb_test::matchable.

Definition at line 662 of file test_unit.h.

template<typename T >
const char* arb_test::FINAL_TYPE< T >::readable_value ( ) const
inlinevirtual
template<typename T >
template<typename U >
match_expectation arb_test::FINAL_TYPE< T >::equals_expectation ( bool  invert,
const U other,
const char code 
) const
inline
template<typename T >
template<typename U >
match_expectation arb_test::FINAL_TYPE< T >::lessThan_expectation ( bool  invert,
const U other,
const char code 
) const
inline
template<typename T >
template<typename U >
match_expectation arb_test::FINAL_TYPE< T >::moreThan_expectation ( bool  invert,
const U other,
const char code 
) const
inline
template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::null_expectation ( bool  wantNULL) const
inline
template<typename T >
template<typename FUNC >
match_expectation arb_test::FINAL_TYPE< T >::predicate_expectation ( bool  wanted,
predicate< FUNC >  pred,
matchable_value< T arg 
) const
inline
template<typename T >
template<typename U , typename FUNC >
match_expectation arb_test::FINAL_TYPE< T >::predicate_expectation ( bool  wanted,
FUNC  pred,
const char pred_code,
const U arg,
const char arg_code 
) const
inline
template<typename T >
arb_test::FINAL_TYPE< T >::MAKE_CLONABLE ( group_matcher  )
template<typename T >
bool arb_test::FINAL_TYPE< T >::matches ( const matchable thing) const
inlinevirtual

Implements arb_test::matcher.

Definition at line 944 of file test_unit.h.

References arb_test::group_match::diff.

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

Implements arb_test::matcher.

Definition at line 948 of file test_unit.h.

References arb_test::group_match::dump(), and group.

template<typename T >
static group_matcher arb_test::FINAL_TYPE< T >::all ( )
inlinestatic

Definition at line 955 of file test_unit.h.

template<typename T >
static group_matcher arb_test::FINAL_TYPE< T >::none ( )
inlinestatic

Definition at line 956 of file test_unit.h.

template<typename T >
static group_matcher arb_test::FINAL_TYPE< T >::atleast ( int  min_)
inlinestatic

Definition at line 957 of file test_unit.h.

template<typename T >
static group_matcher arb_test::FINAL_TYPE< T >::atmost ( int  max_)
inlinestatic

Definition at line 958 of file test_unit.h.

template<typename T >
static group_matcher arb_test::FINAL_TYPE< T >::exactly ( int  amount)
inlinestatic

Definition at line 959 of file test_unit.h.

template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::of ( const expectation e) const
inline

Definition at line 962 of file test_unit.h.

template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::of ( const expectation e1,
const expectation e2 
) const
inline

Definition at line 965 of file test_unit.h.

template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::of ( const expectation e1,
const expectation e2,
const expectation e3 
) const
inline

Definition at line 968 of file test_unit.h.

References add().

template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::of ( const expectation e1,
const expectation e2,
const expectation e3,
const expectation e4 
) const
inline

Definition at line 971 of file test_unit.h.

References add().

template<typename T >
match_expectation arb_test::FINAL_TYPE< T >::ofgroup ( const expectation_group group)
inline

Definition at line 975 of file test_unit.h.

template<typename T >
void arb_test::FINAL_TYPE< T >::dump_brief_description ( const matchable thing) const
inlinevirtual

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