java.lang.Object
org.apache.batik.test.AbstractTest
org.apache.batik.test.MemoryLeakTest
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- MemoryLeakTestValidator
- public abstract class MemoryLeakTest
- extends AbstractTest
One line Class Desc
Complete Class Desc
- Version:
- $Id: MemoryLeakTest.java,v 1.9 2005/03/27 08:58:37 cam Exp $
| Methods inherited from class org.apache.batik.test.AbstractTest |
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getName, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setName, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_GC
static final int NUM_GC
- See Also:
- Constant Field Values
ERROR_OBJS_NOT_CLEARED
static final java.lang.String ERROR_OBJS_NOT_CLEARED
- See Also:
- Constant Field Values
ERROR_DESCRIPTION
static final java.lang.String ERROR_DESCRIPTION
- See Also:
- Constant Field Values
objs
java.util.Map objs
entries
java.util.List entries
MemoryLeakTest
public MemoryLeakTest()
fmt
public static java.lang.String fmt(java.lang.String key,
java.lang.Object[] args)
registerObject
public void registerObject(java.lang.Object o)
registerObjectDesc
public void registerObjectDesc(java.lang.Object o,
java.lang.String desc)
checkObject
public boolean checkObject(java.lang.String desc)
checkObjects
public boolean checkObjects(java.lang.String[] descs)
checkObjectsList
public boolean checkObjectsList(java.util.List descs)
checkAllObjects
public boolean checkAllObjects()
runImpl
public TestReport runImpl()
throws java.lang.Exception
- Description copied from class:
AbstractTest
- Subclasses should implement this method with the content of
the test case. Typically, implementations will choose to
catch and process all exceptions and error conditions they
are looking for in the code they exercise but will let
exceptions due to their own processing propagate.
- Overrides:
runImpl in class AbstractTest
doSomething
public abstract TestReport doSomething()
throws java.lang.Exception