Class SerializeSupportTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.xml.SerializeSupportTest
-
public class SerializeSupportTest extends Object
Tests forNamespaceSupport
-
-
Field Summary
Fields Modifier and Type Field Description private Elementparentprivate BasicParserPoolparserPool
-
Constructor Summary
Constructors Constructor Description SerializeSupportTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidassertEquals(Node expected, Node actual)private intcountNonNamespaceAttributes(NamedNodeMap attrs)voidsetup()voidtestLSOps()voidtestNodeToString()voidtestPrettyPrintXML()voidtestWriteNode()voidtestXMLVersion()This test should in fact fail because the default XML version of 1.0 should not allow for the ASCII 25 code point in the text node.
-
-
-
Field Detail
-
parent
private Element parent
-
parserPool
private BasicParserPool parserPool
-
-
Method Detail
-
countNonNamespaceAttributes
private int countNonNamespaceAttributes(NamedNodeMap attrs)
-
setup
@BeforeClass public void setup() throws XMLParserException, ComponentInitializationException, SAXException, IOException
-
testWriteNode
public void testWriteNode() throws XMLParserException- Throws:
XMLParserException
-
testPrettyPrintXML
public void testPrettyPrintXML() throws XMLParserException- Throws:
XMLParserException
-
testLSOps
public void testLSOps() throws XMLParserException- Throws:
XMLParserException
-
testXMLVersion
public void testXMLVersion() throws XMLParserExceptionThis test should in fact fail because the default XML version of 1.0 should not allow for the ASCII 25 code point in the text node.- Throws:
XMLParserException
-
-