public class DirectBufferPoolTestHelper extends Object
| Constructor and Description |
|---|
DirectBufferPoolTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkBufferPools(junit.framework.TestCase test)
Verify that any buffers acquired by the test have been released.
|
static void |
checkBufferPools(junit.framework.TestCase test,
junit.framework.TestCase testClass)
Verify that any buffers acquired by the test have been released (variant
when using an
IProxyTest). |
public static void checkBufferPools(junit.framework.TestCase test)
Note: This clears the counter as a side effect to prevent a cascade of tests from being failed.
public static void checkBufferPools(junit.framework.TestCase test,
junit.framework.TestCase testClass)
IProxyTest).
Note: This clears the counter as a side effect to prevent a cascade of tests from being failed.
test - The unit test instance.testClass - The instance of the delegate test class for a proxy test
suite. For example, TestWORMStrategy.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.