Crossfire Server, Trunk
check_2879249.cpp File Reference
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <sproto.h>
#include <toolkit_common.h>
+ Include dependency graph for check_2879249.cpp:

Go to the source code of this file.

Functions

static END_TEST Suite * bug_suite (void)
 
int main (void)
 
static void setup (void)
 
 START_TEST (test_insert)
 
static void teardown (void)
 

Detailed Description

This is the unit tests file for the bug #2879249: SIGSEGV on transport moving across some edges of tiled maps.

Definition in file check_2879249.cpp.

Function Documentation

◆ bug_suite()

static END_TEST Suite* bug_suite ( void  )
static

Definition at line 65 of file check_2879249.cpp.

References setup(), and teardown().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 78 of file check_2879249.cpp.

References bug_suite(), cctk_setdatadir(), and init().

+ Here is the call graph for this function:

◆ setup()

static void setup ( void  )
static

Definition at line 35 of file check_2879249.cpp.

Referenced by bug_suite().

+ Here is the caller graph for this function:

◆ START_TEST()

START_TEST ( test_insert  )

Definition at line 41 of file check_2879249.cpp.

References FAIL_UNLESS, find_archetype(), mapstruct::height, guildjoin::ob, object_create_arch(), object_insert_in_map_at(), ready_map_name(), and mapstruct::width.

+ Here is the call graph for this function:

◆ teardown()

static void teardown ( void  )
static

Definition at line 38 of file check_2879249.cpp.

Referenced by bug_suite().

+ Here is the caller graph for this function: