Class LeakPresenceExtension.ScopeWrapper
java.lang.Object
io.netty.util.test.LeakPresenceExtension.ScopeWrapper
- Enclosing class:
LeakPresenceExtension
Prevent junit from closing the ResourceScope automatically.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Class<?> The test class that originally created the shared scope.(package private) final LeakPresenceDetector.ResourceScope -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
scope
-
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
-
ScopeWrapper
ScopeWrapper(LeakPresenceDetector.ResourceScope scope, Class<?> owner)
-