Functions | Variables
a-info.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "obj-tval.h"
#include "object.h"
#include "init.h"


int setup_tests (void **state)
int teardown_tests (void *state)
int test_name0 (void *state)
int test_badtval0 (void *state)
int test_badtval1 (void *state)
int test_base_object0 (void *state)
int test_info0 (void *state)
int test_alloc0 (void *state)
int test_alloc1 (void *state)
int test_alloc2 (void *state)
int test_attack0 (void *state)
int test_armor0 (void *state)
int test_flags0 (void *state)
int test_values0 (void *state)
int test_time0 (void *state)
int test_msg0 (void *state)
int test_desc0 (void *state)


const char * suite_name = "parse/a-info"
struct test tests []

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

References init_parse_artifact().

◆ teardown_tests()

int teardown_tests ( void state)

◆ test_alloc0()

int test_alloc0 ( void state)

References eq, ok, and parser_parse().

◆ test_alloc1()

int test_alloc1 ( void state)

References eq, ok, and parser_parse().

◆ test_alloc2()

int test_alloc2 ( void state)

◆ test_armor0()

int test_armor0 ( void state)

◆ test_attack0()

int test_attack0 ( void state)

◆ test_badtval0()

int test_badtval0 ( void state)

References eq, ok, and parser_parse().

◆ test_badtval1()

int test_badtval1 ( void state)

References eq, ok, and parser_parse().

◆ test_base_object0()

int test_base_object0 ( void state)

◆ test_desc0()

int test_desc0 ( void state)

◆ test_flags0()

int test_flags0 ( void state)

◆ test_info0()

int test_info0 ( void state)

◆ test_msg0()

int test_msg0 ( void state)

◆ test_name0()

int test_name0 ( void state)

◆ test_time0()

int test_time0 ( void state)

◆ test_values0()

int test_values0 ( void state)

Variable Documentation

◆ suite_name

const char* suite_name = "parse/a-info"

◆ tests

struct test tests[]
Initial value:
= {
{ "name0", test_name0 },
{ "badtval0", test_badtval0 },
{ "badtval1", test_badtval1 },
{ "base-object0", test_base_object0 },
{ "alloc0", test_alloc0 },
{ "alloc1", test_alloc1 },
{ "alloc2", test_alloc2 },
{ "attack0", test_attack0 },
{ "armor0", test_armor0 },
{ "flags0", test_flags0 },
{ "msg0", test_msg0 },
{ "desc0", test_desc0 },
{ "values0", test_values0 },
int test_alloc1(void *state)
Definition: a-info.c:79
int test_msg0(void *state)
Definition: a-info.c:159
int test_badtval1(void *state)
Definition: a-info.c:41
int test_flags0(void *state)
Definition: a-info.c:124
int test_alloc0(void *state)
Definition: a-info.c:73
int test_alloc2(void *state)
Definition: a-info.c:85
int test_values0(void *state)
Definition: a-info.c:135
int test_name0(void *state)
Definition: a-info.c:24
int test_armor0(void *state)
Definition: a-info.c:112
int test_badtval0(void *state)
Definition: a-info.c:35
int test_base_object0(void *state)
Definition: a-info.c:47
int test_desc0(void *state)
Definition: a-info.c:173
int test_attack0(void *state)
Definition: a-info.c:98