|
gwenhywfar 5.14.1
|
#include "testframework_p.h"#include "testgui_l.h"#include <gwenhywfar/args.h>#include <gwenhywfar/error.h>#include <gwenhywfar/gui.h>#include <gwenhywfar/debug.h>
Go to the source code of this file.
Functions | |
| static void | _finishGui (GWEN_GUI *gui) |
| static GWEN_DB_NODE * | _readCommandLine (int argc, char **argv) |
| static int | _runModule (GWEN_GUI *gui, GWEN_TEST_MODULE *mod, int depth) |
| static int | _runTest (GWEN_GUI *gui, GWEN_TEST_MODULE *mod, int depth) |
| static GWEN_GUI * | _setupGui (GWEN_TEST_FRAMEWORK *tf, int argc, char **argv) |
| void | TestFramework_AddModule (GWEN_TEST_FRAMEWORK *tf, GWEN_TEST_MODULE *mod) |
| void | TestFramework_free (GWEN_TEST_FRAMEWORK *tf) |
| GWEN_TEST_MODULE * | TestFramework_GetModulesRoot (const GWEN_TEST_FRAMEWORK *tf) |
| GWEN_TEST_FRAMEWORK * | TestFramework_new () |
| int | TestFramework_Run (GWEN_TEST_FRAMEWORK *tf, int argc, char **argv) |
|
static |
Definition at line 88 of file testframework.c.
References Test_Gui_FlushLogs(), and TestGui_Unextend().
Referenced by TestFramework_Run().


|
static |
Definition at line 238 of file testframework.c.
References GWEN_Args_Check(), GWEN_ARGS_FLAGS_HAS_ARGUMENT, GWEN_ARGS_FLAGS_HELP, GWEN_ARGS_FLAGS_LAST, GWEN_ARGS_RESULT_ERROR, GWEN_ARGS_RESULT_HELP, GWEN_Args_Usage(), GWEN_ArgsOutType_Txt, GWEN_ArgsType_Char, GWEN_ArgsType_Int, GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_DB_Group_free(), GWEN_DB_Group_new(), and NULL.
Referenced by _setupGui().


|
static |
Definition at line 96 of file testframework.c.
References _runModule(), _runTest(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_ERROR_NOT_IMPLEMENTED, GWEN_Test_Module_GetName(), GWEN_Test_Module_SetResult(), and TestGui_AddLogLine().
Referenced by _runModule(), and TestFramework_Run().


|
static |
Definition at line 146 of file testframework.c.
References GWEN_Buffer_AppendString(), GWEN_Buffer_FillWithBytes(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_Buffer_Reset(), GWEN_ERROR_NOT_IMPLEMENTED, GWEN_Test_Module_GetName(), GWEN_Test_Module_SetResult(), GWEN_Test_Module_Test(), and TestGui_AddLogLine().
Referenced by _runModule().


|
static |
Definition at line 55 of file testframework.c.
References _readCommandLine(), DBG_ERROR, GWEN_DB_GetCharValue(), GWEN_DB_GetIntValue(), GWEN_Gui_GetGui(), GWEN_LOGDOMAIN, NULL, TestFramework_free(), TestGui_Extend(), TestGui_SetLogFile(), and TestGui_SetLogLastX().
Referenced by TestFramework_Run().


| void TestFramework_AddModule | ( | GWEN_TEST_FRAMEWORK * | tf, |
| GWEN_TEST_MODULE * | mod ) |
Definition at line 195 of file testframework.c.
| void TestFramework_free | ( | GWEN_TEST_FRAMEWORK * | tf | ) |
Definition at line 218 of file testframework.c.
References GWEN_FREE_OBJECT, and GWEN_Test_Module_free().
Referenced by _setupGui().


| GWEN_TEST_MODULE * TestFramework_GetModulesRoot | ( | const GWEN_TEST_FRAMEWORK * | tf | ) |
Definition at line 229 of file testframework.c.
| GWEN_TEST_FRAMEWORK * TestFramework_new | ( | void | ) |
Definition at line 204 of file testframework.c.
References GWEN_NEW_OBJECT, GWEN_Test_Module_new(), and GWEN_Test_Module_SetName().

| int TestFramework_Run | ( | GWEN_TEST_FRAMEWORK * | tf, |
| int | argc, | ||
| char ** | argv ) |
Definition at line 35 of file testframework.c.
References _finishGui(), _runModule(), _setupGui(), GWEN_ERROR_INVALID, and NULL.
