Package de.hybris.platform.testframework
Class TestUtils
java.lang.Object
de.hybris.platform.testframework.TestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated, 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(String reason) static voiddisableFileAnalyzer(String reason, int forMaxLines) static longstatic voidstatic booleanforceGC()
-
Constructor Details
-
TestUtils
public TestUtils()
-
-
Method Details
-
enableFileAnalyzer
public static void enableFileAnalyzer() -
disableFileAnalyzer
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use disableFileAnalyzer(String reason) instead -
disableFileAnalyzer
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use disableFileAnalyzer(String reason, int forMaxLines) instead -
disableFileAnalyzer
- Parameters:
reason- The reason why the fileanalyzer should be disabled for the next line, e.g. the exception that will be thrown
-
disableFileAnalyzer
- 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()
-