public class AttributeSupportTest extends Object
AttributeSupport;| Modifier and Type | Field and Description |
|---|---|
private Element |
attributes |
private Element |
badSpace |
private Element |
createdElement |
private Document |
document |
private Element |
goodBaseIdSpaceLang |
private QName |
idAttrQName |
private Element |
noBaseIdSpaceLang |
private net.shibboleth.utilities.java.support.xml.BasicParserPool |
parserPool |
private Element |
preserveSpace |
private static String |
TEST_ID_ATTRIBUTE |
private static String |
TEST_ID_ATTRIBUTE_VALUE |
private static String |
TEST_ID_PREFIXEDATTRIBUTE |
private static String |
TEST_NS |
private static String |
TEST_PREFIX |
| Constructor and Description |
|---|
AttributeSupportTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
resetCreatedElement() |
void |
setUp() |
void |
testAppends() |
void |
testBadNS()
Strictly speaking this test is for the parser.
|
void |
testConstructAttribute() |
void |
testGetAttributeMethods() |
void |
testGetID() |
void |
testGetXMLId() |
void |
testHasAttribute() |
void |
testRemoveAttribute() |
void |
testXMLBase() |
void |
testXMLLang() |
void |
testXMLSpace() |
private static final String TEST_NS
private static final String TEST_PREFIX
private static final String TEST_ID_ATTRIBUTE
private static final String TEST_ID_PREFIXEDATTRIBUTE
private static final String TEST_ID_ATTRIBUTE_VALUE
private QName idAttrQName
private Element goodBaseIdSpaceLang
private Element noBaseIdSpaceLang
private Element badSpace
private Element preserveSpace
private Element attributes
private Element createdElement
private Document document
private net.shibboleth.utilities.java.support.xml.BasicParserPool parserPool
public void setUp()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
net.shibboleth.utilities.java.support.component.ComponentInitializationException,
SAXException,
IOException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionSAXExceptionIOExceptionpublic void resetCreatedElement()
throws net.shibboleth.utilities.java.support.xml.XMLParserException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionpublic void testBadNS()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
net.shibboleth.utilities.java.support.component.ComponentInitializationException,
IOException
XMLParserException - if badness happens.net.shibboleth.utilities.java.support.component.ComponentInitializationException - if badness happens.IOException - if badness happens.public void testGetXMLId()
public void testXMLBase()
public void testXMLSpace()
public void testXMLLang()
public void testGetID()
public void testHasAttribute()
public void testConstructAttribute()
public void testRemoveAttribute()
public void testGetAttributeMethods()
public void testAppends()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.