harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r405671 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java
Date Wed, 10 May 2006 07:58:05 GMT
Author: mloenko
Date: Wed May 10 00:58:03 2006
New Revision: 405671

URL: http://svn.apache.org/viewcvs?rev=405671&view=rev
Log:
invalid test removed

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java?rev=405671&r1=405670&r2=405671&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/java/common/java/security/SecureRandom2Test.java
Wed May 10 00:58:03 2006
@@ -85,21 +85,6 @@
 	}
 
 	/*
-	 * Class under test for void SecureRandom()
-	 */
-	public final void testSecureRandom() {
-        SecureRandom sr = new SecureRandom();
-        Random r = new Random();
-        byte[] b1 = new byte[8];
-        byte[] b2 = new byte[8];
-        sr.nextBytes(b1);
-        r.nextBytes(b2);
-        if (!Arrays.equals(b1, b2)) {
-            fail("incorrect random bytes");
-        }
-	}
-
-	/*
 	 * Class under test for void SecureRandom(byte[])
 	 */
 	public final void testSecureRandombyteArray() {



Mime
View raw message