summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests
diff options
context:
space:
mode:
authorUrs Grob <ursg@google.com>2009-07-22 20:09:52 +0200
committerUrs Grob <ursg@google.com>2009-07-22 20:09:52 +0200
commitdbda5ceb49294e88333fd4521a691b6ff1474e88 (patch)
tree55df3bb0368c5594f4bbbae375b4ff8573b5a52a /tests/CoreTests
parentdfca0ee879a6cb14bcdabf34962dcec3b34a40b3 (diff)
downloadframeworks_base-dbda5ceb49294e88333fd4521a691b6ff1474e88.zip
frameworks_base-dbda5ceb49294e88333fd4521a691b6ff1474e88.tar.gz
frameworks_base-dbda5ceb49294e88333fd4521a691b6ff1474e88.tar.bz2
Removing MD2
Diffstat (limited to 'tests/CoreTests')
-rw-r--r--tests/CoreTests/android/core/CryptoTest.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/CoreTests/android/core/CryptoTest.java b/tests/CoreTests/android/core/CryptoTest.java
index f00d49f..e6e50ec 100644
--- a/tests/CoreTests/android/core/CryptoTest.java
+++ b/tests/CoreTests/android/core/CryptoTest.java
@@ -22,7 +22,6 @@ import junit.framework.TestCase;
import org.apache.harmony.xnet.provider.jsse.OpenSSLMessageDigest;
import org.bouncycastle.crypto.Digest;
import org.bouncycastle.crypto.ExtendedDigest;
-import org.bouncycastle.crypto.digests.MD2Digest;
import org.bouncycastle.crypto.digests.MD4Digest;
import org.bouncycastle.crypto.digests.MD5Digest;
import org.bouncycastle.crypto.digests.SHA1Digest;
@@ -93,16 +92,6 @@ public class CryptoTest extends TestCase {
// Assert.assertTrue("New hash should be faster", newTime < oldTime);
}
-
- /**
- * Tests the MD2 implementation.
- */
- @LargeTest
- public void testMD2() {
- Digest oldDigest = new MD2Digest();
- Digest newDigest = OpenSSLMessageDigest.getInstance("MD2");
- doTestMessageDigest(oldDigest, newDigest);
- }
/**
* Tests the MD4 implementation.