java测试类
2021-03-15 19:29
标签:ram spring contex pat port classpath junit4 oca ring `import org.junit.runner.RunWith; @RunWith(SpringJUnit4ClassRunner.class) } java测试类 标签:ram spring contex pat port classpath junit4 oca ring 原文地址:https://www.cnblogs.com/SnowPrince/p/13997907.html
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@ContextConfiguration(locations = "classpath:applicationContext.xml")
public class Test {@org.junit.Test
public void test(){
System.out.println("我不知道!");
}
`
上一篇:Java反射的使用
下一篇:基于二叉树的层次遍历算法分析