Crossfire Server, Trunk
check_artifact.c File Reference
#include <global.h>
#include <stdlib.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
+ Include dependency graph for check_artifact.c:

Go to the source code of this file.

Functions

static END_TEST Suite * artifact_suite (void)
 
int main (void)
 
static void setup (void)
 
 START_TEST (test_face_for_each_artifact)
 
static void teardown (void)
 

Function Documentation

◆ artifact_suite()

static END_TEST Suite* artifact_suite ( void  )
static

Definition at line 59 of file check_artifact.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 73 of file check_artifact.c.

References artifact_suite().

+ Here is the call graph for this function:

◆ setup()

static void setup ( void  )
static

Definition at line 33 of file check_artifact.c.

References cctk_init_std_archetypes(), cctk_setdatadir(), and cctk_setlog().

Referenced by artifact_suite().

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

◆ START_TEST()

START_TEST ( test_face_for_each_artifact  )

Ensure there is a face available for each artifact

Definition at line 44 of file check_artifact.c.

References artifact_get_face(), first_artifactlist, artifactstruct::item, artifactliststruct::items, obj::name, artifactstruct::next, and artifactliststruct::next.

+ Here is the call graph for this function:

◆ teardown()

static void teardown ( void  )
static

Definition at line 39 of file check_artifact.c.

Referenced by artifact_suite().

+ Here is the caller graph for this function: