Package org.exoplatform.services.log

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


         }
      }

      client.close();

      log.info("Complete.");
   }

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


   }

   public void testDELE() throws Exception
   {
      Log log = getLogger(FtpConst.Commands.CMD_DELE);
      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")));
      assertEquals(FtpConst.Replyes.REPLY_250, client.executeCommand(new CmdDele("/production/test_file.txt")));

      client.close();

      log.info("Complete.");
   }

   protected byte[] getBytes(String content)
   {
      byte[] data = new byte[content.length()];
View Full Code Here

   }

   public void testREST_STOR() throws Exception
   {
      Log log = getLogger("REST_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_250, client.executeCommand(new CmdDele(fileName)));

      client.close();

      log.info("Complete.");
   }

}
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.