ARB
Public Member Functions | List of all members
arb_test::expectation_group Class Reference

#include <test_unit.h>

Inheritance diagram for arb_test::expectation_group:
Inheritance graph
[legend]
Collaboration diagram for arb_test::expectation_group:
Collaboration graph
[legend]

Public Member Functions

 expectation_group ()
 
 expectation_group (const expectation &e)
 
 expectation_group (const expectation &e1, const expectation &e2)
 
 expectation_group (const expectation_group &other)
 
 ~expectation_group () OVERRIDE
 
 MAKE_CLONABLE (expectation_group)
 
expectation_groupadd (const expectation &e)
 
const charname () const OVERRIDE
 
const charreadable_value () const OVERRIDE
 
const expectationdependent (int i) const
 
int size () const
 
int count_fulfilled () const
 
void dump_some_expectations (int indent, bool fulfilled, bool unfulfilled) const
 
void dump_brief_description () const
 
- Public Member Functions inherited from arb_test::matchable
virtual ~matchable ()
 can be matched with corresponding matcher. More...
 
 HASTOBE_CLONABLE (matchable)
 

Detailed Description

Definition at line 773 of file test_unit.h.

Constructor & Destructor Documentation

arb_test::expectation_group::expectation_group ( )
inline

Definition at line 781 of file test_unit.h.

References NULp.

arb_test::expectation_group::expectation_group ( const expectation e)
inline

Definition at line 782 of file test_unit.h.

arb_test::expectation_group::expectation_group ( const expectation e1,
const expectation e2 
)
inline

Definition at line 785 of file test_unit.h.

arb_test::expectation_group::expectation_group ( const expectation_group other)
inline

Definition at line 789 of file test_unit.h.

arb_test::expectation_group::~expectation_group ( )
inline

Definition at line 794 of file test_unit.h.

Member Function Documentation

arb_test::expectation_group::MAKE_CLONABLE ( expectation_group  )
expectation_group& arb_test::expectation_group::add ( const expectation e)
inline

Definition at line 801 of file test_unit.h.

References arb_assert.

Referenced by CommandOutput::Contains(), CommandOutput::Equals(), and CommandOutput::has_checksum().

const char* arb_test::expectation_group::name ( ) const
inlinevirtual

Implements arb_test::matchable.

Definition at line 803 of file test_unit.h.

const char* arb_test::expectation_group::readable_value ( ) const
inlinevirtual

Implements arb_test::matchable.

Definition at line 806 of file test_unit.h.

const expectation& arb_test::expectation_group::dependent ( int  i) const
inline
int arb_test::expectation_group::size ( ) const
inline

Definition at line 811 of file test_unit.h.

Referenced by dump_brief_description(), and dump_some_expectations().

int arb_test::expectation_group::count_fulfilled ( ) const
inline

Definition at line 812 of file test_unit.h.

References dependent(), and arb_test::expectation::fulfilled().

void arb_test::expectation_group::dump_some_expectations ( int  indent,
bool  fulfilled,
bool  unfulfilled 
) const
inline
void arb_test::expectation_group::dump_brief_description ( ) const
inline

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