test_rma.c File Reference

#include "CUnit/Basic.h"
#include "test_rma.h"
#include "test_shared.h"
#include "../server/sv_rma.h"
#include "../ports/system.h"
Include dependency graph for test_rma.c:

Go to the source code of this file.

Functions

static int UFO_InitSuiteRandomMapAssembly (void)
static int UFO_CleanSuiteRandomMapAssembly (void)
static void testAssembly (void)
static void testMassAssemblyTimeout (void)
static void testMassAssemblyParallel (void)
static void testMassAssemblySequential (void)
int UFO_AddRandomMapAssemblyTests (void)

Variables

cvar_tsv_dumpmapassembly
cvar_tsv_threads
char map [MAX_TOKEN_CHARS *MAX_TILESTRINGS]
char pos [MAX_TOKEN_CHARS *MAX_TILESTRINGS]

Detailed Description

Definition in file test_rma.c.


Function Documentation

static void testAssembly ( void   )  [static]

Definition at line 60 of file test_rma.c.

References map, Mem_Free, pos, and SV_AssembleMap().

Referenced by UFO_AddRandomMapAssemblyTests().

static void testMassAssemblyParallel ( void   )  [static]
static void testMassAssemblySequential ( void   )  [static]
static void testMassAssemblyTimeout ( void   )  [static]
int UFO_AddRandomMapAssemblyTests ( void   ) 
static int UFO_CleanSuiteRandomMapAssembly ( void   )  [static]

The suite cleanup function. Returns zero on success, non-zero otherwise.

Definition at line 51 of file test_rma.c.

References TEST_Shutdown().

Referenced by UFO_AddRandomMapAssemblyTests().

static int UFO_InitSuiteRandomMapAssembly ( void   )  [static]

The suite initialization function. Returns zero on success, non-zero otherwise.

Definition at line 38 of file test_rma.c.

References Cvar_Get(), and TEST_Init().

Referenced by UFO_AddRandomMapAssemblyTests().


Variable Documentation

char map[MAX_TOKEN_CHARS *MAX_TILESTRINGS]
char pos[MAX_TOKEN_CHARS *MAX_TILESTRINGS]

Definition at line 58 of file test_rma.c.

Referenced by _pico_getline(), AIM_AircraftEquipSlotSelect_f(), B_BuildFromTemplate(), B_BuildingDestroy(), B_ParseBaseTemplate(), BuildFacelights(), CalcTextureReflectivity(), CL_ActorTraceMove(), CL_AddPathing(), CL_CenterView(), CL_EntAppear(), CL_GetEventTime(), CL_ParseParticle(), CL_StatsUpdate_f(), Com_MacroExpandString(), CP_BaseAttackStartMission(), CP_CalcAndUploadDayAndNightTexture(), DoRouting(), FS_FileLength(), G_ActorShouldStopInMidMove(), G_ClientAction(), G_ClientMove(), Grid_MoveCalc(), Grid_SetMoveData(), Irc_Client_CmdRplNamreply(), MAP_DrawMap(), MAP_MapClick(), NAT_ScriptSanityCheck(), NET_DatagramFindFreeSocket(), NET_StreamGetFree(), NET_WriteConstMsg(), PerpendicularVector(), pos3L_face(), pos3L_goto(), R_DrawSprite(), R_FontMakeChunks(), RT_CheckCell(), RT_FindOpening(), RT_MicroTrace(), SEQ_Render2D(), os::standardPath(), os::stripExtension(), SV_AddMapTiles(), SV_AddMissingTiles(), SV_Map(), SV_WriteDummyByte(), testAssembly(), testMassAssemblyParallel(), testMassAssemblySequential(), testMassAssemblyTimeout(), tinsert(), tremove(), UFO_SetRandomDest(), UFO_SetRandomPos(), UI_AbstractScrollableNodePageUp(), UI_BarNodeCapturedMouseMove(), UI_BaseInventoryNodeDraw2(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeGetItem(), UI_BaseMapNodeDraw(), UI_ButtonNodeDraw(), UI_CheckBoxNodeDraw(), UI_ContainerNodeDrawGrid(), UI_ContainerNodeDrawSingle(), UI_CustomButtonNodeDraw(), UI_EditorNodeHighlightNode(), UI_GetActiveRenderRect(), UI_GetLastFullScreenWindow(), UI_GetNodeAtPosition(), UI_InitializeNodeBehaviour(), UI_InsertComponent(), UI_InsertWindow(), UI_InvalidateStack(), UI_ItemNodeDraw(), UI_KeyBindingNodeDraw(), UI_LineChartNodeDraw(), UI_MapNodeDraw(), UI_MaterialEditorNodeDraw(), UI_MaterialEditorNodeGetImageAtPosition(), UI_MaterialEditorNodeUpdateView(), UI_MessageListNodeDraw(), UI_OptionListNodeDraw(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionTreeNodeDraw(), UI_OptionTreeSetSelectedValue(), UI_PanelNodeDraw(), UI_ParseExcludeRect(), UI_RadarNodeCapturedMouseMove(), UI_RadarNodeDraw(), UI_RadioButtonNodeDraw(), UI_RowsNodeDraw(), UI_SelectBoxNodeClick(), UI_SpinnerNodeDraw(), UI_TabNodeDraw(), UI_TextEntryNodeDraw(), UI_TextLineNodeDrawText(), UI_TextNodeDrawText(), UI_TodoNodeDraw(), UI_Transform(), UI_VideoNodeDrawOverWindow(), UI_VScrollbarNodeCapturedMouseMove(), UI_VScrollbarNodeDiff(), UI_VScrollbarNodeDraw(), UI_VScrollbarNodeSet(), UI_VScrollbarNodeWheel(), and UI_WindowNodeDraw().

Definition at line 31 of file test_rma.c.

Referenced by SV_AssembleMap(), and SV_CalcRating().

run the game lib threaded

Definition at line 32 of file test_rma.c.

Referenced by SV_AddMapTiles(), SV_AssembleMap(), SV_InitGameProgs(), and SV_ParallelSearch().


Generated by  doxygen 1.6.2