Merge pull request #2949 from hapifhir/2948

update TestUtil to recursively scan down into subpackages
This commit is contained in:
Tadgh 2021-09-02 18:34:23 -04:00 committed by GitHub
commit a2861c695e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class TestUtil {
.collect(Collectors.toSet()); .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>(); Set<String> names = new HashSet<String>();
if (classes.size() <= 1) { if (classes.size() <= 1) {