Crossfire Server, Trunk  R20513
Functions
check_utils.c File Reference
#include <check.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "global.h"
Include dependency graph for check_utils.c:

Go to the source code of this file.

Functions

static void check_split_string (const char *str, size_t array_size,...)
 
int main (void)
 
static void setup (void)
 
 START_TEST (test_split_string)
 
END_TEST START_TEST (test_replace)
 
static void teardown (void)
 
static END_TEST Suite * utils_suite (void)
 

Function Documentation

static void check_split_string ( const char *  str,
size_t  array_size,
  ... 
)
static

Definition at line 49 of file check_utils.c.

References snprintf, and split_string().

Referenced by START_TEST().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( void  )

Definition at line 134 of file check_utils.c.

References utils_suite().

Here is the call graph for this function:

static void setup ( void  )
static

Definition at line 41 of file check_utils.c.

Referenced by utils_suite().

Here is the caller graph for this function:

START_TEST ( test_split_string  )

Definition at line 80 of file check_utils.c.

References check_split_string().

Here is the call graph for this function:

END_TEST START_TEST ( test_replace  )

Definition at line 102 of file check_utils.c.

References init(), MAX_BUF, replace(), and snprintf.

Here is the call graph for this function:

static void teardown ( void  )
static

Definition at line 45 of file check_utils.c.

Referenced by utils_suite().

Here is the caller graph for this function:

static END_TEST Suite* utils_suite ( void  )
static

Definition at line 120 of file check_utils.c.

References setup(), and teardown().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: