|
UFO: Alien Invasion
|
#include "stdlib.h"#include "stdio.h"#include <gtest/gtest.h>#include <SDL_main.h>#include "test_shared.h"
Go to the source code of this file.
Data Structures | |
| struct | config_t |
| class | LocalEnv |
Functions | |
| void | Sys_Init (void) |
| static void | Test_Parameters (const int argc, char **argv) |
| static void | TEST_vPrintfLog (const char *fmt, va_list ap) |
| int | main (int argc, char **argv) |
Variables | |
| static const char * | resultPrefix = "ufoai" |
| static config_t | config |
| static FILE * | logFile |
Setting up and running all tests. Returns a CUE_SUCCESS on successful running, another CUnit error code on failure.
Definition at line 113 of file test_all.cpp.
References config, config_t::log, logFile, main(), Qcommon_SetPrintFunction(), Sys_Error(), Sys_Fopen(), Sys_InitSignals(), Test_Parameters(), TEST_vPrintf(), TEST_vPrintfLog(), TEST_vPrintfSilent(), and config_t::verbose.
Definition at line 33 of file test_all.cpp.
References Sys_Init().
Definition at line 46 of file test_all.cpp.
References config, i, config_t::log, name, Q_streq, Q_strncpyz(), Q_strstart(), resultPrefix, Test_Parameters(), TEST_RegisterProperty(), and config_t::verbose.
Referenced by main(), and Test_Parameters().
|
static |
Definition at line 87 of file test_all.cpp.
References logFile, Q_vsnprintf(), and TEST_vPrintfLog().
Referenced by main(), and TEST_vPrintfLog().
|
static |
Definition at line 43 of file test_all.cpp.
|
static |
Definition at line 44 of file test_all.cpp.
Referenced by main(), and TEST_vPrintfLog().
|
static |
Definition at line 42 of file test_all.cpp.
Referenced by Test_Parameters().