📄 showtest.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 ShowTest { public ShowTest() { } @BeforeClass public static void setUpClass() throws Exception { } @AfterClass public static void tearDownClass() throws Exception { } @Before public void setUp() { } @After public void tearDown() { } /** * Test of getInstance method, of class Show. */ @Test public void getInstance() { System.out.println("getInstance"); Show expResult = null; Show result = Show.getInstance(); 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 Introduce method, of class Show. */ @Test public void Introduce() { System.out.println("Introduce"); Show instance = new Show(); instance.Introduce(); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of ToShow method, of class Show. */ @Test public void ToShow() { System.out.println("ToShow"); String temp = ""; Show instance = new Show(); instance.ToShow(temp); // 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 + -