Re: Design by contract toys
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Re: Design by contract toys
- Date: Fri, 16 Mar 2007 11:41:26 +0100
Sergio Villar Senin wrote:
> Philip Van Hoof wrote:
>> I added design by contract assertions in all the libtinymail interfaces.
>> For more information about this, check this page and read about Eiffel a
>> little bit ;-)
>>
>> http://tinymail.org/trac/tinymail/wiki/DesignByContract
>
> Wow, this stuff is really cool for MUA developers, thx Philip.
BTW, a very specific question, is this assertion true for everycase?
** ERROR **: file tny-account.c: line 375 (tny_account_set_url_string):
assertion failed: (strstr (url_string, "://") != NULL)
I mean, the error was caused by a local maildir account, should I use
camel_url_set_host (url, "localhost") or something like this, or the
assertion is too restrictive.
Br.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]