net.shibboleth.metadata.dom.saml
Class EntityDescriptorItemIdPopulationStageTest

java.lang.Object
  extended by net.shibboleth.metadata.dom.BaseDomTest
      extended by net.shibboleth.metadata.dom.saml.EntityDescriptorItemIdPopulationStageTest

public class EntityDescriptorItemIdPopulationStageTest
extends BaseDomTest

Unit test for EntityDescriptorItemIdPopulationStage.


Constructor Summary
EntityDescriptorItemIdPopulationStageTest()
           
 
Method Summary
 void testDifferentElement()
          Tests running the stage on a collection that does not contain EntityDescriptors.
 void testEmptyCollection()
          Tests running the stage on an empty collection.
 void testMultipleRecords()
          Tests running the stage on a collection that contains multiple EntityDescriptors.
 void testSingleRecord()
          Tests running the stage on a collection that contains a single EntityDescriptor.
 
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

EntityDescriptorItemIdPopulationStageTest

public EntityDescriptorItemIdPopulationStageTest()
Method Detail

testEmptyCollection

public void testEmptyCollection()
                         throws Exception
Tests running the stage on an empty collection.

Throws:
Exception

testDifferentElement

public void testDifferentElement()
                          throws Exception
Tests running the stage on a collection that does not contain EntityDescriptors.

Throws:
Exception

testSingleRecord

public void testSingleRecord()
                      throws Exception
Tests running the stage on a collection that contains a single EntityDescriptor.

Throws:
Exception

testMultipleRecords

public void testMultipleRecords()
                         throws Exception
Tests running the stage on a collection that contains multiple EntityDescriptors.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.