update TestUtil to recursively scan down into subpackages

This commit is contained in:
Vadim Karantayer 2021-09-02 15:35:40 -04:00
parent aca354bd8d
commit c28f5e75b3
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class TestUtil {
.collect(Collectors.toSet());
}
ImmutableSet<ClassInfo> classes = ClassPath.from(TestUtil.class.getClassLoader()).getTopLevelClasses(packageName);
ImmutableSet<ClassInfo> classes = ClassPath.from(TestUtil.class.getClassLoader()).getTopLevelClassesRecursive(packageName);
Set<String> names = new HashSet<String>();
if (classes.size() <= 1) {