Class LeakPresenceExtension.ScopeWrapper

java.lang.Object
io.netty.util.test.LeakPresenceExtension.ScopeWrapper
Enclosing class:
LeakPresenceExtension

private static final class LeakPresenceExtension.ScopeWrapper extends Object
Prevent junit from closing the ResourceScope automatically.
  • Field Details

    • scope

    • owner

      final 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.
  • Constructor Details