test/buffer_tests.h

Fri, 12 Oct 2012 12:08:34 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 12 Oct 2012 12:08:34 +0200
changeset 71
303dabadff1c
parent 64
16590c9c497c
child 76
655020a30e77
permissions
-rw-r--r--

made the code work with g++ without errors (but warnings)

/* 
 *
 */

#ifndef MEMSTREAM_TEST_H
#define	MEMSTREAM_TEST_H

#include "ucx/test.h"
#include "ucx/buffer.h"

#ifdef	__cplusplus
extern "C" {
#endif

/* assume open and close to be correct */

UCX_TEST_DECLARE(test_ucx_buffer_seektell);
UCX_TEST_DECLARE(test_ucx_buffer_putc);
UCX_TEST_DECLARE(test_ucx_buffer_getc);
UCX_TEST_DECLARE(test_ucx_buffer_write);
UCX_TEST_DECLARE(test_ucx_buffer_write_ax);
UCX_TEST_DECLARE(test_ucx_buffer_read);
UCX_TEST_DECLARE(test_ucx_buffer_extract);

#ifdef	__cplusplus
}
#endif

#endif	/* MEMSTREAM_TEST_H */

mercurial