Package org.exoplatform.services.log

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


      assertEquals(FtpConst.Replyes.REPLY_200, client.executeCommand(new CmdNoop()));

      client.close();

      log.info("Complete.");
   }

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


   }

   public void testUSER() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_USER);
      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_331, client.executeCommand(new CmdUser("admin")));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testPASS() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PASS);
      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_331, client.executeCommand(new CmdUser("admin")));
      assertEquals(FtpConst.Replyes.REPLY_230, client.executeCommand(new CmdPass("admin")));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testSYST() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_SYST);
      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_331, client.executeCommand(new CmdUser("admin")));
      assertEquals(FtpConst.Replyes.REPLY_230, client.executeCommand(new CmdPass("admin")));
      assertEquals(FtpConst.Replyes.REPLY_215, client.executeCommand(new CmdSyst()));

      log.info("Complete.");
   }

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

   }

   public void testPWD() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_PWD);
      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_230, client.executeCommand(new CmdPass("admin")));

      CmdPwd cmdPwd = new CmdPwd();
      assertEquals(FtpConst.Replyes.REPLY_257, client.executeCommand(cmdPwd));

      log.info("CURRENTPATH - [" + cmdPwd.getCurrentPath() + "]");

      // assertEquals("/", cmdPwd.getCurrentPath());

      log.info("Complete.");
   }
View Full Code Here

      log.info("CURRENTPATH - [" + cmdPwd.getCurrentPath() + "]");

      // assertEquals("/", cmdPwd.getCurrentPath());

      log.info("Complete.");
   }

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