aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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));