testemployee.java~7~

来自「数据库应用程序.它比较全面的含盖了JAVA应用程序与数据库之间通讯的全过程.本程」· JAVA~7~ 代码 · 共 48 行

JAVA~7~
48
字号
package chapter25.db;

import junit.framework.*;
import fixture.*;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class TestEmployee extends TestCase {
    private Employee employee = null;
    ComparisonFixture1 comparisonFixture1;

    protected void setUp() throws Exception {
        super.setUp();
        /**@todo verify the constructors*/
        employee = new Employee("", "", 0);
        comparisonFixture1 = new ComparisonFixture1(this);

        comparisonFixture1.setUp();
    }

    protected void tearDown() throws Exception {
        employee = null;
        comparisonFixture1.tearDown();

        comparisonFixture1 = null;
        super.tearDown();
    }

    public void testEmployee() {
        String id = "";
        String name = "";
        int age = 0;
        employee = new Employee(id, name, age);
        /**@todo fill in the test code*/
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?