|
Crossfire Server, Trunk
|
#include <stdlib.h>#include <check.h>#include <global.h>#include <sproto.h>#include <toolkit_common.h>
Include dependency graph for check_duplicate_skills.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_skills) | |
| static void | teardown (void) |
This is the unit tests file for a duplicate skills bug that didn't get a tracker number. In short, when both the race and class had the same skill, the player would get a copy of each due to the objects not exactly matching when object_can_merge was called.
Definition in file check_duplicate_skills.cpp.
|
static |
Definition at line 90 of file check_duplicate_skills.cpp.
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 103 of file check_duplicate_skills.cpp.
References bug_suite(), cctk_setdatadir(), and init().
Here is the call graph for this function:
|
static |
Definition at line 36 of file check_duplicate_skills.cpp.
Referenced by bug_suite().
Here is the caller graph for this function:| START_TEST | ( | test_skills | ) |
Definition at line 42 of file check_duplicate_skills.cpp.
References socket_struct::account_chars, add_player(), ADD_PLAYER_NEW, ADD_PLAYER_NO_MAP, ADD_PLAYER_NO_STATS_ROLL, apply_race_and_class(), object::arch, object::below, living::Cha, living::Con, living::Dex, socket_struct::faces_sent, FAIL_UNLESS, find_archetype(), get_faces_count(), living::Int, archetype::name, altar_valkyrie::pl, living::Pow, rotate-tower::result, SKILL, living::Str, object::type, and living::Wis.
Here is the call graph for this function:
|
static |
Definition at line 39 of file check_duplicate_skills.cpp.
Referenced by bug_suite().
Here is the caller graph for this function: