Menu

#17 FileAssert.assertMD5CheckSum()

open
Main module (8)
5
2004-12-13
2004-12-13
jpmat296
No

For my dev, I have done a method
assertMD5CheckSum(String md5SumExpected, InputStream
in) which test that input stream md5 checksum is what
is expected.

This methods have one main advantage. In I/O
operations, it is twice more performant because
md5checksum can be hardcoded in JavaCode so there is no
more need two read two input streams.

Are you interested to add that in your FileAssert class ?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.