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

📄 class_btestcase.java

📁 软件测试和junit实践一书的源代码
💻 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 + -