aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/lib/streams.h
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-12-05 20:07:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-12-05 20:07:01 +0800
commite57a50f5329105e8b5e6bf4497c2e09079012a0d (patch)
tree4558f818b1e48eb2a099b653d8d00d60df7e719f /camel/tests/lib/streams.h
parent58b924bf6e9c9d9072744041c3f1adaa9ddbedf4 (diff)
downloadgsoc2013-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.h12
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);