java
文章平均质量分 80
fengjingchao8
这个作者很懒,什么都没留下…
展开
-
JUnit与eclipse
这方面网上有很多教程了,就说说我自己注意到的几方面吧。1.new junit test-case ->(1)上面两个是只执行一次的,下面两个是每次test都执行的;(2)一个是前,一个是后; 2.用"@Test(expected=xxxException.class)"捕获异常,如果捕获到了该异常也能passed test 3.Test Suite直接添原创 2011-06-11 12:06:00 · 268 阅读 · 0 评论 -
java中的activation record,编译器相关的
http://people.cis.ksu.edu/~schmidt/300s05/Lectures/Lecture3.html CIS300 Spring 2005The activation-record stackAlmost every programming language that contains procedures or methods in it转载 2011-06-13 11:23:00 · 1008 阅读 · 0 评论