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

Go to the source code of this file.

Functions

static void check_combine (const char *src, const char *dst, const char *exp)
 
static void check_combine_and_normalize (const char *src, const char *dst, const char *exp)
 
static void check_normalize (const char *path, const char *exp)
 
int main (void)
 
static END_TEST Suite * path_suite (void)
 
static void setup (void)
 
 START_TEST (test_path_combine)
 
END_TEST START_TEST (test_path_normalize)
 
END_TEST START_TEST (test_path_combine_and_normalize)
 
static void teardown (void)
 

Function Documentation

static void check_combine ( const char *  src,
const char *  dst,
const char *  exp 
)
static

Definition at line 48 of file check_path.c.

References HUGE_BUF, and path_combine().

Referenced by START_TEST().

Here is the call graph for this function:

Here is the caller graph for this function:

static void check_combine_and_normalize ( const char *  src,
const char *  dst,
const char *  exp 
)
static

Definition at line 65 of file check_path.c.

References HUGE_BUF, and path_combine_and_normalize().

Referenced by START_TEST().

Here is the call graph for this function:

Here is the caller graph for this function:

static void check_normalize ( const char *  path,
const char *  exp 
)
static

Definition at line 55 of file check_path.c.

References HUGE_BUF, and path_normalize().

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 143 of file check_path.c.

References path_suite().

Here is the call graph for this function:

static END_TEST Suite* path_suite ( void  )
static

Definition at line 128 of file check_path.c.

References setup(), and teardown().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void setup ( void  )
static

Definition at line 40 of file check_path.c.

Referenced by path_suite().

Here is the caller graph for this function:

START_TEST ( test_path_combine  )

Definition at line 72 of file check_path.c.

References check_combine().

Here is the call graph for this function:

END_TEST START_TEST ( test_path_normalize  )

Definition at line 84 of file check_path.c.

References check_normalize().

Here is the call graph for this function:

END_TEST START_TEST ( test_path_combine_and_normalize  )

Definition at line 112 of file check_path.c.

References check_combine_and_normalize().

Here is the call graph for this function:

static void teardown ( void  )
static

Definition at line 44 of file check_path.c.

Referenced by path_suite().

Here is the caller graph for this function: