public abstract class MemoryLeakTest extends AbstractTest
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryLeakTest.WeakRef |
id, name, parent| Constructor and Description |
|---|
MemoryLeakTest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAllObjects() |
boolean |
checkObject(String desc) |
boolean |
checkObjects(String[] descs) |
boolean |
checkObjectsList(List descs) |
abstract TestReport |
doSomething() |
static String |
fmt(String key,
Object[] args) |
void |
registerObject(Object o) |
void |
registerObjectDesc(Object o,
String desc) |
TestReport |
runImpl()
Subclasses should implement this method with the content of
the test case.
|
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getName, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setName, setParentpublic void registerObject(Object o)
public boolean checkObject(String desc)
public boolean checkObjects(String[] descs)
public boolean checkObjectsList(List descs)
public boolean checkAllObjects()
public TestReport runImpl() throws Exception
AbstractTestrunImpl in class AbstractTestExceptionpublic abstract TestReport doSomething() throws Exception
ExceptionCopyright © 2000–2017 Apache Software Foundation. All rights reserved.