alltests.java

来自「Chinaxp 论坛源代码」· Java 代码 · 共 54 行

JAVA
54
字号
/* * Copyright 2003 by Redsoft Factory Inc., * Apt 738, 68 Corporate Drive, Toronto, Ontario, Canada * All rights reserved. * * This software is the confidential and proprietary information * of Redsoft Factory Inc. ("Confidential Information").  You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Redsoft Factory. */package org.redsoft.forum.dao.jdo;/* * XP Forum * * Copyright (c) 2002-2003 RedSoft Group.  All rights reserved. * */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.2 2004/02/24 05:57:06 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 all the test classes in the current package		suite.addTestSuite(AccountDAOJDOTest.class);        suite.addTestSuite(ThreadDAOJDOTest.class);		return suite;	}}

⌨️ 快捷键说明

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