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

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.c.

Function Documentation

◆ bug_suite()

static END_TEST Suite* bug_suite ( void  )
static

Definition at line 65 of file check_2879249.c.

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.c.

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.c.

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.c.

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

+ Here is the call graph for this function:

◆ teardown()

static void teardown ( void  )
static

Definition at line 38 of file check_2879249.c.

Referenced by bug_suite().

+ Here is the caller graph for this function: