fundtest.java
来自「这是本人以前在学校时」· Java 代码 · 共 31 行
JAVA
31 行
package com.funddeal.test;
import java.util.ArrayList;
import java.util.Collection;
import com.funddeal.model.bean.fund.FundJB;
import junit.framework.TestCase;
public class FundTest extends TestCase {
private FundJB fJB;
protected void setUp() throws Exception {
super.setUp();
fJB=new FundJB();
}
protected void tearDown() throws Exception {
super.tearDown();
}
public void testFund(){
Collection col=fJB.searchAllFund();
if(col==null){
System.out.println(FundJB.errorMsg);
}else{
ArrayList al=(ArrayList)col;
System.out.println(al.size());
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?