| de.susebox.jtopas.TestLargeSource
TestLargeSource | public class TestLargeSource extends TestCase (Code) | |
This test suite generates a huge file with a common mix of comments, special
sequences, keywords, separators etc. It is mainly designed for profiling
sessions to find the hot spots.
author: Heiko Blau |
Method Summary | |
public static void | main(String[] args) | public void | parseCharSequence() Tokenizing a large source through a
CharSequenceTokenizerSource . | public void | parseFile() | 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. |
TestLargeSource | public TestLargeSource(String test, int flags, long typeMask)(Code) | | Default constructor.
|
main | public static void main(String[] args)(Code) | | call this method to invoke the tests
|
parseFile | public void parseFile() throws Throwable(Code) | | Tokenizing a large source
|
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 . This one creates
a large source file java style.
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.
|
|
|