declareNotDisposedObjectsAsLeaks static method

void declareNotDisposedObjectsAsLeaks()

Declares all not disposed objects as leaks.

Should be invoked after test execution, to detect not disposed objects, even if they are not GCed yet.

Implementation

static void declareNotDisposedObjectsAsLeaks() {
  _leakTracker?.objectTracker.declareAllNotDisposedAsLeaks();
}