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

📄 alltests.java

📁 一个功能较为完善的论坛
💻 JAVA
字号:
/*
 * XP Forum
 *
 * Copyright (c) 2002-2003 RedSoft Group.  All rights reserved.
 *
 */
package org.redsoft.forum;

import junit.framework.Test;
import junit.framework.TestSuite;
import junit.framework.TestCase;

/**
 * Run all the unit tests
 *
 * @author <a href="mailto:jwtronics@yahoo.com">John Wong</a>
 *
 * @version $Id: AllTests.java,v 1.1.1.1 2003/07/08 08:25:17 cinc 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
        suite.addTest(org.redsoft.forum.dao.AllTests.suite());
		suite.addTest(org.redsoft.forum.util.AllTests.suite());

		// add all the test classes in the current package

		return suite;
	}
}//EOC

⌨️ 快捷键说明

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