📄 alltests.java
字号:
/* * XP Forum * * Copyright (c) 2002-2003 RedSoft Group. All rights reserved. * */package org.redsoft.forum.web;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( LogonActionTest.class ); suite.addTestSuite( RegisterActionTest.class ); suite.addTestSuite( EditAccountLinkActionTest.class ); suite.addTestSuite( EditAccountActionTest.class ); suite.addTestSuite( PasswordHintActionTest.class ); suite.addTestSuite( EditThreadLinkActionTest.class ); suite.addTestSuite( EditThreadActionTest.class ); suite.addTestSuite( PostLinkActionTest.class ); suite.addTestSuite( PostThreadActionTest.class ); suite.addTestSuite( ViewThreadActionTest.class ); suite.addTestSuite( ViewMyThreadActionTest.class ); suite.addTestSuite( ViewForumListActionTest.class ); suite.addTestSuite( ViewForumLinkActionTest.class ); suite.addTestSuite( FindThreadActionTest.class ); suite.addTestSuite( AddColumnThreadActionTest.class ); suite.addTestSuite( RemoveColumnThreadActionTest.class ); suite.addTestSuite( ColumnActionTest.class ); return suite; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -