Class ClassInclusionReport
java.lang.Object
io.quarkus.test.junit.nativeimage.ClassInclusionReport
This is a general utility to assert via
unit testing which classes have been included in a native-image.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertContains(Class<?> type) voidassertContains(String typeName) voidassertContainsNot(Class<?> type) voidassertContainsNot(String typeName) static ClassInclusionReportload()This will load the class inclusions report assuming the native-image was built in the current module and following Maven conventions: by walking into the '/target' directory from the current directory.
-
Method Details
-
load
This will load the class inclusions report assuming the native-image was built in the current module and following Maven conventions: by walking into the '/target' directory from the current directory.- Returns:
- An assertable report of all classes included in the current app
-
assertContains
-
assertContainsNot
-
assertContains
-
assertContainsNot
-