public final class ByteBufRule extends Object implements org.junit.rules.TestRule
TestRule that fails if not all byte buffers requested from the ByteBufPool were recycled properly.
Annotation ByteBufRule.IgnoreLeaks can be put on a test that wants this rule disabled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ByteBufRule.IgnoreLeaks |
| Constructor and Description |
|---|
ByteBufRule() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
Copyright © 2019. All rights reserved.