Class SubjectQueryTestBase
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- org.opensaml.saml.saml2.core.impl.RequestTestBase
-
- org.opensaml.saml.saml2.core.impl.SubjectQueryTestBase
-
- Direct Known Subclasses:
AttributeQueryTest,AuthnQueryTest,AuthzDecisionQueryTest
public abstract class SubjectQueryTestBase extends RequestTestBase
-
-
Field Summary
-
Fields inherited from class org.opensaml.saml.saml2.core.impl.RequestTestBase
expectedConsent, expectedDestination, expectedID, expectedIssueInstant, expectedIssuer, expectedSAMLVersion
-
Fields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description SubjectQueryTestBase()Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidhelperTestChildElementsUnmarshall(SAMLObject samlObject)protected voidhelperTestSingleElementOptionalAttributesUnmarshall(SAMLObject samlObject)protected voidhelperTestSingleElementUnmarshall(SAMLObject samlObject)protected voidpopulateChildElements(SAMLObject samlObject)Used by subclasses to populate the child elements that this test expects.protected voidpopulateOptionalAttributes(SAMLObject samlObject)Used by subclasses to populate the optional attribute values that this test expects.protected voidpopulateRequiredAttributes(SAMLObject samlObject)Used by subclasses to populate the required attribute values that this test expects.protected voidsetUp()abstract voidtestSingleElementMarshall()abstract voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testChildElementsMarshall, testChildElementsUnmarshall, testSingleElementOptionalAttributesMarshall, testSingleElementOptionalAttributesUnmarshall, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshall
-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception- Overrides:
setUpin classRequestTestBase- Throws:
Exception
-
testSingleElementUnmarshall
public abstract void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classRequestTestBase
-
testSingleElementMarshall
public abstract void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classRequestTestBase
-
populateChildElements
protected void populateChildElements(SAMLObject samlObject)
Used by subclasses to populate the child elements that this test expects.- Overrides:
populateChildElementsin classRequestTestBase- Parameters:
samlObject- ...
-
populateOptionalAttributes
protected void populateOptionalAttributes(SAMLObject samlObject)
Used by subclasses to populate the optional attribute values that this test expects.- Overrides:
populateOptionalAttributesin classRequestTestBase- Parameters:
samlObject- ...
-
populateRequiredAttributes
protected void populateRequiredAttributes(SAMLObject samlObject)
Used by subclasses to populate the required attribute values that this test expects.- Overrides:
populateRequiredAttributesin classRequestTestBase- Parameters:
samlObject- ...
-
helperTestChildElementsUnmarshall
protected void helperTestChildElementsUnmarshall(SAMLObject samlObject)
- Overrides:
helperTestChildElementsUnmarshallin classRequestTestBase
-
helperTestSingleElementOptionalAttributesUnmarshall
protected void helperTestSingleElementOptionalAttributesUnmarshall(SAMLObject samlObject)
- Overrides:
helperTestSingleElementOptionalAttributesUnmarshallin classRequestTestBase
-
helperTestSingleElementUnmarshall
protected void helperTestSingleElementUnmarshall(SAMLObject samlObject)
- Overrides:
helperTestSingleElementUnmarshallin classRequestTestBase
-
-