[java-identity-provider COMMIT] /trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingpart...

noreply at shibboleth.net noreply at shibboleth.net
Mon Mar 31 14:08:46 EDT 2014


Author: rdw
Date: Mon Mar 31 14:08:46 2014
New Revision: 5668

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5668&view=rev
Log:
Widen test for a conditional predicate

Modified:
    trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileTest.java

Modified: trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileTest.java?rev=5668&r1=5667&r2=5668&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileTest.java (original)
+++ trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileTest.java Mon Mar 31 14:08:46 2014
@@ -76,8 +76,10 @@
         try {
             predicate.apply(null);
             Assert.fail("Was not a conditional Predicate");
-        } catch (ConstraintViolationException ex) {
+        } catch (ConstraintViolationException  ex) {
             // expected   
+        } catch ( IllegalArgumentException ex) {
+            // expected
         }
     }
 



More information about the commits mailing list