| de.susebox.jtopas.TestPatternMatching
Method Summary | |
public void | compareJTopasAgainstPattern() | 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 | testFreePattern() | public void | testNumberPattern() Test the case, when a line comment is not terminated by a newline character. | public void | testPatternExt() Test the case, when a line comment is not terminated by a newline character. | public void | testPatternTokenizer() |
TestPatternMatching | public TestPatternMatching(String test)(Code) | | Default constructor. Standard input
java.lang.System.in is used
to construct the input stream reader.
|
compareJTopasAgainstPattern | public void compareJTopasAgainstPattern() throws Throwable(Code) | | Comparing JTopas string and comment handling against regular expression
handling
|
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.
|
testFreePattern | public void testFreePattern() throws Throwable(Code) | | A tokenizer working almost completely with pattern and whitespaces
|
testNumberPattern | public void testNumberPattern() throws Throwable(Code) | | Test the case, when a line comment is not terminated by a newline character.
This happens when the last line of a file is a line comment without a
newline on its end.
This is a rather common situation.
|
testPatternExt | public void testPatternExt() throws Throwable(Code) | | Test the case, when a line comment is not terminated by a newline character.
This happens when the last line of a file is a line comment without a
newline on its end.
This is a rather common situation.
|
testPatternTokenizer | public void testPatternTokenizer() throws Throwable(Code) | | A tokenizer working almost completely with pattern and whitespaces
|
|
|