alltests.java
来自「如题ServletJSP.rar 为网络收集的JSP网站源文件」· Java 代码 · 共 46 行
JAVA
46 行
/*
* 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 + =
减小字号Ctrl + -
显示快捷键?