net.shibboleth.metadata.pipeline
Class ItemMetadataTerminationStageTest

java.lang.Object
  extended by net.shibboleth.metadata.pipeline.ItemMetadataTerminationStageTest

public class ItemMetadataTerminationStageTest
extends Object

ItemMetadataTerminationStage unit test.


Field Summary
private  net.shibboleth.metadata.Item md1
          Metadata element which contains no StatusMetadata items.
private  net.shibboleth.metadata.Item md2
          Metadata element which contains a WarningStatus item.
private  net.shibboleth.metadata.Item md3
          Metadata element which contains no StatusMetadata items.
private  net.shibboleth.metadata.Item md4
          Metadata element which contains a WarningStatus and ErrorStatus item.
private  Collection<net.shibboleth.metadata.Item<?>> metadataCollectionPrototype
          Unmodifiable, prototype, collection of metadata elements.
 
Constructor Summary
ItemMetadataTerminationStageTest()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadataCollectionPrototype

private Collection<net.shibboleth.metadata.Item<?>> metadataCollectionPrototype
Unmodifiable, prototype, collection of metadata elements.


md1

private net.shibboleth.metadata.Item md1
Metadata element which contains no StatusMetadata items.


md2

private net.shibboleth.metadata.Item md2
Metadata element which contains a WarningStatus item.


md3

private net.shibboleth.metadata.Item md3
Metadata element which contains no StatusMetadata items.


md4

private net.shibboleth.metadata.Item md4
Metadata element which contains a WarningStatus and ErrorStatus item.

Constructor Detail

ItemMetadataTerminationStageTest

public ItemMetadataTerminationStageTest()
Method Detail

setup

public void setup()
Unit test setup, initializes metadataCollectionPrototype and metadata elements.


testNoSelectionRequirements

public void testNoSelectionRequirements()
                                 throws Exception
Tests a ItemMetadataFilterStage without any selection requirements.

Throws:
Exception

testSingleSelectionRequirement

public void testSingleSelectionRequirement()
                                    throws Exception
Tests a ItemMetadataFilterStage containing one selection requirement.

Throws:
Exception

testMultiSelectionRequirement

public void testMultiSelectionRequirement()
                                   throws Exception
Tests a ItemMetadataFilterStage containing multiple selection requirements.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.