Class MetadataIndexingTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.index.impl.MetadataIndexingTest
-
public class MetadataIndexingTest extends XMLObjectBaseTestCase
Test metadata indexing implemented inAbstractBatchMetadataResolver, usingFilesystemMetadataResolver.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]artifactSourceIDprivate CriteriaSetcriteriaSetprivate StringentityIDprivate FilemdFileprivate FilesystemMetadataResolvermetadataProviderprivate byte[]otherSourceID-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description MetadataIndexingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestResolveByArtifactSourceID()voidtestResolveRoles()voidtestResolveSingleFromIndex()-
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
-
-
-
-
Field Detail
-
metadataProvider
private FilesystemMetadataResolver metadataProvider
-
mdFile
private File mdFile
-
entityID
private String entityID
-
artifactSourceID
private byte[] artifactSourceID
-
otherSourceID
private byte[] otherSourceID
-
criteriaSet
private CriteriaSet criteriaSet
-
-
Method Detail
-
testResolveByArtifactSourceID
public void testResolveByArtifactSourceID() throws ResolverException, NoSuchAlgorithmException
-
testResolveSingleFromIndex
public void testResolveSingleFromIndex() throws ResolverException- Throws:
ResolverException
-
testResolveRoles
public void testResolveRoles() throws ResolverException- Throws:
ResolverException
-
-