spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.75k stars 38.15k forks source link

Ensure `JdkAopProxyTests` and `CglibAopProxyTests` are actually run in the Gradle build #33797

Closed sbrannen closed 1 month ago

sbrannen commented 1 month ago

Overview

The abstract ProxyExceptionHandlingTests class introduced in #32469 has a rather odd structure of inheritance and @Nested test classes which results in the static nested JdkAopProxyTests and CglibAopProxyTests classes not being run (or at least reported correctly) in our Gradle build.

We should therefore rework those classes to ensure the tests are actually run.

Related issues