view src/tests/test-common.h @ 7047:3fe934d0843a HEAD

Added test_out_reason()
author Timo Sirainen <tss@iki.fi>
date Sat, 29 Dec 2007 01:02:28 +0200
parents e349cb1c4daf
children 2ac2ca9089bf
line wrap: on
line source

#ifndef TEST_COMMON_H
#define TEST_COMMON_H

struct istream *test_istream_create(const char *data);
void test_istream_set_size(struct istream *input, uoff_t size);

void test_out(const char *name, bool success);
void test_out_reason(const char *name, bool success, const char *reason);

void test_init(void);
int test_deinit(void);

#endif