Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::UnitTestKey_Basic Class Reference

#include <at_unit_test.h>

Collaboration diagram for at::UnitTestKey_Basic:

Collaboration graph
[legend]
List of all members.

Public Methods

 UnitTestKey_Basic (const UnitTestArea_Basic *i_area, const char *i_name, const char *i_description, const char *i_filename, int i_lineno, UnitTestTraits::t_TestResult i_expected_result=UnitTestTraits::TestSuccess, int i_level=m_level_default)
bool operator< (UnitTestKey_Basic const &i_value) const

Public Attributes

const UnitTestArea_Basicm_area
const char * m_name
const char * m_description
SourceLocator_Basic m_locator
UnitTestTraits::t_TestResult m_expected_result
int m_level

Static Public Attributes

const unsigned m_level_default = 10

Detailed Description

UnitTestKey_Basic gives a key in unit test factory map to use.


Constructor & Destructor Documentation

at::UnitTestKey_Basic::UnitTestKey_Basic const UnitTestArea_Basic   i_area,
const char *    i_name,
const char *    i_description,
const char *    i_filename,
int    i_lineno,
UnitTestTraits::t_TestResult    i_expected_result = UnitTestTraits::TestSuccess,
int    i_level = m_level_default
[inline]
 


Member Function Documentation

bool at::UnitTestKey_Basic::operator< UnitTestKey_Basic const &    i_value const
 

A key comparison operator for registry map

&param i_value the value being compared against &return true if *this < i_value


Member Data Documentation

const UnitTestArea_Basic* at::UnitTestKey_Basic::m_area
 

m_area is a pointer to the test area.

const char* at::UnitTestKey_Basic::m_description
 

m_description describes the unit test area.

UnitTestTraits::t_TestResult at::UnitTestKey_Basic::m_expected_result
 

m_expected_result indicates the expected result. Even though this is the key, this is the way we communicate failure expectation in the constructor.

int at::UnitTestKey_Basic::m_level
 

m_level defines the "level" of a test - tests can be selected to run by level. By default, any tests of m_default_level or below are run.

const unsigned at::UnitTestKey_Basic::m_level_default = 10 [static]
 

m_level_default defined the default level.  

SourceLocator_Basic at::UnitTestKey_Basic::m_locator
 

m_locator describes the location of the unit test definition.

const char* at::UnitTestKey_Basic::m_name
 

m_name is the name of this area - this may be used to limit the tests run to a particular area.


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004