Public Types | |
| typedef ::std::map< AT_String, AT_String > | t_StringMap |
| typedef FactoryRegister< UnitTest, UnitTestKey_Basic, Creator0P< UnitTest, UnitTestKey_Basic > > | t_UnitTestRegistryType |
| typedef ::std::list< t_ExecutorTester > | t_ListResults |
| enum | Operation { RunTests, ListTests } |
Public Methods | |
| UnitTestExecutor_Basic () | |
| int | RunTest (::std::ostream &i_ostr) |
| bool | CheckAreaSelection (const UnitTestArea_Basic *i_area) |
| int | CheckTestSelection (const UnitTestKey_Basic *i_key) |
| void | PerformTest (const UnitTestKey_Basic *i_key, t_UnitTestRegistryType::t_MapEntry *i_entry,::std::ostream &i_ostr, int i_selected) |
| void | SummarizeResults (::std::ostream &i_ostr) |
Public Attributes | |
| Operation | m_operation |
| t_StringMap | m_areas |
| t_StringMap | m_tests |
| int | m_error_count |
| int | m_level |
| t_ListResults | m_results |
|
|
t_ListResults maintains a list of test results |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Check to see if the area being tested ¶m i_area is a pointer &return true if it is selected |
|
|
Check to see if the test is selected for testing ¶m i_key is a pointer to the test key &return true if selected |
|
||||||||||||||||||||
|
PerformTest will perform a test an create a summary record. If in ListTests mode then a summary record is created only. ¶m i_X &return nothing |
|
|
RunTest will run &return an error code - 0 on success, 1 on failure |
|
|
SummarizeResults will print in tabular form a list of test results. ¶m i_X &return nothing |
|
|
m_areas contains a map of areas to perform |
|
|
m_error_count contains a count of the number of errors. |
|
|
m_level is the test level |
|
|
m_operation indicates the operation to perform. |
|
|
m_results stores the test results |
|
|
m_tests contains a map of tests to perform |
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004