Prior to this commit, a @TestBean factory method was found in the directly enclosing class for a @Nested test class; however, such a factory method was not found in the enclosing class of the enclosing class, etc. This commit updates the search algorithm for @TestBean factory methods so that it recursively searches the enclosing class hierarchy for @Nested test classes. Closes gh-32951 |
||
|---|---|---|
| .. | ||
| src | ||
| .springBeans | ||
| spring-test.gradle | ||