net.shibboleth.metadata.dom.saml
Class PullUpCacheDurationStageTest

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

public class PullUpCacheDurationStageTest
extends BaseDomTest

Unit test for PullUpCacheDurationStage.


Constructor Summary
PullUpCacheDurationStageTest()
           
 
Method Summary
 void testMaxCacheDuration()
          Test that the maximum cache duration is used when the shortest duration is greater than it.
 void testMinCacheDuration()
          Test that the minimum cache duration is used when the shortest duration is than it.
 void testPullCacheDuration()
          Test that the shortest duration (1 hour) is pulled up to the EntitiesDescriptor.
 
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

PullUpCacheDurationStageTest

public PullUpCacheDurationStageTest()
Method Detail

testPullCacheDuration

public void testPullCacheDuration()
                           throws Exception
Test that the shortest duration (1 hour) is pulled up to the EntitiesDescriptor.

Throws:
Exception

testMinCacheDuration

public void testMinCacheDuration()
                          throws Exception
Test that the minimum cache duration is used when the shortest duration is than it.

Throws:
Exception

testMaxCacheDuration

public void testMaxCacheDuration()
                          throws Exception
Test that the maximum cache duration is used when the shortest duration is greater than it.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.