UFO: Alien Invasion
Loading...
Searching...
No Matches
test_webapi.cpp File Reference
Include dependency graph for test_webapi.cpp:

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

Macro Definition Documentation

◆ CATEGORY

#define CATEGORY   0

Definition at line 33 of file test_webapi.cpp.

Referenced by TEST_F().

◆ CGAME

#define CGAME   "test"

Definition at line 32 of file test_webapi.cpp.

Referenced by TEST_F().

◆ FILE

◆ FILENAME

#define FILENAME   FILEPATH FILE

Definition at line 31 of file test_webapi.cpp.

Referenced by TEST_F().

◆ FILEPATH

#define FILEPATH   "save/campaign/"

Definition at line 29 of file test_webapi.cpp.

Function Documentation

◆ TEST_F() [1/2]

TEST_F ( WebApiTest ,
Auth  )

Definition at line 61 of file test_webapi.cpp.

References password, Q_strnull(), user, and WEB_Auth().

◆ TEST_F() [2/2]

Variable Documentation

◆ password

const char* password
static

Definition at line 36 of file test_webapi.cpp.

Referenced by WebApiTest::SetUpTestCase().

◆ user