Commit 48fa2d8
committed
Switch to loadFactoryClasses and Set in test
Refactor WebFluxExtensionInitializerTest to use loadFactoryClasses returning a Set<Class<...>> instead of loadFactoryNames/String list. Replace java.util.List import with java.util.Set and update static import to loadFactoryClasses. Move the factory lookup/assert into a dedicated @test method (testSpringFactories) and assert presence of WebFluxExtensionInitializer by class rather than by name for a more robust check.1 parent 03900e6 commit 48fa2d8
1 file changed
Lines changed: 7 additions & 4 deletions
File tree
- microsphere-spring-webflux/src/test/java/io/microsphere/spring/webflux/annotation
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | | - | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
0 commit comments