[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
Fri Feb 28 21:06:04 EST 2014
Author: scantor
Date: Fri Feb 28 21:06:03 2014
New Revision: 5496
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5496&view=rev
Log:
Forgot to check in 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=5496&r1=5495&r2=5496&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 Fri Feb 28 21:06:03 2014
@@ -43,6 +43,7 @@
@Test
public void testNone() throws ComponentInitializationException {
final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
+ pred.setId("test");
pred.initialize();
Assert.assertFalse(pred.apply(prc));
@@ -54,6 +55,7 @@
@Test
public void testMatch() throws ComponentInitializationException {
final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
+ pred.setId("test");
pred.setRelyingPartyIds(Collections.singleton("foo"));
pred.initialize();
@@ -66,6 +68,7 @@
@Test
public void testNoMatch() throws ComponentInitializationException {
final RelyingPartyIdPredicate pred = new RelyingPartyIdPredicate();
+ pred.setId("test");
pred.setRelyingPartyIds(Collections.singleton("bar"));
pred.initialize();
More information about the commits
mailing list