org.opensaml.saml2.metadata.impl
public class IDPSSODescriptorTest extends BaseSAMLObjectProviderTestCase
Modifier and Type | Field and Description |
---|---|
protected long |
expectedCacheDuration
Expected cacheDuration value in miliseconds
|
protected String |
expectedErrorURL
Expected error url
|
protected ArrayList<String> |
expectedSupportedProtocol
List of expected supported protocols
|
protected org.joda.time.DateTime |
expectedValidUntil
Expected validUntil value
|
protected XSBooleanValue |
expectedWantAuthnReqSigned
expected value for WantAuthnRequestSigned attribute
|
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, singleElementFile, singleElementOptionalAttributesFile
builderFactory, marshallerFactory, parser, unmarshallerFactory
JAVA5_XSLTC_FACTORY_NAME, XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT
CLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_NS_URI, W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_NS_URI, XML_DECLARATION, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR
Constructor and Description |
---|
IDPSSODescriptorTest()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testChildElementsMarshall()
Tests marshalling the contents of a single element with child elements to a DOM document.
|
void |
testChildElementsUnmarshall()
Tests unmarshalling a document that contains a single element with children.
|
void |
testSingleElementMarshall()
Tests marshalling the contents of a single element, with no optional attributes, to a DOM document.
|
void |
testSingleElementOptionalAttributesMarshall()
Tests marshalling the contents of a single element, with all optional attributes, to a DOM document.
|
void |
testSingleElementOptionalAttributesUnmarshall()
Tests unmarshalling a document that contains a single element (no children) with all that element's optional
attributes.
|
void |
testSingleElementUnmarshall()
Tests unmarshalling a document that contains a single element (no children) with no optional attributes.
|
void |
testXSBooleanAttributes()
Test the proper behavior of the XSBooleanValue attributes.
|
tearDown
assertEquals, assertEquals, buildXMLObject, unmarshallElement
assertNodeTestPasses, assertNodeTestPasses, assertNodeTestPasses, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, compareXML
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected ArrayList<String> expectedSupportedProtocol
protected long expectedCacheDuration
protected org.joda.time.DateTime expectedValidUntil
protected String expectedErrorURL
protected XSBooleanValue expectedWantAuthnReqSigned
protected void setUp() throws Exception
BaseSAMLObjectProviderTestCase
setUp
in class BaseSAMLObjectProviderTestCase
Exception
public void testSingleElementUnmarshall()
BaseSAMLObjectProviderTestCase
testSingleElementUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementOptionalAttributesUnmarshall()
BaseSAMLObjectProviderTestCase
testSingleElementOptionalAttributesUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testChildElementsUnmarshall()
testChildElementsUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementMarshall()
BaseSAMLObjectProviderTestCase
testSingleElementMarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementOptionalAttributesMarshall()
BaseSAMLObjectProviderTestCase
testSingleElementOptionalAttributesMarshall
in class BaseSAMLObjectProviderTestCase
public void testChildElementsMarshall()
testChildElementsMarshall
in class BaseSAMLObjectProviderTestCase
public void testXSBooleanAttributes()
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.