net.shibboleth.metadata.dom.saml
Class PullUpValidUntilStageTest
java.lang.Object
net.shibboleth.metadata.dom.BaseDomTest
net.shibboleth.metadata.dom.saml.PullUpValidUntilStageTest
public class PullUpValidUntilStageTest
- extends BaseDomTest
Unit test for PullUpValidUntilStage.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PullUpValidUntilStageTest
public PullUpValidUntilStageTest()
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.