标签:
package cn.seven.shengsiyuan.annocation.junitan;
import org.junit.Test;
public class JunitSource {
//疑问就是为甚这边不写main方法,方法不被调用就可以直接执行呢??-反射
@Test
public void Hello() {
System.out.println("hello world");
}
}
Think in Java 笔记_Chapter20_2_Annocation和Junit
标签:
原文地址:http://www.cnblogs.com/together-sharing-for-freshman/p/4393918.html