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

noreply at shibboleth.net noreply at shibboleth.net
Mon Feb 23 20:22:29 EST 2015


Author: putmanb
Date: Mon Feb 23 20:22:29 2015
New Revision: 7373

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7373&view=rev
Log:
OSJ-109: BasicPKIXValidationInformation no longer allows a null verification depth 

Modified:
    trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXFilesystemParserTest.java
    trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXInlineParserTest.java

Modified: trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXFilesystemParserTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXFilesystemParserTest.java?rev=7373&r1=7372&r2=7373&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXFilesystemParserTest.java (original)
+++ trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXFilesystemParserTest.java Mon Feb 23 20:22:29 2015
@@ -37,7 +37,7 @@
 
     @Test public void simple() throws IOException {
         final BasicPKIXValidationInformation info = lookup("filesystemValidationInfo.xml");
-        Assert.assertEquals(info.getVerificationDepth().intValue(), 1);
+        Assert.assertNull(info.getVerificationDepth());
         Assert.assertTrue(info.getCertificates().isEmpty());
         Assert.assertTrue(info.getCRLs().isEmpty());
     }

Modified: trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXInlineParserTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXInlineParserTest.java?rev=7373&r1=7372&r2=7373&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXInlineParserTest.java (original)
+++ trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/trustengine/PKIXInlineParserTest.java Mon Feb 23 20:22:29 2015
@@ -37,7 +37,7 @@
 
     @Test public void simple() throws IOException {
         final BasicPKIXValidationInformation info = lookup("inlineValidationInfo.xml");
-        Assert.assertEquals(info.getVerificationDepth().intValue(), 1);
+        Assert.assertNull(info.getVerificationDepth());
         Assert.assertTrue(info.getCertificates().isEmpty());
         Assert.assertTrue(info.getCRLs().isEmpty());
     }



More information about the commits mailing list