HIT-ReFreSH / JMobileSuit

Light weight Mobile Suit for Java.
MIT License
6 stars 42 forks source link

增加对 IOServer 依赖注入的测试 #21

Closed yrris closed 12 months ago

yrris commented 12 months ago

I've added Spring's dependency injection framework to the project's pom.xml and attempted to implement dependency injection for IOServer using the Spring container. In the IOServerTest test file, I successfully tested the injection of the ColorSetting object into IOServer. This is just a small part of the work. Given the large scale of the entire project, fully refactoring to manage dependency injection through the framework seems challenging for me at this stage.