HDK
|
#include "UT_API.h"
#include "UT_Functor.h"
#include "UT_Main.h"
#include "UT_NonCopyable.h"
#include "UT_StopWatch.h"
#include "UT_WorkArgs.h"
#include "UT_WorkBuffer.h"
#include <SYS/SYS_Types.h>
Go to the source code of this file.
Classes | |
class | UT_TestManager |
class | UT_TestUnit |
Status maintainer used to run a test. More... | |
Macros | |
#define | TEST_LOGRESULT(NAME, SUCCESS, TIME) UT_TestManager::get().logResult(NAME, SUCCESS, TIME) |
Use this define to log information into the result table. More... | |
#define | TEST_REGISTER_FN(name, method) |
#define | TEST_REGISTER(name, classname, method) |
#define | TEST_UNIT_MAIN() |
#define TEST_LOGRESULT | ( | NAME, | |
SUCCESS, | |||
TIME | |||
) | UT_TestManager::get().logResult(NAME, SUCCESS, TIME) |
Use this define to log information into the result table.
Definition at line 153 of file UT_TestManager.h.
#define TEST_REGISTER | ( | name, | |
classname, | |||
method | |||
) |
Use this macro after your test class is declared. It will create a static instance of your class that then registers your 'bool classname::method()' with the test manager. Your method should return true if the test succeeded, false otherwise. The name is the label that will be used for invoking this specific test.
Definition at line 177 of file UT_TestManager.h.
#define TEST_REGISTER_FN | ( | name, | |
method | |||
) |
Use this macro after your test function is declared. It will register your method with the test manager. Your method should return true if the test succeeded, false otherwise. The name is the label that will be used for invoking this specific test.
Definition at line 160 of file UT_TestManager.h.
#define TEST_UNIT_MAIN | ( | ) |
Definition at line 193 of file UT_TestManager.h.