alltests.java
来自「hibernate and xdoclet 结合」· Java 代码 · 共 36 行
JAVA
36 行
package dao;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.framework.TestCase;
/**
* Run all the unit tests
*/
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(dao.hibernate.AllTests.suite());
// add all the test classes in the current package
//suite.addTestSuite(OrderDAOmysqlTest.class);
return suite;
}
}//EOC
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?