Class DefaultMetadataPolicyEnforcerTest
- java.lang.Object
-
- net.shibboleth.oidc.metadata.policy.impl.DefaultMetadataPolicyEnforcerTest
-
public class DefaultMetadataPolicyEnforcerTest extends Object
Unit tests forDefaultMetadataPolicyEnforcer.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) net.shibboleth.oidc.metadata.policy.impl.DefaultMetadataPolicyEnforcerapplier
-
Constructor Summary
Constructors Constructor Description DefaultMetadataPolicyEnforcerTest()
-
Method Summary
-
-
-
Method Detail
-
init
@BeforeMethod public void init()
-
apply_whenValueSetToNull_resultIsValueWithTrue
public void apply_whenValueSetToNull_resultIsValueWithTrue()
-
apply_whenValueSetToSomething_resultIsValueWithTrue
public void apply_whenValueSetToSomething_resultIsValueWithTrue()
-
apply_whenAddToNullCandidate_resultIsSameAsWithValue
public void apply_whenAddToNullCandidate_resultIsSameAsWithValue()
-
apply_whenAddToSameExistingCandidate_resultIsSameWithTrue
public void apply_whenAddToSameExistingCandidate_resultIsSameWithTrue()
-
apply_whenAddToDifferentSingleExistingCandidate_resultIsFalse
public void apply_whenAddToDifferentSingleExistingCandidate_resultIsFalse()
-
apply_whenAddToListCandidate_resultIsMergedWithTrue
public void apply_whenAddToListCandidate_resultIsMergedWithTrue()
-
apply_whenNoCandidateAndDefaultSet_resultIsDefaultWithTrue
public void apply_whenNoCandidateAndDefaultSet_resultIsDefaultWithTrue()
-
apply_whenCandidateAndDefaultSet_resultIsCandidateWithTrue
public void apply_whenCandidateAndDefaultSet_resultIsCandidateWithTrue()
-
apply_whenEssentialAndNoValue_resultIsFalse
public void apply_whenEssentialAndNoValue_resultIsFalse()
-
apply_whenNonEssentialAndNoValue_resultIsNullWithTrue
public void apply_whenNonEssentialAndNoValue_resultIsNullWithTrue()
-
apply_whenOneOfMeetsValue_resultIsCandidateWithTrue
public void apply_whenOneOfMeetsValue_resultIsCandidateWithTrue()
-
apply_whenOneOfNotMeetingValue_resultIsFalse
public void apply_whenOneOfNotMeetingValue_resultIsFalse()
-
apply_whenSubsetOfMeetsValue_resultIsCandidateWithTrue
public void apply_whenSubsetOfMeetsValue_resultIsCandidateWithTrue()
-
apply_whenSubsetOfNotMeetingValue_resultIsFalse
public void apply_whenSubsetOfNotMeetingValue_resultIsFalse()
-
apply_whenSupersetOfMeetsValue_resultIsCandidateWithTrue
public void apply_whenSupersetOfMeetsValue_resultIsCandidateWithTrue()
-
apply_whenSupersetOfNotMeetingValue_resultIsFalse
public void apply_whenSupersetOfNotMeetingValue_resultIsFalse()
-
apply_whenRegexMeetsValue_resultIsCandidateWithTrue
public void apply_whenRegexMeetsValue_resultIsCandidateWithTrue()
-
apply_whenRegexNotMeetingValue_resultIsFalse
public void apply_whenRegexNotMeetingValue_resultIsFalse()
-
assertResultEquals
public static void assertResultEquals(Pair<Object,Boolean> pair, Object expected)
-
-