Files
evolution/camel/tests/lib/messages.h
Not Zed 87b5d92a77 ** See bug #47634.
2003-08-15  Not Zed  <NotZed@Ximian.com>

        ** See bug #47634.

        * tests/lib/messages.c (test_message_compare): check
        write_to_stream returns.
        (message_dump_rec): helper to dump message structure.

        * camel-mime-part-utils.c
        (simple_data_wrapper_construct_from_parser): dont set content
        encoding here.
        (camel_mime_part_construct_content_from_parser): set it here
        instead, on every part.  basically same as setting the
        mime_type_field always.

        * camel-multipart-signed.c (camel_multipart_signed_class_init):
        * camel-mime-message.c (camel_mime_message_class_init):
        * camel-multipart.c (camel_multipart_class_init): override
        decode_to_stream to always do the same as write_to_stream, since
        we can never be encoded.

svn path=/trunk/; revision=22252
2003-08-15 20:57:30 +00:00

16 lines
619 B
C

#include <camel/camel-mime-message.h>
/* how many ways to set the content contents */
#define SET_CONTENT_WAYS (5)
/* messages.c */
CamelMimeMessage *test_message_create_simple(void);
void test_message_set_content_simple(CamelMimePart *part, int how, const char *type, const char *text, int len);
int test_message_write_file(CamelMimeMessage *msg, const char *name);
CamelMimeMessage *test_message_read_file(const char *name);
int test_message_compare_content(CamelDataWrapper *dw, const char *text, int len);
int test_message_compare (CamelMimeMessage *msg);
void test_message_dump_structure(CamelMimeMessage *m);