UFO: Alien Invasion
Loading...
Searching...
No Matches
GameTest Class Reference
Inheritance diagram for GameTest:
Inheritance graph
Collaboration diagram for GameTest:
Collaboration graph

Protected Member Functions

void testCountSpawnpointsForMap (bool verbose, const mapDef_t *md)
void testCountSpawnpointsForMapWithAssembly (bool verbose, const mapDef_t *md, const char *asmName)
void testCountSpawnpointsForMapWithAssemblyAndAircraft (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft)
void testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo)
void testCountSpawnpointsForMapInSingleplayerMode (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo)
void testCountSpawnpointsForMapInMultiplayerMode (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo)
int testCountSpawnpointsGetNumteamValueForAircraft (const char *aircraft)
int testCountSpawnpointsGetNumteamValueForUFO (const char *ufo)
int testCountSpawnpointsGetNum2x2ValueForAircraft (const char *aircraft)
void SetUp ()
void TearDown ()

Static Protected Member Functions

static void SetUpTestCase ()
static void TearDownTestCase ()

Detailed Description

Definition at line 39 of file test_game.cpp.

Member Function Documentation

◆ SetUp()

void GameTest::SetUp ( )
inlineprotected

Definition at line 69 of file test_game.cpp.

References OBJZERO, and sv.

◆ SetUpTestCase()

◆ TearDown()

void GameTest::TearDown ( )
inlineprotected

Definition at line 73 of file test_game.cpp.

References SV_ShutdownGameProgs().

◆ TearDownTestCase()

void GameTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 55 of file test_game.cpp.

References TEST_Shutdown().

◆ testCountSpawnpointsForMap()

void GameTest::testCountSpawnpointsForMap ( bool verbose,
const mapDef_t * md )
protected

◆ testCountSpawnpointsForMapInMultiplayerMode()

◆ testCountSpawnpointsForMapInSingleplayerMode()

◆ testCountSpawnpointsForMapWithAssembly()

void GameTest::testCountSpawnpointsForMapWithAssembly ( bool verbose,
const mapDef_t * md,
const char * asmName )
protected

◆ testCountSpawnpointsForMapWithAssemblyAndAircraft()

void GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraft ( bool verbose,
const mapDef_t * md,
const char * asmName,
const char * aircraft )
protected

◆ testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo()

void GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo ( bool verbose,
const mapDef_t * md,
const char * asmName,
const char * aircraft,
const char * ufo )
protected

◆ testCountSpawnpointsGetNum2x2ValueForAircraft()

int GameTest::testCountSpawnpointsGetNum2x2ValueForAircraft ( const char * aircraft)
protected

Definition at line 112 of file test_game.cpp.

References Q_streq, and Q_strnull().

Referenced by testCountSpawnpointsForMapInSingleplayerMode().

◆ testCountSpawnpointsGetNumteamValueForAircraft()

int GameTest::testCountSpawnpointsGetNumteamValueForAircraft ( const char * aircraft)
protected

Definition at line 134 of file test_game.cpp.

References Q_streq, and Q_strnull().

Referenced by testCountSpawnpointsForMapInSingleplayerMode().

◆ testCountSpawnpointsGetNumteamValueForUFO()

int GameTest::testCountSpawnpointsGetNumteamValueForUFO ( const char * ufo)
protected

The documentation for this class was generated from the following file: