Shared code for unittests. More...
#include "test_shared.h"
#include <stdio.h>
#include <stdarg.h>
Go to the source code of this file.
Functions | |
void | TEST_Shutdown (void) |
void | TEST_Init (void) |
void | TEST_Printf (const char *fmt,...) |
Shared code for unittests.
Definition in file test_shared.c.
void TEST_Init | ( | void | ) |
Definition at line 38 of file test_shared.c.
References Cmd_Init(), com_aliasSysPool, com_cmdSysPool, com_cmodelSysPool, com_cvarSysPool, com_fileSysPool, com_genericPool, Cvar_Init(), FS_InitFilesystem(), Mem_CreatePool, Mem_Init(), qtrue, and Swap_Init().
Referenced by UFO_InitSuiteCampaign(), UFO_InitSuiteGeneric(), UFO_InitSuiteInventory(), UFO_InitSuiteParser(), UFO_InitSuiteRandomMapAssembly(), UFO_InitSuiteRouting(), and UFO_InitSuiteUI().
void TEST_Printf | ( | const char * | fmt, | |
... | ||||
) |
Definition at line 54 of file test_shared.c.
References Q_vsnprintf().
Referenced by testMassAssemblyParallel(), testMassAssemblySequential(), testMassAssemblyTimeout(), and testStringCopiers().
void TEST_Shutdown | ( | void | ) |
Definition at line 30 of file test_shared.c.
References Cmd_Shutdown(), Cvar_Shutdown(), FS_Shutdown(), and Mem_Shutdown().
Referenced by UFO_CleanSuiteCampaign(), UFO_CleanSuiteGeneric(), UFO_CleanSuiteInventory(), UFO_CleanSuiteParser(), UFO_CleanSuiteRandomMapAssembly(), UFO_CleanSuiteRouting(), and UFO_CleanSuiteUI().