Package de.hybris.platform.testframework
Class TestUtils
- java.lang.Object
-
- de.hybris.platform.testframework.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 voiddisableFileAnalyzer()Deprecated, for removal: This API element is subject to removal in a future version.since ages - use disableFileAnalyzer(String reason) insteadstatic voiddisableFileAnalyzer(int forMaxLines)Deprecated, for removal: This API element is subject to removal in a future version.since ages - use disableFileAnalyzer(String reason, int forMaxLines) insteadstatic voiddisableFileAnalyzer(java.lang.String reason)static voiddisableFileAnalyzer(java.lang.String reason, int forMaxLines)static longdumpMemory()static voidenableFileAnalyzer()static booleanforceGC()
-
-
-
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 thrownforMaxLines- Amount of lines the fileanalyzer should skip
-
forceGC
public static boolean forceGC()
-
dumpMemory
public static long dumpMemory()
-
-