oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.35k stars 744 forks source link

IndexCheck should be normal class to aid testing #4412

Closed vladak closed 11 months ago

vladak commented 1 year ago

As described in PR #4402, the IndexCheck class is hard to write tests for, because it is utility class - with all of the methods static. Rewriting it to normal class should help with writing more comprehensive tests for the index checks.