junit4 注解
摘要:
@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations={"classpath*:**/*Context.xml"})public class UnitServiceTest { @Autowired private UnitService unitService; 阅读全文
posted @ 2010-10-20 22:27 2狗子 阅读(165) 评论(1) 推荐(0) 编辑