Crossfire Server, Trunk
|
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <assert.h>
#include <toolkit_common.h>
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) |
END_TEST Suite* holy_suite | ( | void | ) |
Definition at line 75 of file check_holy.cpp.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 93 of file check_holy.cpp.
References holy_suite().
void setup | ( | void | ) |
Definition at line 33 of file check_holy.cpp.
References cctk_init_std_archetypes(), cctk_setdatadir(), cctk_setlog(), and init_gods().
Referenced by holy_suite().
END_TEST START_TEST | ( | test_find_god | ) |
Definition at line 50 of file check_holy.cpp.
References FAIL_UNLESS, find_god(), and guildjoin::ob.
END_TEST START_TEST | ( | test_find_god_invalid | ) |
Definition at line 56 of file check_holy.cpp.
References FAIL_UNLESS, find_god(), and guildjoin::ob.
END_TEST START_TEST | ( | test_get_god_for_race | ) |
Definition at line 62 of file check_holy.cpp.
References FAIL_UNLESS, and get_god_for_race().
END_TEST START_TEST | ( | test_get_god_for_race_invalid | ) |
Definition at line 69 of file check_holy.cpp.
References FAIL_UNLESS, and get_god_for_race().
START_TEST | ( | test_get_random_god | ) |
Definition at line 44 of file check_holy.cpp.
References FAIL_UNLESS, get_rand_god(), and guildjoin::ob.
void teardown | ( | void | ) |
Definition at line 40 of file check_holy.cpp.
Referenced by holy_suite().