Class TestUtil

java.lang.Object
org.serviceconnector.TestUtil

public class TestUtil extends Object
  • Field Details

  • Constructor Details

    • TestUtil

      public TestUtil()
  • Method Details

    • getSCMPString

      public static String getSCMPString(org.serviceconnector.net.SCMPHeaderKey headKey, String header, String body)
    • verifyError

      public static void verifyError(org.serviceconnector.scmp.SCMPMessage result, org.serviceconnector.scmp.SCMPError error, org.serviceconnector.scmp.SCMPMsgType msgType)
    • checkReply

      public static void checkReply(org.serviceconnector.scmp.SCMPMessage message) throws Exception
      Throws:
      Exception
    • getLargeString

      public static String getLargeString()
    • get10MBString

      public static String get10MBString()
    • get50MBString

      public static String get50MBString()
    • checkLogFile

      public static void checkLogFile(String logbackFileName, String logFileToCheck) throws Exception
      Throws:
      Exception
    • deleteLogDir

      public static void deleteLogDir(String logbackFileName) throws Exception
      Throws:
      Exception
    • deleteDir

      public static boolean deleteDir(File dir)
    • create200MBFile

      public static void create200MBFile(String filePath) throws Exception
      Throws:
      Exception