1、
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:services/service-*.xml","classpath:services/ext/service-*.xml",
"classpath:services/ext/YichengYunwei/service-*.xml"})
public class InspectionJobTest extends AbstractJUnit4SpringContextTests{
本文详细介绍了如何使用SpringJUnit4ClassRunner和@ContextConfiguration注解进行Spring框架下的InspectionJob单元测试,包括服务配置加载路径的设置。
161

被折叠的 条评论
为什么被折叠?



