Re: Design by contract toys



Hmm, shouldn't the url string always have a "://" in it?

Like "maildir:///home/user/.modest/mails" ?


On Fri, 2007-03-16 at 11:41 +0100, Sergio Villar Senin wrote:
> 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.
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]