public class RemarkNodeParserTest extends ParserTestCase
| 构造器和说明 |
|---|
RemarkNodeParserTest(java.lang.String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
test3DashesEnding()
Test a comment ending with ---.
|
void |
testDashEnding()
Test a comment ending with -.
|
void |
testDashesInComment()
Bug reported by John Zook [594301]
If dashes exist in a comment, they dont get added to the comment text
|
void |
testDoubleComment()
Test a comment declaration with two comments.
|
void |
testEmptyComment()
Test a comment declaration without any comments.
|
void |
testExclamationComment()
Test exclamation mark ending.
|
void |
testGetText() |
void |
testInvalidTag()
Bug reported by John Zook [594301], invalid remark nodes are accepted as remark nodes.
|
void |
testNonRemark() |
void |
testRemarkBug()
Test unparsed remark node.
|
void |
testRemarkWithBlankLine()
This is the simulation of bug report 586756, submitted
by John Zook.
|
void |
testRemarkWithNothing()
This is the simulation of a bug report submitted
by Claude Duguay.
|
void |
testSingleComment()
Test a comment declaration with a comment.
|
void |
testTagWithinRemark()
Test tag within remark.
|
void |
testToRawString() |
assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, failWithMessage, getParser, main, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser, testFakeassertEquals, 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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic void testRemarkBug()
throws ParserException
ParserException - ParserExceptionpublic void testGetText()
throws ParserException
ParserExceptionpublic void testToRawString()
throws ParserException
ParserExceptionpublic void testNonRemark()
throws ParserException
ParserExceptionpublic void testRemarkWithBlankLine()
throws ParserException
ParserException - ParserExceptionpublic void testRemarkWithNothing()
throws ParserException
ParserException - ParserExceptionpublic void testTagWithinRemark()
throws ParserException
ParserException - ParserExceptionpublic void testInvalidTag()
throws ParserException
ParserException - ParserExceptionpublic void testDashesInComment()
throws ParserException
ParserException - ParserExceptionpublic void testSingleComment()
throws ParserException
ParserException - ParserExceptionpublic void testDoubleComment()
throws ParserException
ParserException - ParserExceptionpublic void testEmptyComment()
throws ParserException
ParserException - ParserExceptionpublic void testExclamationComment()
throws ParserException
ParserException - ParserExceptionpublic void testDashEnding()
throws ParserException
ParserException - ParserExceptionpublic void test3DashesEnding()
throws ParserException
ParserException - ParserException