abstract class AnnotationConfigContextLoaderUtils
Utility methods for SmartContextLoader that deal with annotated classes (e.g., Configuration classes).
Author
Sam Brannen
Since
3.2
AnnotationConfigContextLoaderUtils()
Utility methods for SmartContextLoader that deal with annotated classes (e.g., Configuration classes). |
open static fun detectDefaultConfigurationClasses(declaringClass: Class<*>): Array<Class<*>>
Detect the default configuration classes for the supplied test class. The returned class array will contain all static nested classes of the supplied class that meet the requirements for The implementation of this method adheres to the contract defined in the org.springframework.test.context.SmartContextLoader SPI. Specifically, this method uses introspection to detect default configuration classes that comply with the constraints required of |