alltests.java
来自「Chinaxp 论坛源代码」· Java 代码 · 共 46 行
JAVA
46 行
/* * XP Forum * * Copyright (c) 2002-2003 RedSoft Group. All rights reserved. * */package org.redsoft.forum.dao.mock;import junit.framework.Test;import junit.framework.TestSuite;/** * Run all the unit tests * * @author <a href="mailto:jwtronics@yahoo.com">John Wong</a> * * @version $Id: AllTests.java,v 1.1.1.1 2004/02/04 03:52:13 mustang Exp $ */public class AllTests { /** * Start the tests. * * @param args the arguments. Not used */ public static void main(String args[]) { junit.textui.TestRunner.run(suite()); } /** * @return a test suite (<code>TestSuite</code>) that includes all methods * starting with "test" */ public static Test suite() { TestSuite suite = new TestSuite(); // add the AllTests for the sub-package // add all the test classes in the current package suite.addTestSuite(AccountDAOmockTest.class); suite.addTestSuite(ThreadDAOmockTest.class); suite.addTestSuite(ForumDAOmockTest.class); return suite; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?