jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.87k stars 872 forks source link

Add unit tests for org.mapdb.io.DataIO #956

Open shafi-1 opened 4 years ago

shafi-1 commented 4 years ago

I've analysed your codebase and noticed that org.mapdb.io.DataIO is not fully tested. I've written some tests for the methods in this class with the help of Diffblue Cover.

Hopefully, these tests will help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other classes that you consider important in a subsequent PR.