public class ItemMetadataTerminationStageTest extends Object
ItemMetadataTerminationStage unit test.| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.metadata.Item<String> |
md1
Metadata element which contains no
StatusMetadata items. |
private net.shibboleth.metadata.Item<String> |
md2
Metadata element which contains a
WarningStatus item. |
private net.shibboleth.metadata.Item<String> |
md3
Metadata element which contains no
StatusMetadata items. |
private net.shibboleth.metadata.Item<String> |
md4
Metadata element which contains a
WarningStatus and ErrorStatus item. |
private Collection<net.shibboleth.metadata.Item<String>> |
metadataCollectionPrototype
Unmodifiable, prototype, collection of metadata elements.
|
| Constructor and Description |
|---|
ItemMetadataTerminationStageTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup()
Unit test setup, initializes
metadataCollectionPrototype and metadata elements. |
void |
testMultiSelectionRequirement()
Tests a
ItemMetadataFilterStage containing multiple selection requirements. |
void |
testNoSelectionRequirements()
Tests a
ItemMetadataFilterStage without any selection requirements. |
void |
testSingleSelectionRequirement()
Tests a
ItemMetadataFilterStage containing one selection requirement. |
private Collection<net.shibboleth.metadata.Item<String>> metadataCollectionPrototype
private net.shibboleth.metadata.Item<String> md1
StatusMetadata items.private net.shibboleth.metadata.Item<String> md2
WarningStatus item.private net.shibboleth.metadata.Item<String> md3
StatusMetadata items.private net.shibboleth.metadata.Item<String> md4
WarningStatus and ErrorStatus item.public void setup()
metadataCollectionPrototype and metadata elements.public void testNoSelectionRequirements()
throws Exception
ItemMetadataFilterStage without any selection requirements.Exceptionpublic void testSingleSelectionRequirement()
throws Exception
ItemMetadataFilterStage containing one selection requirement.ExceptionCopyright © 1999–2015. All rights reserved.