Package org.exoplatform.services.log

Examples of org.exoplatform.services.log.Log.info()


   }

   public void testCWD() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_CWD);
      log.info("Test...");

      // success

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();
View Full Code Here


      assertEquals(FtpConst.Replyes.REPLY_530, client.executeCommand(new CmdCwd("production")));

      client.close();

      log.info("Complete.");
   }

   public void testCDUP() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_CDUP);
View Full Code Here

   }

   public void testCDUP() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_CDUP);
      log.info("Test...");

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();

      assertEquals(FtpConst.Replyes.REPLY_331, client.executeCommand(new CmdUser("admin")));
View Full Code Here

      assertEquals(FtpConst.Replyes.REPLY_257, client.executeCommand(cmdPwd));
      assertEquals("/", cmdPwd.getCurrentPath());

      client.close();

      log.info("Complete.");
   }

   public void testTYPE() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_TYPE);
View Full Code Here

   }

   public void testTYPE() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_TYPE);
      log.info("Test...");

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();

      assertEquals(FtpConst.Replyes.REPLY_331, client.executeCommand(new CmdUser("admin")));
View Full Code Here

      assertEquals(FtpConst.Replyes.REPLY_200, client.executeCommand(new CmdType("I")));
      assertEquals(FtpConst.Replyes.REPLY_500, client.executeCommand(new CmdType("SOMETYPE")));

      client.close();

      log.info("Complete.");
   }

   public void testPASV() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PASV);
View Full Code Here

   }

   public void testPASV() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PASV);
      log.info("Test...");

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();

      assertEquals(FtpConst.Replyes.REPLY_331, client.executeCommand(new CmdUser("admin")));
View Full Code Here

            }
            Thread.sleep(1000);
         }
         catch (Exception exc)
         {
            log.info(FtpConst.EXC_MSG + exc.getMessage(), exc);
         }
      }

      assertEquals(true, connected);
View Full Code Here

      client.getDataTransiver().close();

      client.close();

      log.info("Complete.");
   }

   public void testPORT() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PORT);
View Full Code Here

   }

   public void testPORT() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PORT);
      log.info("Test...");

      FtpClientSession client = FtpTestConfig.getTestFtpClient();
      client.connect();

      assertEquals(FtpConst.Replyes.REPLY_331, client.executeCommand(new CmdUser("admin")));
View Full Code Here

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.