You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2006/04/21 09:16:30 UTC

svn commit: r395805 - in /incubator/harmony/enhanced/classlib/trunk/modules/crypto: make/common/build.xml src/test/java/tests/api/javax/crypto/CipherTest.java

Author: smishura
Date: Fri Apr 21 00:16:28 2006
New Revision: 395805

URL: http://svn.apache.org/viewcvs?rev=395805&view=rev
Log:
Fixing name of resource file to make CipherTest pass on Linux.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/crypto/make/common/build.xml
    incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/tests/api/javax/crypto/CipherTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/crypto/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/crypto/make/common/build.xml?rev=395805&r1=395804&r2=395805&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/crypto/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/crypto/make/common/build.xml Fri Apr 21 00:16:28 2006
@@ -118,9 +118,6 @@
             <batchtest todir="${hy.tests.reports}" haltonfailure="no">
                 <fileset dir="${hy.crypto.src.test.java}">
                     <include name="**/*Test.java"/>
-
-                    <!-- Harmony exclude list -->
-                    <exclude name="tests/api/javax/crypto/CipherTest.java"/>
                 </fileset>
             </batchtest>
         </junit>

Modified: incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/tests/api/javax/crypto/CipherTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/tests/api/javax/crypto/CipherTest.java?rev=395805&r1=395804&r2=395805&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/tests/api/javax/crypto/CipherTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/tests/api/javax/crypto/CipherTest.java Fri Apr 21 00:16:28 2006
@@ -551,7 +551,7 @@
 			is.close();
 
 			byte[] cipherText = loadBytes("hyts_" + "des-ede3-cbc.test"
-					+ index + ".cipherText");
+					+ index + ".ciphertext");
             assertTrue("Operation produced incorrect results", Arrays.equals(
                     encryptedPlaintext, cipherText));
 		}// end for