|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.dom.BaseDomTest
net.shibboleth.metadata.dom.saml.EntityFilterStageTest
public class EntityFilterStageTest
Unit test for EntityFilterStage.
| Constructor Summary | |
|---|---|
EntityFilterStageTest()
|
|
| Method Summary | |
|---|---|
private Collection<net.shibboleth.metadata.dom.DomElementItem> |
buildMetadataCollection()
Build up a metadata collection containing 3 EntityDescriptors. |
void |
testDontRemoveEntitylessEntitiesDescriptor()
Test that EntitiesDescriptors that have had all their EntityDescriptor children remove are not themselves removed when EntityFilterStage.isRemovingEntitylessEntitiesDescriptor() is false. |
void |
testEntitiesDescriptorFiltering()
Test that filtering logic descends in to EntitiesDescriptors. |
void |
testEntityBlacklist()
Test blacklisted entity is remove and ensure everything else is retained. |
void |
testEntityWhitelist()
Test whitelisted entity is retained and ensure everything else is removed. |
void |
testRemoveEntitylessEntitiesDescriptor()
Test that EntitiesDescriptors that have had all their EntityDescriptor children remove are themselves removed. |
| Methods inherited from class net.shibboleth.metadata.dom.BaseDomTest |
|---|
assertXmlIdentical, getParserPool, readTestRelativeXmlData, readXmlData, setUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityFilterStageTest()
| Method Detail |
|---|
public void testEntityWhitelist()
throws Exception
Exception
public void testEntityBlacklist()
throws Exception
Exception
public void testEntitiesDescriptorFiltering()
throws Exception
Exception
public void testRemoveEntitylessEntitiesDescriptor()
throws Exception
Exception
public void testDontRemoveEntitylessEntitiesDescriptor()
throws Exception
EntityFilterStage.isRemovingEntitylessEntitiesDescriptor() is false.
Exception
private Collection<net.shibboleth.metadata.dom.DomElementItem> buildMetadataCollection()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||