Class TestUtils

java.lang.Object
de.hybris.platform.testframework.TestUtils

public class TestUtils extends Object
  • Constructor Details

    • TestUtils

      public TestUtils()
  • Method Details

    • enableFileAnalyzer

      public static void enableFileAnalyzer()
    • disableFileAnalyzer

      @Deprecated(since="ages", forRemoval=true) public static void disableFileAnalyzer()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - use disableFileAnalyzer(String reason) instead
    • disableFileAnalyzer

      @Deprecated(since="ages", forRemoval=true) public static void disableFileAnalyzer(int forMaxLines)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - use disableFileAnalyzer(String reason, int forMaxLines) instead
    • disableFileAnalyzer

      public static void disableFileAnalyzer(String reason)
      Parameters:
      reason - The reason why the fileanalyzer should be disabled for the next line, e.g. the exception that will be thrown
    • disableFileAnalyzer

      public static void disableFileAnalyzer(String reason, int forMaxLines)
      Parameters:
      reason - The reason why the fileanalyzer should be disabled for the next lines, e.g. the exception that will be thrown
      forMaxLines - Amount of lines the fileanalyzer should skip
    • forceGC

      public static boolean forceGC()
    • dumpMemory

      public static long dumpMemory()