The declared exception GeneralSecurityException is not actually thrown by the method testDummmyRandom() from type CryptoRandomFactoryTest.
Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/72dd5bf1 Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/72dd5bf1 Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/72dd5bf1 Branch: refs/heads/CRYPTO-1.0.0 Commit: 72dd5bf13f1e577fcafcf22a1db8a20b9a2b237f Parents: 8773c32 Author: ggregory <ggreg...@apache.org> Authored: Fri Jul 8 09:15:18 2016 -0700 Committer: ggregory <ggreg...@apache.org> Committed: Fri Jul 8 09:15:18 2016 -0700 ---------------------------------------------------------------------- .../org/apache/commons/crypto/random/CryptoRandomFactoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/72dd5bf1/src/test/java/org/apache/commons/crypto/random/CryptoRandomFactoryTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/crypto/random/CryptoRandomFactoryTest.java b/src/test/java/org/apache/commons/crypto/random/CryptoRandomFactoryTest.java index 2f78347..2901404 100644 --- a/src/test/java/org/apache/commons/crypto/random/CryptoRandomFactoryTest.java +++ b/src/test/java/org/apache/commons/crypto/random/CryptoRandomFactoryTest.java @@ -101,7 +101,7 @@ public class CryptoRandomFactoryTest { } @Test - public void testDummmyRandom() throws GeneralSecurityException { + public void testDummmyRandom() { Properties props = new Properties(); props.setProperty(CryptoRandomFactory.CLASSES_KEY, DummyRandom.class.getName()); try {