Class MemoryOverviewRunListener
- java.lang.Object
-
- org.junit.runner.notification.RunListener
-
- de.hybris.platform.testframework.runlistener.MemoryOverviewRunListener
-
public class MemoryOverviewRunListener extends org.junit.runner.notification.RunListenerBefore and after a Test theMemoryUsageis collected and after the test class has run the init, used and comitted value are printed to the log. (not the max value) - also the difference before and after the test of there 3 values is given out.
-
-
Constructor Summary
Constructors Constructor Description MemoryOverviewRunListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestRunFinished(org.junit.runner.Result result)voidtestRunStarted(org.junit.runner.Description description)
-
-
-
Method Detail
-
testRunStarted
public void testRunStarted(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testRunStartedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
testRunFinished
public void testRunFinished(org.junit.runner.Result result) throws java.lang.Exception- Overrides:
testRunFinishedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
-