📄 class_btestcase.java
字号:
/* * Class_BTestCase.java * * Created on 2003年5月29日, 下午7:02 */package com.fastpoint.book;public class Class_BTestCase extends Abstract_ATestCase{ Class_B class_b; public Class_BTestCase() { super(); } protected void setUp() { super.setUp(); class_b = new Class_B(); } protected void tearDown() { class_b = null; } public void testAllExtendTests(){ testA_Method(); testB_Method(); testC_Method(); } public void testa_Method(){ assertEquals("a_Method()",class_b.a_Method()); } public void testb_Method(){ assertEquals("b_Method()",class_b.b_Method()); } public void testc_Method(){ assertEquals("c_Method()",class_b.c_Method()); } public static void main(String[] args) { junit.textui.TestRunner.run(Class_BTestCase.class); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -