UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GameTest Class Reference

Inherits Test.

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

void GameTest::SetUp ( )
inlineprotected

Definition at line 69 of file test_game.cpp.

References OBJZERO, and sv.

void GameTest::TearDown ( )
inlineprotected

Definition at line 73 of file test_game.cpp.

References SV_ShutdownGameProgs().

static void GameTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 55 of file test_game.cpp.

References TEST_Shutdown().

void GameTest::testCountSpawnpointsForMap ( bool  verbose,
const mapDef_t md 
)
protected
void GameTest::testCountSpawnpointsForMapWithAssembly ( bool  verbose,
const mapDef_t md,
const char *  asmName 
)
protected
void GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraft ( bool  verbose,
const mapDef_t md,
const char *  asmName,
const char *  aircraft 
)
protected
void GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo ( bool  verbose,
const mapDef_t md,
const char *  asmName,
const char *  aircraft,
const char *  ufo 
)
protected
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().

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().

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

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