Crossfire Server, Branches 1.12  R18729
check_item.c File Reference
#include <global.h>
#include <stdlib.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
+ Include dependency graph for check_item.c:

Go to the source code of this file.

Functions

END_TEST Suite * item_suite (void)
 
int main (void)
 
void setup (void)
 
 START_TEST (test_describe_item)
 
void teardown (void)
 

Function Documentation

END_TEST Suite* item_suite ( void  )

Definition at line 204 of file check_item.c.

References setup(), and teardown().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( void  )

Definition at line 217 of file check_item.c.

References item_suite().

+ Here is the call graph for this function:

void setup ( void  )

Definition at line 39 of file check_item.c.

References cctk_init_std_archetypes(), cctk_setdatadir(), cctk_setlog(), and init_gods().

Referenced by item_suite().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

START_TEST ( test_describe_item  )

Definition at line 50 of file check_item.c.

References cctk_create_game_object(), describe_item(), find_treasurelist(), FLAG_IDENTIFIED, free_object(), generate_treasure(), and SET_FLAG.

+ Here is the call graph for this function:

void teardown ( void  )

Definition at line 46 of file check_item.c.

Referenced by item_suite().

+ Here is the caller graph for this function: