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

Go to the source code of this file.

Functions

END_TEST Suite * holy_suite (void)
 
int main (void)
 
void setup (void)
 
END_TEST START_TEST (test_find_god)
 
END_TEST START_TEST (test_find_god_invalid)
 
END_TEST START_TEST (test_get_god_for_race)
 
END_TEST START_TEST (test_get_god_for_race_invalid)
 
 START_TEST (test_get_random_god)
 
void teardown (void)
 

Function Documentation

◆ holy_suite()

END_TEST Suite* holy_suite ( void  )

Definition at line 75 of file check_holy.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 92 of file check_holy.c.

References holy_suite().

+ Here is the call graph for this function:

◆ setup()

void setup ( void  )

Definition at line 33 of file check_holy.c.

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

Referenced by holy_suite().

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

◆ START_TEST() [1/5]

END_TEST START_TEST ( test_find_god  )

Definition at line 50 of file check_holy.c.

References find_god(), and guildjoin::ob.

+ Here is the call graph for this function:

◆ START_TEST() [2/5]

END_TEST START_TEST ( test_find_god_invalid  )

Definition at line 56 of file check_holy.c.

References find_god(), and guildjoin::ob.

+ Here is the call graph for this function:

◆ START_TEST() [3/5]

END_TEST START_TEST ( test_get_god_for_race  )

Definition at line 62 of file check_holy.c.

References get_god_for_race().

+ Here is the call graph for this function:

◆ START_TEST() [4/5]

END_TEST START_TEST ( test_get_god_for_race_invalid  )

Definition at line 69 of file check_holy.c.

References get_god_for_race().

+ Here is the call graph for this function:

◆ START_TEST() [5/5]

START_TEST ( test_get_random_god  )

Definition at line 44 of file check_holy.c.

References get_rand_god(), and guildjoin::ob.

+ Here is the call graph for this function:

◆ teardown()

void teardown ( void  )

Definition at line 40 of file check_holy.c.

Referenced by holy_suite().

+ Here is the caller graph for this function: