|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.util.TextParserTest
public class TextParserTest
Checks the TextParser class with three types of tests:
Method- Checks that individual methods perform as expected on their javadoc example and
situations particular to them.
Common- Performs full conversion between complex strings and data structures.
Content- Checks that all methods either perform or throw exceptions upon certain types of
content.
Constructor Summary | |
---|---|
TextParserTest()
|
Method Summary | |
---|---|
static void |
main(String[] args)
|
void |
testCommon_escapedCharacters()
|
void |
testCommon_generalContent()
|
void |
testContent_empty()
|
void |
testContent_emptyDivider()
|
void |
testContent_emptyString()
|
void |
testContent_solitaryDivider()
|
void |
testLabels_javadocExample()
|
void |
testLineDivisions_endingsDivider()
|
void |
testLineDivisions_javadocExample()
|
void |
testSubsections_javadocExample()
|
void |
testSubsections_nullEncoding()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextParserTest()
Method Detail |
---|
public static void main(String[] args)
public void testLabels_javadocExample()
public void testSubsections_javadocExample()
public void testSubsections_nullEncoding()
public void testLineDivisions_javadocExample()
public void testLineDivisions_endingsDivider()
public void testCommon_generalContent()
public void testCommon_escapedCharacters()
public void testContent_empty()
public void testContent_emptyString()
public void testContent_solitaryDivider()
public void testContent_emptyDivider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |