UFO: Alien Invasion
|
Go to the source code of this file.
Data Structures | |
class | WebApiTest |
Macros | |
#define | FILEPATH "save/campaign/" |
#define | FILE "unittest1.savx" |
#define | FILENAME FILEPATH FILE |
#define | CGAME "test" |
#define | CATEGORY 0 |
Functions | |
TEST_F (WebApiTest, Auth) | |
TEST_F (WebApiTest, FileManagement) | |
Variables | |
static const char * | user |
static const char * | password |
#define CATEGORY 0 |
Definition at line 33 of file test_webapi.cpp.
Referenced by TEST_F().
#define CGAME "test" |
Definition at line 32 of file test_webapi.cpp.
Referenced by TEST_F().
#define FILE "unittest1.savx" |
Definition at line 30 of file test_webapi.cpp.
Referenced by CL_CheckAndQueueDownload(), fclose_file_func(), ferror_file_func(), fopen_file_func(), fread_file_func(), FS_CopyFile(), fseek_file_func(), ftell_file_func(), fwrite_file_func(), SVCmd_WriteIP_f(), Sys_Backtrace(), Sys_Mkfifo(), and TEST_F().
Definition at line 31 of file test_webapi.cpp.
Referenced by TEST_F().
#define FILEPATH "save/campaign/" |
Definition at line 29 of file test_webapi.cpp.
TEST_F | ( | WebApiTest | , |
Auth | |||
) |
Definition at line 61 of file test_webapi.cpp.
References password, Q_strnull(), user, and WEB_Auth().
TEST_F | ( | WebApiTest | , |
FileManagement | |||
) |
Definition at line 68 of file test_webapi.cpp.
References CATEGORY, CGAME, FILE, FILENAME, FS_FileExists(), FS_FreeFile(), FS_Gamedir(), FS_LoadFile(), FS_WriteFile(), cvar_s::integer, password, Q_strnull(), user, WEB_CGameDelete(), WEB_CGameDownloadFromUser(), WEB_CGameListForUser(), WEB_CGameUpload(), and web_userid.
|
static |
Definition at line 36 of file test_webapi.cpp.
Referenced by WebApiTest::SetUpTestCase(), and TEST_F().
|
static |
Definition at line 35 of file test_webapi.cpp.
Referenced by GAME_MP_ParseTeamInfoMessage(), Irc_Client_CmdRplWhoisuser(), Irc_Client_CmdRplWhoreply(), Irc_Client_CmdRplWhowasuser(), Irc_Client_Names_f(), Irc_GetExternalIP(), Irc_Logic_AddChannelName(), Irc_Logic_Connect(), Irc_Logic_RemoveChannelName(), WebApiTest::SetUpTestCase(), Sys_GetCurrentUser(), TEST_F(), and WEB_Auth().