Package org.exoplatform.services.log

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


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

      CmdPort cmdPort = new CmdPort(host, port);

      assertEquals(FtpConst.Replyes.REPLY_200, client.executeCommand(cmdPort));
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 testLIST() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_LIST);
View Full Code Here

   }

   public void testLIST() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_LIST);
      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_227, client.executeCommand(new CmdPasv()));
      assertEquals(FtpConst.Replyes.REPLY_226, client.executeCommand(new CmdList()));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testNLST() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_NLST);
      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_227, client.executeCommand(new CmdPasv()));
      assertEquals(FtpConst.Replyes.REPLY_226, client.executeCommand(new CmdNlst()));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testMKD() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_MKD);
      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_215, client.executeCommand(new CmdSyst()));
      assertEquals(FtpConst.Replyes.REPLY_257, client.executeCommand(new CmdMkd("/production/test_folder")));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testRMD() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_RMD);
      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.