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

Inherits Test.

Protected Member Functions

long testAssembly (const char *source, const unsigned int numRuns, const char *mapTheme, const char *mapAssembly)
 

Static Protected Member Functions

static void SetUpTestCase ()
 
static void TearDownTestCase ()
 

Detailed Description

Definition at line 39 of file test_rma.cpp.

Member Function Documentation

static void RandomMapAssemblyTest::SetUpTestCase ( )
inlinestaticprotected
static void RandomMapAssemblyTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 62 of file test_rma.cpp.

References TEST_Shutdown().

long RandomMapAssemblyTest::testAssembly ( const char *  source,
const unsigned int  numRuns,
const char *  mapTheme,
const char *  mapAssembly 
)
protected
Todo:
the assemble thread sets a different seed

Definition at line 67 of file test_rma.cpp.

References Com_Printf(), i, mapStr, MAX_ALLOWED_TIME_TO_ASSEMBLE, MAX_TOKEN_CHARS, posStr, SV_AssembleMap(), and Sys_Milliseconds().


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