|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.dom.saml.SetValidUntilStageTest
public class SetValidUntilStageTest
SetValidUntilStage unit test.
| Constructor Summary | |
|---|---|
SetValidUntilStageTest()
|
|
| Method Summary | |
|---|---|
void |
testNegativeDuration()
Tests that the stage properly rejects negative durations. |
void |
testWithExistingValidUntil()
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 |
testWithoutExistingValidUntil()
Tests that the validUntil attribute is properly set on an element when it doesn't already contain one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetValidUntilStageTest()
| Method Detail |
|---|
public void testWithoutExistingValidUntil()
throws Exception
Exception - thrown if there is an error
public void testWithExistingValidUntil()
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 | |||||||||