james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: Mime4j and buffering
Date Thu, 07 Jun 2007 08:27:30 GMT
Jukka Zitting ha scritto:
> Hi,
> By the way, do we have somewhere a good set of test messages I could
> use when testing my Mime4j modifications?
> BR,
> Jukka Zitting

I attached here the messages I removed (for copyright issues)

I think you should better create some custom message specific to the
area you change: e.g. if you need a big message to check memory usage
and elapsed then you can create a big message. You could also create a
worst case message where the boundary text with a removed char is used
as a fill pattern for the body content.

You create the message, place it in the test folder, run the tests. It
will create "expected" files and fail. The in you manually inspect
created files for correctness and you rename them to be the "official"
test files. The next runs they will be part of the tests.


To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message