Package org.exoplatform.services.log

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


      assertEquals(FtpConst.Replyes.REPLY_257, client.executeCommand(new CmdMkd("/production/test_folder")));
      assertEquals(FtpConst.Replyes.REPLY_250, client.executeCommand(new CmdRmd("/production/test_folder")));

      client.close();

      log.info("Complete.");
   }

   public void testRNFR_RNTO() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_RNFR + "_" + FtpConst.Commands.CMD_RNTO);
View Full Code Here


   }

   public void testRNFR_RNTO() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_RNFR + "_" + FtpConst.Commands.CMD_RNTO);
      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_250, client.executeCommand(new CmdRnTo("/production/test_kokanoid_renamed")));
      assertEquals(FtpConst.Replyes.REPLY_250, client.executeCommand(new CmdRmd("/production/test_kokanoid_renamed")));

      client.close();

      log.info("Complete.");
   }

   protected static final String FILE_CONTENT = "eXo TEST File Content...";

   public void testSTOR() throws Exception
View Full Code Here

   protected static final String FILE_CONTENT = "eXo TEST File Content...";

   public void testSTOR() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_STOR);
      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_226, client.executeCommand(cmdStor));

      client.close();

      log.info("Complete.");
   }

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

   }

   public void testSIZE() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_SIZE);
      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_550, client.executeCommand(new CmdSize("/production/test_file_absent.txt")));

      client.close();

      log.info("Complete.");
   }

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

   }

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

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

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

         }
      }

      client.close();

      log.info("Complete.");
   }

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

   }

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