Crossfire Server, Trunk
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)
 
END_TEST START_TEST (test_replace)
 
 START_TEST (test_split_string)
 
static void teardown (void)
 
static END_TEST Suite * utils_suite (void)
 

Function Documentation

◆ check_split_string()

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

Definition at line 49 of file check_utils.c.

References rotate-tower::result, split_string(), make_face_from_files::str, and Ice::tmp.

Referenced by START_TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 134 of file check_utils.c.

References utils_suite().

+ Here is the call graph for this function:

◆ setup()

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() [1/2]

END_TEST START_TEST ( test_replace  )

Definition at line 102 of file check_utils.c.

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

+ Here is the call graph for this function:

◆ START_TEST() [2/2]

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:

◆ teardown()

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:

◆ utils_suite()

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: