junit
q_182480171
这个作者很懒,什么都没留下…
展开
-
junit 入门实例
需要在工程中引入junit的jar包,测试sum方法的返回值是否正确,代码如下: package com.channelsoft.cmmb.cspapi.webservice; import junit.framework.TestCase; public class TestCalculator extends TestCase { public int sum(int a,int b原创 2016-12-02 15:51:52 · 364 阅读 · 0 评论 -
junit的demo
package test; import com.channelsoft.cms.common.po.DataSyncLogPo; import com.channelsoft.cms.log.service.IDataSyncLogService; import junit.framework.TestCase; public class test extends TestCase {原创 2016-12-02 15:55:54 · 529 阅读 · 0 评论