gwenhywfar 5.12.0
testframework.h File Reference
#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/testmodule.h>
Include dependency graph for testframework.h:

Go to the source code of this file.

Typedefs

typedef struct GWEN_TEST_FRAMEWORK GWEN_TEST_FRAMEWORK

Functions

GWENHYWFAR_API void TestFramework_AddModule (GWEN_TEST_FRAMEWORK *tf, GWEN_TEST_MODULE *mod)
GWENHYWFAR_API void TestFramework_free (GWEN_TEST_FRAMEWORK *tf)
GWENHYWFAR_API GWEN_TEST_MODULETestFramework_GetModulesRoot (const GWEN_TEST_FRAMEWORK *tf)
GWENHYWFAR_API GWEN_TEST_FRAMEWORKTestFramework_new (void)
GWENHYWFAR_API int TestFramework_Run (GWEN_TEST_FRAMEWORK *tf, int argc, char **argv)

Typedef Documentation

◆ GWEN_TEST_FRAMEWORK

Definition at line 23 of file testframework.h.

Function Documentation

◆ TestFramework_AddModule()

GWENHYWFAR_API void TestFramework_AddModule ( GWEN_TEST_FRAMEWORK * tf,
GWEN_TEST_MODULE * mod )

Definition at line 195 of file testframework.c.

◆ TestFramework_free()

GWENHYWFAR_API 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestFramework_GetModulesRoot()

GWENHYWFAR_API GWEN_TEST_MODULE * TestFramework_GetModulesRoot ( const GWEN_TEST_FRAMEWORK * tf)

Definition at line 229 of file testframework.c.

◆ TestFramework_new()

GWENHYWFAR_API 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().

Here is the call graph for this function:

◆ TestFramework_Run()

GWENHYWFAR_API 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.

Here is the call graph for this function: