⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addcommandtest.java

📁 Java编写个人日程管理工具, 具有添加编辑日程和自动适应功能, 程序包含完整的Document和测试运行环境
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package ui;import org.junit.After;import org.junit.AfterClass;import org.junit.Before;import org.junit.BeforeClass;import org.junit.Test;import static org.junit.Assert.*;/** * * @author Administrator */public class AddCommandTest {    public AddCommandTest() {    }    @BeforeClass    public static void setUpClass() throws Exception {    }    @AfterClass    public static void tearDownClass() throws Exception {    }    @Before    public void setUp() {    }    @After    public void tearDown() {    }    /**     * Test of parse method, of class AddCommand.     */    @Test    public void parse() {        System.out.println("parse");        String input = "";        AddCommand instance = new AddCommand();        instance.parse(input);        // TODO review the generated test code and remove the default call to fail.        fail("The test case is a prototype.");    }    /**     * Test of Execute method, of class AddCommand.     */    @Test    public void Execute() {        System.out.println("Execute");        AddCommand instance = new AddCommand();        boolean expResult = false;        boolean result = instance.Execute();        assertEquals(expResult, result);        // TODO review the generated test code and remove the default call to fail.        fail("The test case is a prototype.");    }    /**     * Test of ToString method, of class AddCommand.     */    @Test    public void ToString() {        System.out.println("ToString");        AddCommand instance = new AddCommand();        String expResult = "";        String result = instance.ToString();        assertEquals(expResult, result);        // TODO review the generated test code and remove the default call to fail.        fail("The test case is a prototype.");    }}

⌨️ 快捷键说明

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