From e57a50f5329105e8b5e6bf4497c2e09079012a0d Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Tue, 5 Dec 2000 12:07:01 +0000 Subject: Stream testing stuff. svn path=/trunk/; revision=6792 --- camel/tests/lib/streams.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 camel/tests/lib/streams.h (limited to 'camel/tests/lib/streams.h') diff --git a/camel/tests/lib/streams.h b/camel/tests/lib/streams.h new file mode 100644 index 0000000000..df52e283d0 --- /dev/null +++ b/camel/tests/lib/streams.h @@ -0,0 +1,12 @@ + +#include "camel/camel-seekable-stream.h" + +/* call one, then the other on the same stream content */ +void test_stream_seekable_writepart(CamelSeekableStream *s); +void test_stream_seekable_readpart(CamelSeekableStream *s); + +/* same, for substreams, multiple ways of writing */ +#define SEEKABLE_SUBSTREAM_WAYS (2) + +void test_seekable_substream_writepart(CamelStream *s, int type); +void test_seekable_substream_readpart(CamelStream *s); -- cgit v1.2.3