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 Details

  • Constructor Details

    • TCILeakAgent

      public TCILeakAgent()
  • Method Details

    • testPlanExecutionStarted

      public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • testPlanExecutionFinished

      public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionFinished in interface org.junit.platform.launcher.TestExecutionListener