一、各种断言
1、assertEquals([String message], expected, actual)//判断相等assertEquals([String message], expected, actual, tolerance)//判断相等,tolerance指经度,比如0.01指小数点后两位
2、assertNull([String message], java.lang.Object object)assertNotNull([String message], java.lang.Object object)
3、assertSame([String messa ...
- 浏览: 68467 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最新评论
-
Java中文问题及最优解决方 ...
<script type="text/javascript"> alert ...
-- by youngsailer -
(hibernate)inverse,casca ...
很好啊,谢谢!
-- by elesen -
tomcat and resin服务器如 ...
resin 设置会有问题吧
-- by beauty9235 -
jsp中的四种范围(page|r ...
请教一下 如何在自定义标签里pageContext.setAttribute,然 ...
-- by blu3leaf -
提高JSP应用程序运行速度 ...
恩,对jsp的性能有帮助。
-- by leonardleonard






评论排行榜