Crossfire Server, Trunk
check_image.c File Reference
#include <stdlib.h>
#include <check.h>
#include "global.h"
#include <toolkit_common.h>
#include "image.h"
#include "assets.h"
+ Include dependency graph for check_image.c:

Go to the source code of this file.

Functions

END_TEST Suite * image_suite (void)
 
int main (void)
 
void setup (void)
 
 START_TEST (test_all_faces_have_data)
 
void teardown (void)
 
static void test_faceset (const face_sets *fs)
 

Function Documentation

◆ image_suite()

END_TEST Suite* image_suite ( void  )

Definition at line 65 of file check_image.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 78 of file check_image.c.

References image_suite().

+ Here is the call graph for this function:

◆ setup()

void setup ( void  )

Definition at line 39 of file check_image.c.

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

Referenced by image_suite().

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

◆ START_TEST()

START_TEST ( test_all_faces_have_data  )

Definition at line 60 of file check_image.c.

References facesets_for_each(), and test_faceset().

+ Here is the call graph for this function:

◆ teardown()

void teardown ( void  )

Definition at line 45 of file check_image.c.

Referenced by image_suite().

+ Here is the caller graph for this function:

◆ test_faceset()

static void test_faceset ( const face_sets fs)
static

Definition at line 49 of file check_image.c.

References face_sets::allocated, face_info::datalen, face_sets::faces, find_faceset(), get_face_by_id(), get_face_fallback(), get_faces_count(), face_sets::id, and Face::name.

Referenced by START_TEST().

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