Repository: commons-crypto
Updated Branches:
  refs/heads/master d4e04f5ef -> d4c6b9fb6


[CRYPTO-52] Improve assertion message when test fails due to lack of JCE
Unlimited Strength Jurisdiction Policy Files. Applied patch and changed
@Before to @BeforeClass.

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/d4c6b9fb
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/d4c6b9fb
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/d4c6b9fb

Branch: refs/heads/master
Commit: d4c6b9fb614d449a4bb4d2622771eba220676a5b
Parents: d4e04f5
Author: ggregory <ggreg...@apache.org>
Authored: Wed May 4 12:14:07 2016 -0700
Committer: ggregory <ggreg...@apache.org>
Committed: Wed May 4 12:14:07 2016 -0700

----------------------------------------------------------------------
 src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d4c6b9fb/src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java 
b/src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java
index 46bd634..2f28b16 100644
--- a/src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java
+++ b/src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java
@@ -39,7 +39,7 @@ public class JceCipherTest extends AbstractCipherTest {
     }
 
     @BeforeClass
-    public void checkJceUnlimitedStrength() throws NoSuchAlgorithmException {
+    public static void checkJceUnlimitedStrength() throws 
NoSuchAlgorithmException {
         int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
         Assert.assertTrue(String.format(
                 "Testing requires support for an AES key length of %d, but " +

Reply via email to