Package org.exoplatform.frameworks.ftpclient

Source Code of org.exoplatform.frameworks.ftpclient.FtpTestConfig

/*
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.exoplatform.frameworks.ftpclient;

import org.exoplatform.frameworks.ftpclient.client.FtpClientSession;
import org.exoplatform.frameworks.ftpclient.client.FtpClientSessionImpl;

/**
* Created by The eXo Platform SAS Author : Vitaly Guly <gavrik-vetal@ukr.net/mail.ru>
*
* @version $Id: $
*/

public class FtpTestConfig
{

   /*
    * Server location
    */

   public static final String FTP_HOST = "localhost";

   public static final int FTP_PORT = 2121;

   /*
    * Credentials and workspaceName
    */

   public static final String USER_ID = "admin";

   public static final String USER_PASS = "admin";

   public static final String TEST_WORKSPACE = "production";

   /*
    * MultiThread
    */

   public static final int CLIENTS_COUNT = 20;

   public static final int CLIENT_DEPTH = 2;

   public static final String TEST_FOLDER = "/" + TEST_WORKSPACE + "/crash_test2";

   public static FtpClientSession getTestFtpClient()
   {
      return new FtpClientSessionImpl(FTP_HOST, FTP_PORT);
   }

}
TOP

Related Classes of org.exoplatform.frameworks.ftpclient.FtpTestConfig

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.