[java-opensaml COMMIT] /trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustE...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Jul 16 21:18:26 EDT 2015
Author: putmanb
Date: Thu Jul 16 21:18:25 2015
New Revision: 4316
URL: http://svn.shibboleth.net/view/java-opensaml?rev=4316&view=rev
Log:
OSJ-123: PKIX policy unit tests not enabled due to missing TestNG annotations
Modified:
trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustEvaluatorTest.java
Modified: trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustEvaluatorTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustEvaluatorTest.java?rev=4316&r1=4315&r2=4316&view=diff
==============================================================================
--- trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustEvaluatorTest.java (original)
+++ trunk/opensaml-security-impl/src/test/java/org/opensaml/security/x509/impl/CertPathPKIXTrustEvaluatorTest.java Thu Jul 16 21:18:25 2015
@@ -316,6 +316,7 @@
testValidateFailure("Valid path was specified, but depth exceeded max path depth", info, cred);
}
+ @Test
public void testAnyPolicy() {
cred = getCredential("mdt-signer.crt.pem", "mdt-ica.1.crt.pem");
info = getPKIXInfoSet(
@@ -327,6 +328,7 @@
testValidateSuccess("Intermediate CA with anyPolicy (2.5.29.32.0) entry permitted", info, cred, opts);
}
+ @Test
public void testExplicitPolicy() {
cred = getCredential("mdt-signer.crt.pem", "mdt-ica.1.crt.pem");
info = getPKIXInfoSet(
@@ -346,6 +348,7 @@
testValidateSuccess("Intermediate CA with explicit policies " + testPolicy1 + ", " + testPolicy2, info, cred, opts);
}
+ @Test
public void testExplicitPolicyMap() {
cred = getCredential("mdt-signer.crt.pem", "mdt-ica.3.crt.pem");
info = getPKIXInfoSet(
@@ -356,7 +359,8 @@
testValidateSuccess("Intermediate CA with policy mapping, and mapping is permitted", info, cred, opts);
}
-
+
+ @Test
public void testExplicitPolicyNoMap() {
cred = getCredential("mdt-signer.crt.pem", "mdt-ica.3.crt.pem");
info = getPKIXInfoSet(
More information about the commits
mailing list