Package org.apache.regexp
Class RETestCase
java.lang.Object
org.apache.regexp.RETestCase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
assertEquals
(StringBuffer log, String message, int expected, int actual) boolean
assertEquals
(StringBuffer log, String message, String expected, String actual) private boolean
private boolean
checkResult
(boolean result) void
runTest()
(package private) void
Show a success(package private) boolean
private void
(package private) boolean
tryMatchUsingCI
(CharacterIterator matchAgainst)
-
Field Details
-
log
-
number
private final int number -
tag
-
pattern
-
toMatch
-
badPattern
private final boolean badPattern -
shouldMatch
private final boolean shouldMatch -
parens
-
test
-
regexp
-
-
Constructor Details
-
RETestCase
-
-
Method Details
-
runTest
public void runTest() -
testCreation
boolean testCreation() -
testMatch
private void testMatch() -
checkResult
private boolean checkResult(boolean result) -
checkParens
private boolean checkParens() -
tryMatchUsingCI
-
assertEquals
-
assertEquals
-
success
Show a success- Parameters:
s
- Success story
-