ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | List of all members
tests::TestCase Class Referenceabstract

a single test case More...

#include <TestCase.h>

Inheritance diagram for tests::TestCase:
Inheritance graph
Collaboration diagram for tests::TestCase:
Collaboration graph

Public Member Functions

template<class _t1 , class _t2 >
void AssertEqual (_t1 a, _t2 b, const char *fn="", int l=-1)
 
template<class _t1 , class _t2 >
void AssertBelow (_t1 a, _t2 b, const char *fn="", int l=-1)
 
template<class _t1 , class _t2 >
void AssertAbove (_t1 a, _t2 b, const char *fn="", int l=-1)
 
void AssertTrue (bool b, const char *fn="", int l=-1)
 
void AssertFalse (bool b, const char *fn="", int l=-1)
 
virtual void Run ()=0
 
virtual const char * GetName () const =0
 
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void IncRefCount ()
 
void DecRefCount ()
 

Detailed Description

a single test case

Definition at line 60 of file TestCase.h.

Member Function Documentation

template<class _t1 , class _t2 >
void tests::TestCase::AssertAbove ( _t1  a,
_t2  b,
const char *  fn = "",
int  l = -1 
)

Definition at line 77 of file TestCase.h.

template<class _t1 , class _t2 >
void tests::TestCase::AssertBelow ( _t1  a,
_t2  b,
const char *  fn = "",
int  l = -1 
)

Definition at line 70 of file TestCase.h.

Referenced by tests::KalmanTest::Run().

template<class _t1 , class _t2 >
void tests::TestCase::AssertEqual ( _t1  a,
_t2  b,
const char *  fn = "",
int  l = -1 
)
void tests::TestCase::AssertFalse ( bool  b,
const char *  fn = "",
int  l = -1 
)

Definition at line 86 of file TestCase.h.

Referenced by tests::MatchTest::Run().

void tests::TestCase::AssertTrue ( bool  b,
const char *  fn = "",
int  l = -1 
)

Definition at line 83 of file TestCase.h.

Referenced by tests::MatchTest::Run().

virtual const char* tests::TestCase::GetName ( ) const
pure virtual
virtual void tests::TestCase::Run ( )
pure virtual

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


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)