Class EntityAttributesFilterTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.filter.impl.EntityAttributesFilterTest
-
- All Implemented Interfaces:
Predicate<EntityDescriptor>
public class EntityAttributesFilterTest extends XMLObjectBaseTestCase implements Predicate<EntityDescriptor>
-
-
Field Summary
Fields Modifier and Type Field Description private FilemdFileprivate FilesystemMetadataResolvermetadataProviderprivate SAMLObjectBuilder<Attribute>tagBuilderprivate XMLObjectBuilder<XSString>valueBuilder-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description EntityAttributesFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtest()booleantest(EntityDescriptor input)voidtestWithWhitelist()-
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
-
tagBuilder
private SAMLObjectBuilder<Attribute> tagBuilder
-
valueBuilder
private XMLObjectBuilder<XSString> valueBuilder
-
metadataProvider
private FilesystemMetadataResolver metadataProvider
-
mdFile
private File mdFile
-
-
Method Detail
-
test
public void test() throws ComponentInitializationException, ResolverException
-
testWithWhitelist
public void testWithWhitelist() throws ComponentInitializationException, ResolverException
-
test
public boolean test(EntityDescriptor input)
- Specified by:
testin interfacePredicate<EntityDescriptor>
-
-