|
J avolution v5.2 (J2SE 1.5+) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavolution.testing.TestCase
javolution.ContextTestSuite.SmallObjectAllocation
public static class ContextTestSuite.SmallObjectAllocation
Constructor Summary | |
---|---|
ContextTestSuite.SmallObjectAllocation(int size,
boolean useStack)
|
Method Summary | |
---|---|
void |
cleanup()
Cleanup once test is complete (the default implementation does nothing). |
int |
count()
The number of times the test case is exercised (default 1 ). |
void |
execute()
Executes this test case (possibly multiple times in which case the TestCase.count() method should be overriden). |
java.lang.CharSequence |
getDescription()
Returns the description of this test case or null if none. |
void |
prepare()
Prepares the test case execution (the default implementation does nothing). |
void |
validate()
Validates the test results (the default implementation does nothing). |
Methods inherited from class javolution.testing.TestCase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContextTestSuite.SmallObjectAllocation(int size, boolean useStack)
Method Detail |
---|
public java.lang.CharSequence getDescription()
TestCase
null
if none.
getDescription
in class TestCase
null
public void prepare()
TestCase
prepare
in class TestCase
public void execute()
TestCase
TestCase.count()
method should be overriden).
execute
in class TestCase
public int count()
TestCase
1
).
count
in class TestCase
TestCase.execute()
.public void cleanup()
TestCase
cleanup
in class TestCase
public void validate()
TestCase
validate
in class TestCase
|
J avolution v5.2 (J2SE 1.5+) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |