mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
SpringRunnerContextCacheTests suffers from JDK7-related non-determinism in values returned from Class#getDeclaredMethods(), which in turn affects JUnit and its execution of @Test methods. This commit addresses this issue by introducing an OrderedMethodsSpringJUnit4ClassRunner that sorts the test methods alphabetically, which is actually required for SpringRunnerContextCacheTests to work properly. Issue: SPR-9789