From 05aaadc66b77c9f080b590fa19938de8ec80691d Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Fri, 24 Nov 2000 07:06:45 +0000 Subject: little util to scan mailboxes for any and every address they contain. * tests/data/getaddr.pl: little util to scan mailboxes for any and every address they contain. * tests/message/test2.c (main): Added a bunch of stuff to test decoding/reencoding/etc of internationalised addresses. * tests/message/lib/address-data.h: Copy of some unicode/other testing data. **Beware** of editing this file in emacs, it'll probably try and convert all the characters to something unusable. * tests/lib/camel-test.c (camel_test_break): Add a debugger hook point. * camel-mime-utils.c (quoted_encode): Check for space and convert to _ separately. (header_decode_mailbox): Fixed the 'check comments for realname' code, problem was the domain getting code was skipping all whitespace/comments before we could get a look-in. This is approximate but fairly robust. (header_decode_text): Dont use the c-type isspace func here, we want a specific whitespace only. (header_decode_text): If we have decoded words next to each other, do not insert whitespaces between them, which is what rfc2047 requires. (header_decode_text): Make c unsigned too. svn path=/trunk/; revision=6658 --- camel/tests/README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'camel/tests/README') diff --git a/camel/tests/README b/camel/tests/README index e9262541b4..2ffcc2dbcc 100644 --- a/camel/tests/README +++ b/camel/tests/README @@ -33,6 +33,8 @@ code has known limitations currently that stop it passing, but otherwise works for nominal input. To debug tests, set a breakpoint on camel_test_fail, which will be -called for any failure, even a non-fatal one. +called for any failure, even a non-fatal one. Or set it to +camel_test_break, which will only be called for fatal errors which are +to print to the screen. Michael -- cgit v1.2.3