98 lines
3.6 KiB
Java
Executable File
98 lines
3.6 KiB
Java
Executable File
/*
|
|
* BEGIN_HEADER - DO NOT EDIT
|
|
*
|
|
* The contents of this file are subject to the terms
|
|
* of the Common Development and Distribution License
|
|
* (the "License"). You may not use this file except
|
|
* in compliance with the License.
|
|
*
|
|
* You can obtain a copy of the license at
|
|
* https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
|
|
* See the License for the specific language governing
|
|
* permissions and limitations under the License.
|
|
*
|
|
* When distributing Covered Code, include this CDDL
|
|
* HEADER in each file and include the License file at
|
|
* https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
|
|
* If applicable add the following below this CDDL HEADER,
|
|
* with the fields enclosed by brackets "[]" replaced with
|
|
* your own identifying information: Portions Copyright
|
|
* [year] [name of copyright owner]
|
|
*/
|
|
|
|
/*
|
|
* @(#)FtpSuite.java
|
|
*
|
|
* Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
|
|
*
|
|
* END_HEADER - DO NOT EDIT
|
|
*/
|
|
|
|
package com.sun.jbi.ftpbc.ftp;
|
|
|
|
import junit.framework.Test;
|
|
import junit.framework.TestCase;
|
|
import junit.framework.TestSuite;
|
|
|
|
/*
|
|
* JUnit based test.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
* @author Harry Liu (harry.liu@sun.com)
|
|
*
|
|
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
|
*/
|
|
public class FtpSuite extends TestCase {
|
|
|
|
public FtpSuite(String testName) {
|
|
super(testName);
|
|
}
|
|
|
|
protected void setUp() throws Exception {
|
|
super.setUp();
|
|
}
|
|
|
|
protected void tearDown() throws Exception {
|
|
super.tearDown();
|
|
}
|
|
|
|
/**
|
|
* suite method automatically generated by JUnit module
|
|
*/
|
|
public static Test suite() {
|
|
TestSuite suite = new TestSuite("FtpSuite");
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpDirRegExpTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileClientImplTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileConfigurationTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileProviderImplTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileStateTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileStateDBPersistenceAdapterTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileStatePersistenceAdapterTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileTransferNamesAndCommandsGetTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileTransferNamesAndCommandsPutTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileTransferNamesAndCommandsTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpFileValidatorTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpHeuristicsFileListParserTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpHeuristicsFileTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpHeuristicsPropertiesTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.FtpHeuristicsTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.NonEmptyScEncryptTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.ScSCryptTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksChainTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksExceptionTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksServerSocketTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksSocketFactoryTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksSocketTest.suite());
|
|
suite.addTest(com.sun.jbi.ftpbc.ftp.SocksTest.suite());
|
|
return suite;
|
|
}
|
|
|
|
public static void main(java.lang.String[] argList) {
|
|
junit.textui.TestRunner.run(suite());
|
|
}
|
|
|
|
}
|