Class LeakPresenceExtension.ScopeWrapper

  • Enclosing class:
    LeakPresenceExtension

    private static final class LeakPresenceExtension.ScopeWrapper
    extends java.lang.Object
    Prevent junit from closing the ResourceScope automatically.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • owner

        final java.lang.Class<?> owner
        The test class that originally created the shared scope. Nested classes reuse the same scope but must not close it in afterAll; only this owner may do the final close and remove the scope from the store.