Package software.xdev.tci.leakdetection
Class TCILeakAgent
java.lang.Object
software.xdev.tci.leakdetection.TCILeakAgent
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
public class TCILeakAgent
extends Object
implements org.junit.platform.launcher.TestExecutionListener
Detects infrastructure that was not disposed properly after all test have ended.
If infrastructure is disposed asynchronously, LeakDetectionAsyncReaper may need to be used.
Active by default due to service loading.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered, executionFinished, executionSkipped, executionStarted, reportingEntryPublished
-
Field Details
-
config
-
-
Constructor Details
-
TCILeakAgent
public TCILeakAgent()
-
-
Method Details
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-