百度空间
|
百度首页
Javafuns is programming ......
Take Me Back to Heal The World
主页
博客
相册
|
个人档案
|
好友
查看文章
The interesting but useful mock assertion in Java
2009年08月28日 星期五 20:37
在某开源项目里, 发现它使用了一种很有意思的 assertion 机制. 这是一种仿 assertion 的方式来实现对输入参数或特定表达式的判断.
伪代码如下:
>>>
read more
类别:java语言
|
添加到搜藏
| 浏览(
) |
评论
(0)
最近读者:
网友评论:
发表评论:
姓 名:
*姓名最长为50字节
网址或邮箱:
(选填)
内 容:
验证码:
请点击后输入四位验证码,字母不区分大小写
看不清?
取消回复
©2009 Baidu