org.apache.regexp
final class RETestCase extends Object
| Field Summary | |
|---|---|
| boolean | badPattern |
| StringBuffer | log |
| int | number |
| String[] | parens |
| String | pattern |
| RE | regexp |
| boolean | shouldMatch |
| String | tag |
| RETest | test |
| String | toMatch |
| Constructor Summary | |
|---|---|
| RETestCase(RETest test, String tag, String pattern, String toMatch, boolean badPattern, boolean shouldMatch, String[] parens) | |
| Method Summary | |
|---|---|
| boolean | assertEquals(StringBuffer log, String message, String expected, String actual) |
| boolean | assertEquals(StringBuffer log, String message, int expected, int actual) |
| boolean | checkParens() |
| boolean | checkResult(boolean result) |
| void | runTest() |
| void | success(String s)
Show a success |
| boolean | testCreation() |
| void | testMatch() |
| boolean | tryMatchUsingCI(CharacterIterator matchAgainst) |
Parameters: s Success story