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 TypeMethodDescriptionvoid
assertContains
(Class<?> type) void
assertContains
(String typeName) void
assertContainsNot
(Class<?> type) void
assertContainsNot
(String typeName) static ClassInclusionReport
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.
-
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
-