| de.susebox.jtopas.TestTokenizerCleanup
TestTokenizerCleanup | public class TestTokenizerCleanup extends TestCase (Code) | |
This test suite checks memory usage, registration end other things related
to cleanup operations of a
Tokenizer .
See Also: Tokenizer author: Heiko Blau |
Method Summary | |
public static void | main(String[] args) | protected void | setUp() Sets up the fixture, for example, open a network connection. | public static Test | suite() Implementation of the JUnit method suite . | protected void | tearDown() Tears down the fixture, for example, close a network connection. | public void | testMemoryUsage() The method creates a huge amount of tokenizers and dismisses them again. |
TestTokenizerCleanup | public TestTokenizerCleanup(String test)(Code) | | Default constructor. Standard input
java.lang.System.in is used
to construct the input stream reader.
|
main | public static void main(String[] args)(Code) | | call this method to invoke the tests
|
setUp | protected void setUp() throws Exception(Code) | | Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
|
suite | public static Test suite()(Code) | | Implementation of the JUnit method suite . For each set of test
properties one or more tests are instantiated.
a test suite |
tearDown | protected void tearDown() throws Exception(Code) | | Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
|
testMemoryUsage | public void testMemoryUsage() throws Throwable(Code) | | The method creates a huge amount of tokenizers and dismisses them again.
Memory usage should be fairly constant.
|
|
|