Crossfire Server, Trunk
|
#include "global.h"
#include <check.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "account_char.h"
#include "loader.h"
#include "sproto.h"
#include "toolkit_common.h"
#include "toolkit_server.h"
Go to the source code of this file.
Functions | |
static END_TEST Suite * | account_suite (void) |
int | main (void) |
static void | setup (void) |
START_TEST (test_account_char_add) | |
END_TEST | START_TEST (test_account_char_load) |
END_TEST | START_TEST (test_account_char_load_duplicate) |
static void | teardown (void) |
|
static |
Definition at line 142 of file check_account_char.c.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 157 of file check_account_char.c.
References account_suite(), cctk_setdatadir(), clean_test_account_data(), Settings::debug, init(), Settings::localdir, settings, and strdup_local.
|
static |
Definition at line 17 of file check_account_char.c.
Referenced by account_suite().
START_TEST | ( | test_account_char_add | ) |
Definition at line 29 of file check_account_char.c.
References account_char_add(), account_char_free(), account_char_load(), account_char_remove(), account_char_save(), add_string(), account_chars_struct::chars, obj::contr, create_archetype(), obj::level, Settings::localdir, pl::maplevel, MAX_BUF, obj::name, account_char_struct::next, pl::ob, pl::party, party_form(), python_init::path, altar_valkyrie::pl, and settings.
END_TEST START_TEST | ( | test_account_char_load | ) |
Definition at line 84 of file check_account_char.c.
References account_char_free(), account_char_load(), account_chars_struct::chars, create_archetype(), account_char_struct::face, account_char_struct::level, account_char_struct::map, account_char_struct::name, account_char_struct::next, guildjoin::ob, account_char_struct::party, and account_char_struct::race.
END_TEST START_TEST | ( | test_account_char_load_duplicate | ) |
Definition at line 130 of file check_account_char.c.
References account_char_free(), and account_char_load().
|
static |
Definition at line 20 of file check_account_char.c.
Referenced by account_suite().