Class LocalDynamicMetadataResolverTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.impl.LocalDynamicMetadataResolverTest
-
public class LocalDynamicMetadataResolverTest extends XMLObjectBaseTestCase
Unit test forLocalDynamicMetadataResolver.
-
-
Field Summary
Fields Modifier and Type Field Description private EntityDescriptorentity1private EntityDescriptorentity2private StringentityID1private StringentityID2private LocalDynamicMetadataResolverresolverprivate StringDigestersha1Digesterprivate MapLoadSaveManager<XMLObject>sourceManager-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description LocalDynamicMetadataResolverTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestBasicResolveLifecycle()voidtestConditionalLoadManagerWithClearEntityID()voidtestCtorMissingManager()voidtestCtorSourceKeyGenerator()voidtestEmptySource()-
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
-
resolver
private LocalDynamicMetadataResolver resolver
-
sourceManager
private MapLoadSaveManager<XMLObject> sourceManager
-
entityID1
private String entityID1
-
entityID2
private String entityID2
-
entity1
private EntityDescriptor entity1
-
entity2
private EntityDescriptor entity2
-
sha1Digester
private StringDigester sha1Digester
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws NoSuchAlgorithmException, ComponentInitializationException
-
tearDown
@AfterMethod public void tearDown()
-
testEmptySource
public void testEmptySource() throws ResolverException- Throws:
ResolverException
-
testBasicResolveLifecycle
public void testBasicResolveLifecycle() throws ResolverException, IOException- Throws:
ResolverExceptionIOException
-
testConditionalLoadManagerWithClearEntityID
public void testConditionalLoadManagerWithClearEntityID() throws IOException, ResolverException, ComponentInitializationException
-
testCtorSourceKeyGenerator
public void testCtorSourceKeyGenerator() throws ComponentInitializationException, IOException, ResolverException
-
testCtorMissingManager
public void testCtorMissingManager()
-
-