Crossfire Server, Trunk  R20763
check_account_char.c File Reference
#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 dependency graph for check_account_char.c:

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)
 
static void teardown (void)
 

Function Documentation

◆ account_suite()

static END_TEST Suite* account_suite ( void  )
static

Definition at line 126 of file check_account_char.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 140 of file check_account_char.c.

References account_suite(), clean_test_account_data(), Settings::debug, init(), Settings::localdir, settings, and strdup_local.

+ Here is the call graph for this function:

◆ setup()

static void setup ( void  )
static

Definition at line 16 of file check_account_char.c.

Referenced by account_suite().

+ Here is the caller graph for this function:

◆ START_TEST() [1/2]

◆ START_TEST() [2/2]

◆ teardown()

static void teardown ( void  )
static

Definition at line 19 of file check_account_char.c.

Referenced by account_suite().

+ Here is the caller graph for this function: