net.shibboleth.metadata.dom.saml
Class PullUpValidUntilStageTest

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

public class PullUpValidUntilStageTest
extends BaseDomTest

Unit test for PullUpValidUntilStage.


Constructor Summary
PullUpValidUntilStageTest()
           
 
Method Summary
 void testMaxCacheDuration()
          Test that the maximum validUntil is used when the nearest validUntil is later than max duration + now.
 void testMinCacheDuration()
          Test that the minimum validUntil is used when the nearest validUntil is earlier than min duration + now.
 void testPullCacheDuration()
          Test that the nearest validUntil 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

PullUpValidUntilStageTest

public PullUpValidUntilStageTest()
Method Detail

testPullCacheDuration

public void testPullCacheDuration()
                           throws Exception
Test that the nearest validUntil is pulled up to the EntitiesDescriptor.

Throws:
Exception

testMinCacheDuration

public void testMinCacheDuration()
                          throws Exception
Test that the minimum validUntil is used when the nearest validUntil is earlier than min duration + now.

Throws:
Exception

testMaxCacheDuration

public void testMaxCacheDuration()
                          throws Exception
Test that the maximum validUntil is used when the nearest validUntil is later than max duration + now.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.