Class TestUtils


  • public class TestUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TestUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void disableFileAnalyzer()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - use disableFileAnalyzer(String reason) instead
      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
      static void disableFileAnalyzer​(java.lang.String reason)  
      static void disableFileAnalyzer​(java.lang.String reason, int forMaxLines)  
      static long dumpMemory()  
      static void enableFileAnalyzer()  
      static boolean forceGC()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestUtils

        public TestUtils()
    • Method Detail

      • 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​(java.lang.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​(java.lang.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()