aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-30 22:02:36 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-30 22:02:36 +0800
commitd32ba2a70aebd94d176f73a64bc83ed59038e835 (patch)
tree8f0b1cdba89abe63ef364e07694d2606d54d5e11 /tests
parent1d01c8dad13eeab68241617b0ca981a8582b8215 (diff)
downloadgsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar.gz
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar.bz2
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar.lz
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar.xz
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.tar.zst
gsoc2013-evolution-d32ba2a70aebd94d176f73a64bc83ed59038e835.zip
sync
svn path=/trunk/; revision=959
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
-rw-r--r--tests/test1.c1
-rw-r--r--tests/test2.c3
3 files changed, 7 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d993cfb288..5e2fd8947c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,9 +4,10 @@ INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/camel \
-I$(includedir)
LDADD = \
- $(top_builddir)/camel/libcamel.la \
- $(GNOME_LIBDIR) \
- $(GNOMEUI_LIBS) $(INTLLIBS)
+ $(top_builddir)/camel/libcamel.la \
+ $(GNOME_LIBDIR) \
+ $(GNOMEUI_LIBS) $(INTLLIBS) \
+ $(BONOBO_LIBS)
noinst_PROGRAMS = \
test1 \
diff --git a/tests/test1.c b/tests/test1.c
index 28a65ae5c5..9a483d0ca9 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -1,6 +1,7 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include "camel-mime-message.h"
#include "stdio.h"
+#include <bonobo/gnome-stream.h>
void
main (int argc, char**argv)
diff --git a/tests/test2.c b/tests/test2.c
index dbb2b29ad0..538ae14345 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -32,7 +32,7 @@ main (int argc, char**argv)
FILE *output_file;
GHashTable *header_table;
CamelMimeMessage *message;
-
+ GnomeStream *stream;
@@ -41,6 +41,7 @@ main (int argc, char**argv)
message = camel_mime_message_new_with_session( (CamelSession *)NULL);
input_file = fopen ("mail.test", "r");
+ stream = gnome_stream_fs_open (NULL, "/tmp/a.png", GNOME_Storage_READ);
if (!input_file) {
perror("could not open input file");
exit(2);