@Override
    public boolean isCandidatePath(String resourcePath, boolean isJar) {
      return !hadoopCompactRe.matcher(resourcePath).find();
    }
Filters both test classes and anything in the hadoop-compat modules
hbase-common/src/test/java/org/apache/hadoop/hbase/ClassTestFinder.java