From 0c1a38160f5c97bfee3bad5d177ea3706069b993 Mon Sep 17 00:00:00 2001 From: NotZed Date: Mon, 24 Apr 2000 09:10:40 +0000 Subject: Fixed for method movements. 2000-04-24 NotZed * 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 --- ChangeLog | 12 ++++++++++++ tests/Makefile.am | 2 +- tests/test1.c | 4 ++-- tests/test13.c | 2 +- tests/test2.c | 2 +- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index efaf10a9be..f725776c58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2000-04-24 NotZed + + * tests/test13.c (main): Fixed for method movements. + + * tests/test3.c (main): Removed from build, data-wrapper-repository removed. + +2000-04-23 NotZed + + * tests/test2.c (main): Changed to use construct_from_stream. + + * tests/test1.c (main): Chagned to use construct_from_stream. + 2000-04-24 Matt Loper * default_user/Makefile.am: new file. 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)); -- cgit v1.2.3