From c28f5e75b3d2a7acae062f6106d4511f5a9f482a Mon Sep 17 00:00:00 2001 From: Vadim Karantayer Date: Thu, 2 Sep 2021 15:35:40 -0400 Subject: [PATCH] update TestUtil to recursively scan down into subpackages --- .../src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java index 22676af6bf8..f878494e559 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java @@ -96,7 +96,7 @@ public class TestUtil { .collect(Collectors.toSet()); } - ImmutableSet classes = ClassPath.from(TestUtil.class.getClassLoader()).getTopLevelClasses(packageName); + ImmutableSet classes = ClassPath.from(TestUtil.class.getClassLoader()).getTopLevelClassesRecursive(packageName); Set names = new HashSet(); if (classes.size() <= 1) {