摘要: 测试类添加两个注解 @RunWith(SpringJUnit4ClassRunner.class)和@ContextConfiguration(locations = "classpath:applicationContext.xml")配置文件如果有多个,可以传个数组进去@ContextConfi 阅读全文
posted @ 2016-07-09 11:51 玉曲风 阅读(258) 评论(0) 推荐(0) 编辑