|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.lang.xml.XmlParserTest
public class XmlParserTest
Unit test for the XmlParser
.
Constructor Summary | |
---|---|
XmlParserTest()
|
Method Summary | |
---|---|
void |
testDefaultParsing()
Verifies the default parsing behavior of the XML parser. |
void |
testDefaultParsingNamespaces()
Verifies the default parsing behavior of the XML parser with namespaces. |
void |
testLineNumbers()
See bug #1054: XML Rules ever report a line -1 and not the line/column where the error occurs |
void |
testParsingCoalescingEnabled()
Verifies the parsing behavior of the XML parser with coalescing enabled. |
void |
testParsingDoNotExpandEntities()
Verifies the parsing behavior of the XML parser if entities are not expanded. |
void |
testParsingIgnoreComments()
Verifies the parsing behavior of the XML parser if ignoring comments. |
void |
testParsingIgnoreElementContentWhitespace()
Verifies the parsing behavior of the XML parser if ignoring whitespaces in elements. |
void |
testParsingNotNamespaceAware()
Verifies the default parsing behavior of the XML parser with namespaces but not namespace aware. |
void |
testParsingWithValidation()
Verifies the parsing behavior of the XML parser with validation on. |
void |
testWithProcessingInstructions()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlParserTest()
Method Detail |
---|
public void testLineNumbers() throws Exception
Exception
- any errorpublic void testDefaultParsing()
public void testParsingCoalescingEnabled()
public void testParsingDoNotExpandEntities()
public void testParsingIgnoreComments()
public void testParsingIgnoreElementContentWhitespace()
public void testDefaultParsingNamespaces()
public void testParsingNotNamespaceAware()
public void testParsingWithValidation() throws UnsupportedEncodingException
UnsupportedEncodingException
- errorpublic void testWithProcessingInstructions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |