#include "CUnit/Basic.h"
#include "test_routing.h"
#include "test_shared.h"
#include "../common/common.h"
#include "../common/cmodel.h"
Go to the source code of this file.
Functions | |
static int | UFO_InitSuiteRouting (void) |
static int | UFO_CleanSuiteRouting (void) |
static void | testConnection (void) |
int | UFO_AddRoutingTests (void) |
Variables | |
static mapData_t | mapData |
static mapTiles_t | mapTiles |
Definition in file test_routing.c.
static void testConnection | ( | void | ) | [static] |
Definition at line 55 of file test_routing.c.
References CM_LoadMap(), and qtrue.
Referenced by UFO_AddRoutingTests().
int UFO_AddRoutingTests | ( | void | ) |
Definition at line 65 of file test_routing.c.
References testConnection(), UFO_CleanSuiteRouting(), and UFO_InitSuiteRouting().
static int UFO_CleanSuiteRouting | ( | void | ) | [static] |
The suite cleanup function. Returns zero on success, non-zero otherwise.
Definition at line 46 of file test_routing.c.
References TEST_Shutdown().
Referenced by UFO_AddRoutingTests().
static int UFO_InitSuiteRouting | ( | void | ) | [static] |
The suite initialization function. Returns zero on success, non-zero otherwise.
Definition at line 36 of file test_routing.c.
References TEST_Init().
Referenced by UFO_AddRoutingTests().
Definition at line 52 of file test_routing.c.
mapTiles_t mapTiles [static] |
Definition at line 53 of file test_routing.c.
Referenced by BeginBSPFile(), CheckConnectionsThread(), CheckUnit(), DoRouting(), LoadBSPFile(), LoadMapFile(), and TR_TestLineSingleTile().