logtesttest.java

来自「log4j学学习例子」· Java 代码 · 共 21 行

JAVA
21
字号
import junit.framework.TestCase;


public class LogTestTest extends TestCase {

	protected void setUp() throws Exception {
		System.out.println("setUp");
		
	}

	protected void tearDown() throws Exception {
		System.out.println("tearDown");
	}

	public void testGetData() {
		LogTest lt = new LogTest();
		super.assertEquals(1000, lt.getData());
	}

}

⌨️ 快捷键说明

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