[java-identity-provider COMMIT] /trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyId...
noreply at shibboleth.net
noreply at shibboleth.net
Thu May 8 01:06:54 EDT 2014
Author: scantor
Date: Thu May 8 01:06:54 2014
New Revision: 5885
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5885&view=rev
Log:
Missed a test.
Modified:
trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicateTest.java
Modified: trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicateTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicateTest.java?rev=5885&r1=5884&r2=5885&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicateTest.java (original)
+++ trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicateTest.java Thu May 8 01:06:54 2014
@@ -42,7 +42,7 @@
@Test
public void testNone() throws ComponentInitializationException {
- final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
+ final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate(Collections.<String>emptySet());
Assert.assertFalse(pred.apply(prc));
@@ -52,8 +52,7 @@
@Test
public void testMatch() throws ComponentInitializationException {
- final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
- pred.setRelyingPartyIds(Collections.singleton("foo"));
+ final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate(Collections.singleton("foo"));
Assert.assertFalse(pred.apply(prc));
@@ -63,8 +62,7 @@
@Test
public void testNoMatch() throws ComponentInitializationException {
- final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
- pred.setRelyingPartyIds(Collections.singleton("bar"));
+ final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate(Collections.singleton("bar"));
Assert.assertFalse(pred.apply(prc));
More information about the commits
mailing list