Crossfire Server, Branch 1.12  R12190
Functions
check_c_object.c File Reference
#include <global.h>
#include <stdlib.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
#include <sproto.h>
Include dependency graph for check_c_object.c:

Go to the source code of this file.

Functions

END_TEST Suite * c_object_suite (void)
static object * find_best_apply_object_match (object *start, object *pl, const char *params, int aflag)
int main (void)
void setup (void)
 START_TEST (test_find_best_apply_object_match)
END_TEST START_TEST (test_put_object_in_sack)
void teardown (void)

Function Documentation

END_TEST Suite* c_object_suite ( void  )

Definition at line 174 of file check_c_object.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 object* find_best_apply_object_match ( object *  start,
object *  pl,
const char *  params,
int  aflag 
) [static]

Definition at line 47 of file check_c_object.c.

References AP_APPLY, AP_UNAPPLY, FLAG_APPLIED, item_matched_string(), and QUERY_FLAG.

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 188 of file check_c_object.c.

References c_object_suite(), Settings::debug, init(), Settings::logfilename, and settings.

Here is the call graph for this function:

void setup ( void  )

Definition at line 40 of file check_c_object.c.

START_TEST ( test_find_best_apply_object_match  )

Definition at line 66 of file check_c_object.c.

References add_string(), CLEAR_FLAG, create_archetype(), find_best_apply_object_match(), FLAG_IDENTIFIED, and insert_ob_in_ob().

Here is the call graph for this function:

END_TEST START_TEST ( test_put_object_in_sack  )
void teardown ( void  )

Definition at line 43 of file check_c_object.c.