| de.susebox.jtopas.TestTextAccess
TestTextAccess | public class TestTextAccess extends TestCase (Code) | |
This class tests the input data access of a
Tokenizer and the setting
of the read position.
See Also: Tokenizer See Also: AbstractTokenizer 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 | testGetText() Testing various direct text access things. | public void | testSetReadPos() Testing various direct text access things. |
TestTextAccess | public TestTextAccess(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.
|
testGetText | public void testGetText() throws Throwable(Code) | | Testing various direct text access things. Moreover, the determination of
the read position is tested.
|
testSetReadPos | public void testSetReadPos() throws Throwable(Code) | | Testing various direct text access things. Moreover, the determination of
the read position is tested.
|
|
|