学习笔记

导航

junit4 注解

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath*:**/*Context.xml"})
public class UnitServiceTest {
   
    @Autowired
    private UnitService unitService;

posted on 2010-10-20 22:27  2狗子  阅读(165)  评论(1编辑  收藏  举报