|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.dom.saml.SetCacheDurationStageTest
public class SetCacheDurationStageTest
Unit test for SetCacheDurationStage.
| Constructor Summary | |
|---|---|
SetCacheDurationStageTest()
|
|
| Method Summary | |
|---|---|
void |
testNegativeDuration()
Tests that the stage properly rejects negative durations. |
void |
testWithExistingCacheDuration()
Tests that the duration is properly set on an element when it already contains a duration. |
void |
testWithNonDescriptorMetadataElement()
Tests that the stage ignores elements which are not EntityDescriptors or EntitiesDescriptors. |
void |
testWithoutExistingCacheDuration()
Tests that the duration is properly set on an element when it doesn't already contain a duration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetCacheDurationStageTest()
| Method Detail |
|---|
public void testWithoutExistingCacheDuration()
throws Exception
Exception - thrown if there is an error
public void testWithExistingCacheDuration()
throws Exception
Exception - thrown if there is an error
public void testWithNonDescriptorMetadataElement()
throws Exception
Exception - thrown if there is an errorpublic void testNegativeDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||