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

Go to the source code of this file.


static END_TEST Suite * bug_suite (void)
static void local_check_loaded_object (object *op)
int main (void)
static void setup (void)
 START_TEST (test_randommaps)
static void teardown (void)


int arch_init
int artifact_init
const char *const spell_mapping []

Detailed Description

This is the unit tests file for the bug #1727944: The horn of plenty location:

I did try different combos to generate an empty horn, so far no success...

Nicolas Weeger

Definition in file check_1727944.c.

Function Documentation

◆ bug_suite()

static END_TEST Suite* bug_suite ( void  )

Definition at line 422 of file check_1727944.c.

References setup(), and teardown().

Referenced by main().

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

◆ local_check_loaded_object()

◆ main()

int main ( void  )

Definition at line 436 of file check_1727944.c.

References bug_suite(), cctk_setdatadir(), and init().

+ Here is the call graph for this function:

◆ setup()

static void setup ( void  )

Definition at line 40 of file check_1727944.c.

Referenced by bug_suite().

+ Here is the caller graph for this function:


◆ teardown()

Variable Documentation

◆ arch_init

int arch_init

True if doing arch initialization


Definition at line 21 of file ArchetypeLoader.cpp.

Referenced by ArchetypeLoader::load(), local_check_loaded_object(), object_update_speed(), and teardown().

◆ artifact_init

int artifact_init

1 if doing archetypes initialization

Definition at line 28 of file artifact.c.

Referenced by init_artifacts(), local_check_loaded_object(), and teardown().

◆ spell_mapping

const char* const spell_mapping[]