diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2000-12-05 20:07:01 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-12-05 20:07:01 +0800 |
commit | e57a50f5329105e8b5e6bf4497c2e09079012a0d (patch) | |
tree | 4558f818b1e48eb2a099b653d8d00d60df7e719f /camel/tests/lib/streams.h | |
parent | 58b924bf6e9c9d9072744041c3f1adaa9ddbedf4 (diff) | |
download | gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar.gz gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar.bz2 gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar.lz gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar.xz gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.tar.zst gsoc2013-evolution-e57a50f5329105e8b5e6bf4497c2e09079012a0d.zip |
Stream testing stuff.
svn path=/trunk/; revision=6792
Diffstat (limited to 'camel/tests/lib/streams.h')
-rw-r--r-- | camel/tests/lib/streams.h | 12 |
1 files changed, 12 insertions, 0 deletions
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); |