aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-04-24 17:10:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-04-24 17:10:40 +0800
commit0c1a38160f5c97bfee3bad5d177ea3706069b993 (patch)
treec9bd702eb6eebf261751c96dff3beb857eeb850b /tests
parent8c9b0cc3f0d9cf8ca0c7b416a08d742b2694af07 (diff)
downloadgsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar.gz
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar.bz2
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar.lz
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar.xz
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.tar.zst
gsoc2013-evolution-0c1a38160f5c97bfee3bad5d177ea3706069b993.zip
Fixed for method movements.
2000-04-24 NotZed <NotZed@HelixCode.com> * tests/test13.c (main): Fixed for method movements. * tests/test3.c (main): Removed from build, data-wrapper-repository removed. * tests/test2.c (main): Changed to use construct_from_stream. * tests/test1.c (main): Chagned to use construct_from_stream. svn path=/trunk/; revision=2578
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test1.c4
-rw-r--r--tests/test13.c2
-rw-r--r--tests/test2.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 06cc14e2be..20b0a82a76 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -56,7 +56,6 @@ endif
noinst_PROGRAMS = \
test1 \
test2 \
- test3 \
test7 \
test10 \
test11 \
@@ -65,5 +64,6 @@ noinst_PROGRAMS = \
test-url \
$(THREAD_RELATED_TESTS)
+# test3 \
# test12 \
# test-formatter
diff --git a/tests/test1.c b/tests/test1.c
index 58f5bbef27..8e70dfc792 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -94,8 +94,8 @@ main (int argc, char**argv)
gtk_object_unref (GTK_OBJECT (stream_wrapper));*/
attachment_wrapper = CAMEL_DATA_WRAPPER (camel_simple_data_wrapper_new ());
- camel_data_wrapper_set_input_stream (attachment_wrapper,
- attachment_stream);
+ camel_data_wrapper_construct_from_stream (attachment_wrapper,
+ attachment_stream);
attachment_part = camel_mime_body_part_new ();
camel_mime_part_set_encoding (CAMEL_MIME_PART (attachment_part),
diff --git a/tests/test13.c b/tests/test13.c
index ab86ca4528..05277ae0ea 100644
--- a/tests/test13.c
+++ b/tests/test13.c
@@ -109,7 +109,7 @@ main (int argc, char**argv)
printf("creating parser to create message\n");
parser = camel_mime_parser_new();
camel_mime_parser_init_with_stream(parser, input_stream);
- camel_data_wrapper_construct_from_parser(message, parser);
+ camel_mime_part_construct_from_parser(message, parser);
dump_message_content(message);
diff --git a/tests/test2.c b/tests/test2.c
index 510c8304d6..d71e73e701 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -29,7 +29,7 @@ main (int argc, char**argv)
}
- camel_data_wrapper_set_input_stream ( CAMEL_DATA_WRAPPER (message), input_stream);
+ camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream);
camel_medium_get_content_object (CAMEL_MEDIUM (message));