Class AbstractAttributeDefinitionTest
java.lang.Object
net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinitionTest
Unit test for
AttributeDefinition. This test does not test any methods inherited from
ResolverPlugin, those are covered in AbstractResolverPluginTest.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classThis class implements the minimal level of functionality and is meant only as a means of testing the abstractAttributeDefinition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests setting and retrieving the dependency only option.voidvoidvoidTests the state of a newly instantiated object.voidvoidresolve()Test resolve an attribute.private void
-
Constructor Details
-
AbstractAttributeDefinitionTest
public AbstractAttributeDefinitionTest()
-
-
Method Details
-
instantiation
public void instantiation()Tests the state of a newly instantiated object. -
booleanTests
public void booleanTests()Tests setting and retrieving the dependency only option. -
resolve
Test resolve an attribute.- Throws:
Exception- if something goes wrong
-
dependencies
- Throws:
ComponentInitializationException
-
testInvalidName
private void testInvalidName(@Nonnull AbstractAttributeDefinitionTest.MockAttributeDefinition attrdef) -
invalidName
public void invalidName() -
deprecatedName
- Throws:
ComponentInitializationException
-