|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.jtr.testcase.JtrTestSuite
A test suite for the "jtr" library. This uses the JUnit framework to perform testing over aspects of jtr. Known to be compatible with JUnit 3.7 and 3.8.1, and may be compatible with other versions.
JUnit can be found at the JUnit web site.
Constructor Summary | |
JtrTestSuite(java.lang.String aName)
Creates new JtrTestSuite |
Method Summary | |
static void |
main(java.lang.String[] args)
Runs the test cases using the text-based JUnit test runner. |
void |
setUp()
Set up for a couple of the test cases that explicitly use a parser. |
static junit.framework.Test |
suite()
Automatic test suite generator for JUnit. |
void |
testCloneMethod()
Tests the clone method of CharacterReplacer. |
void |
testComplementAndSquash()
Tests the combination of complement and squashing duplicate matches. |
void |
testComplementAndSquash2()
Tests the combination of complement and squashing duplicate matches. |
void |
testComplementAndUnreplaceable()
Tests the combination of deletion and complement modifiers. |
void |
testComplementAndUnreplaceable2()
Tests the combination of deletion and complement modifiers. |
void |
testComplementAndUnreplaceable3()
Tests the combination of deletion and complement modifiers. |
void |
testComplementAndUnreplaceable4()
Tests the combination of deletion and complement modifiers. |
void |
testComplementAndUnreplaceable5()
Tests the combination of deletion and complement modifiers. |
void |
testControlCharacterReplacement()
Test control character handling. |
void |
testControlCharacterReplacement2()
Test control character handling. |
void |
testControlCharacterReplacement3()
Test control character handling. |
void |
testControlCharacterReplacement4()
Test control character handling. |
void |
testControlCharacterReplacement5()
Test control character handling. |
void |
testControlCharacterReplacement6()
Test control character handling. |
void |
testDegenerateAllModifiers()
Tests the combination of all the modifiers. |
void |
testDegenerateAllModifiers2()
Tests the combination of all the modifiers. |
void |
testDegenerateComplementAndUnreplaceable()
Tests the combination of deletion and complement modifiers. |
void |
testDegenerateComplementAndUnreplaceable2()
Tests the combination of deletion and complement modifiers. |
void |
testHexCharacterReplacement()
Tests hexadecimal character support. |
void |
testHexCharacterReplacement2()
Tests hexadecimal character support. |
void |
testHexCharacterReplacement3()
Tests hexadecimal character support. |
void |
testLongStringReplacement()
Test transliteration on long strings. |
void |
testNullUnreplaceable()
Tests the deletion modifier. |
void |
testNullUnreplaceable2()
Tests the deletion modifier. |
void |
testNullUnreplaceable3()
Tests the deletion modifier. |
void |
testOctalCharacterReplacement()
Tests octal character support. |
void |
testOctalCharacterReplacement2()
Tests octal character support. |
void |
testOctalCharacterReplacement3()
Tests octal character support. |
void |
testOtherSpecialCharacters()
Tests wide character translation support. |
void |
testOtherSpecialCharacters2()
Test other special characters. |
void |
testOtherSpecialCharacters3()
Test other special characters. |
void |
testOtherSpecialCharacters4()
Test other special characters. |
void |
testSimpleComplement()
Tests a simple complement operation. |
void |
testSimpleComplement2()
Tests a simple complement operation. |
void |
testSimpleDuplicateSearchList()
Tests what happens when a character in the search list is duplicated. |
void |
testSimpleDuplicateSearchList2()
Tests what happens when a character in the search list is duplicated. |
void |
testSimpleNullReplacement()
Tests what happens when the replacement string is empty. |
void |
testSimpleNullReplacement2()
Tests what happens when the replacement string is empty. |
void |
testSimpleNullReplacement3()
Tests what happens when the replacement string is empty. |
void |
testSimpleNullReplacement4()
Tests what happens when the replacement string is empty. |
void |
testSimpleNullReplacement5()
Tests what happens when the replacement string is empty. |
void |
testSimpleShortReplacement()
Tests what happens when the replacement string is shorter than the matching string. |
void |
testSimpleShortReplacement2()
Tests what happens when the replacement string is shorter than the matching string. |
void |
testSimpleShortReplacement3()
Tests what happens when the replacement string is shorter than the matching string. |
void |
testSimpleSquash()
Tests the squashing of duplicate matches. |
void |
testSimpleSquash2()
Tests the squashing of duplicate matches. |
void |
testSimpleTransliterate()
Performs a simple transliteration. |
void |
testSimpleTransliterate2()
Performs a simple transliteration using the Perl5Parser class. |
void |
testSpecialRange()
Test control character handling. |
void |
testSpecialRange2()
Test control character handling. |
void |
testUnreplaceable()
Tests the deletion modifier. |
void |
testUnreplaceable2()
Tests the deletion modifier. |
void |
testUnreplaceable3()
Tests the deletion modifier. |
void |
testWideHexCharacterReplacement()
Tests wide character translation support. |
void |
testWideHexCharacterReplacement2()
Tests wide character translation support. |
void |
testWideHexCharacterReplacement3()
Tests wide character translation support. |
Constructor Detail |
public JtrTestSuite(java.lang.String aName)
Method Detail |
public void setUp()
CharacterReplacer
construction call.public void testSimpleTransliterate()
public void testSimpleTransliterate2()
public void testSimpleShortReplacement()
public void testSimpleShortReplacement2()
public void testSimpleShortReplacement3()
public void testSimpleNullReplacement()
public void testSimpleNullReplacement2()
public void testSimpleNullReplacement3()
public void testSimpleNullReplacement4()
public void testSimpleNullReplacement5()
public void testSimpleDuplicateSearchList()
public void testSimpleDuplicateSearchList2()
public void testSimpleComplement()
public void testSimpleComplement2()
public void testComplementAndSquash()
public void testComplementAndSquash2()
public void testSimpleSquash()
public void testSimpleSquash2()
public void testUnreplaceable()
public void testUnreplaceable2()
public void testUnreplaceable3()
CharacterList
constructor.public void testNullUnreplaceable()
public void testNullUnreplaceable2()
public void testNullUnreplaceable3()
public void testComplementAndUnreplaceable()
public void testComplementAndUnreplaceable2()
public void testComplementAndUnreplaceable3()
public void testComplementAndUnreplaceable4()
CharacterList
constructor.public void testComplementAndUnreplaceable5()
CharacterList
constructor.public void testDegenerateComplementAndUnreplaceable()
public void testDegenerateComplementAndUnreplaceable2()
public void testDegenerateAllModifiers()
public void testDegenerateAllModifiers2()
public void testOctalCharacterReplacement()
public void testOctalCharacterReplacement2()
public void testOctalCharacterReplacement3()
public void testHexCharacterReplacement()
public void testHexCharacterReplacement2()
public void testHexCharacterReplacement3()
public void testWideHexCharacterReplacement()
public void testWideHexCharacterReplacement2()
public void testWideHexCharacterReplacement3()
public void testOtherSpecialCharacters()
public void testOtherSpecialCharacters2()
public void testOtherSpecialCharacters3()
public void testOtherSpecialCharacters4()
public void testLongStringReplacement()
public void testControlCharacterReplacement()
public void testControlCharacterReplacement2()
public void testControlCharacterReplacement3()
public void testControlCharacterReplacement4()
public void testControlCharacterReplacement5()
public void testControlCharacterReplacement6()
public void testSpecialRange()
public void testSpecialRange2()
public void testCloneMethod()
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
args
- the command line arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |