Repository: commons-crypto Updated Branches: refs/heads/master f4513247a -> 720b1173d
Fixing UnitTest warning Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/d6e1f3cd Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/d6e1f3cd Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/d6e1f3cd Branch: refs/heads/master Commit: d6e1f3cdb2b9b40118a4690d16dc09053e63c5e8 Parents: f451324 Author: Sun Dapeng <s...@apache.org> Authored: Thu Jun 16 13:51:50 2016 +0800 Committer: Sun Dapeng <s...@apache.org> Committed: Thu Jun 16 13:51:50 2016 +0800 ---------------------------------------------------------------------- pom.xml | 18 +++++++++--------- .../crypto/cipher/CryptoCipherFactoryTest.java | 2 +- .../crypto/random/TestJavaCryptoRandom.java | 2 +- .../crypto/random/TestOpensslCryptoRandom.java | 2 +- .../apache/commons/crypto/utils/UtilsTest.java | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d6e1f3cd/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4965a50..0e69cb4 100644 --- a/pom.xml +++ b/pom.xml @@ -366,15 +366,15 @@ The following provides more details on the included cryptographic software: </configuration> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-scm-publish-plugin</artifactId> - <version>1.1</version> - <configuration> - <ignorePathsToDelete> - <ignorePathToDelete>javadocs**</ignorePathToDelete> - </ignorePathsToDelete> - </configuration> - </plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-scm-publish-plugin</artifactId> + <version>1.1</version> + <configuration> + <ignorePathsToDelete> + <ignorePathToDelete>javadocs**</ignorePathToDelete> + </ignorePathsToDelete> + </configuration> + </plugin> </plugins> </build> <reporting> http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d6e1f3cd/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java b/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java index bc1f6bd..c54cfab 100644 --- a/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java +++ b/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java @@ -22,7 +22,7 @@ import java.util.Properties; import org.apache.commons.crypto.conf.ConfigurationKeys; -import junit.framework.Assert; +import org.junit.Assert; import org.junit.Test; public class CryptoCipherFactoryTest { http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d6e1f3cd/src/test/java/org/apache/commons/crypto/random/TestJavaCryptoRandom.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/crypto/random/TestJavaCryptoRandom.java b/src/test/java/org/apache/commons/crypto/random/TestJavaCryptoRandom.java index b9642ab..e8080bd 100644 --- a/src/test/java/org/apache/commons/crypto/random/TestJavaCryptoRandom.java +++ b/src/test/java/org/apache/commons/crypto/random/TestJavaCryptoRandom.java @@ -21,7 +21,7 @@ import java.security.GeneralSecurityException; import java.util.Properties; import org.apache.commons.crypto.conf.ConfigurationKeys; -import static junit.framework.Assert.fail; +import static org.junit.Assert.fail; public class TestJavaCryptoRandom extends AbstractRandomTest { http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d6e1f3cd/src/test/java/org/apache/commons/crypto/random/TestOpensslCryptoRandom.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/crypto/random/TestOpensslCryptoRandom.java b/src/test/java/org/apache/commons/crypto/random/TestOpensslCryptoRandom.java index 0a6600a..c14c6f4 100644 --- a/src/test/java/org/apache/commons/crypto/random/TestOpensslCryptoRandom.java +++ b/src/test/java/org/apache/commons/crypto/random/TestOpensslCryptoRandom.java @@ -21,7 +21,7 @@ import java.security.GeneralSecurityException; import java.util.Properties; import org.apache.commons.crypto.conf.ConfigurationKeys; -import static junit.framework.Assert.fail; +import static org.junit.Assert.fail; public class TestOpensslCryptoRandom extends AbstractRandomTest { http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/d6e1f3cd/src/test/java/org/apache/commons/crypto/utils/UtilsTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/crypto/utils/UtilsTest.java b/src/test/java/org/apache/commons/crypto/utils/UtilsTest.java index e880898..03bcc68 100644 --- a/src/test/java/org/apache/commons/crypto/utils/UtilsTest.java +++ b/src/test/java/org/apache/commons/crypto/utils/UtilsTest.java @@ -17,13 +17,13 @@ */ package org.apache.commons.crypto.utils; -import junit.framework.Assert; -import org.junit.Test; - import java.util.Arrays; import java.util.Collections; import java.util.List; +import org.junit.Assert; +import org.junit.Test; + public class UtilsTest { @Test public void testSplitOmitEmptyLine() {