harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r440602 - in /incubator/harmony/enhanced/classlib/trunk/modules/nio_char: build.xml src/test/java/tests/api/java/nio/charset/CharsetTest.java
Date Wed, 06 Sep 2006 03:50:31 GMT
Author: pyang
Date: Tue Sep  5 20:50:30 2006
New Revision: 440602

URL: http://svn.apache.org/viewvc?view=rev&rev=440602
Log:
Patch applied for HARMONY-1381 ([classlib][nio_char] Two test cases in tests.api.java.nio.charset.CharsetTest
are failed by running "ant test".)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml
    incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml?view=diff&rev=440602&r1=440601&r2=440602
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml Tue Sep  5 20:50:30
2006
@@ -147,7 +147,6 @@
                     <include name="**/*Test.java"/>
                     <exclude name="tests/api/java/nio/charset/ASCCharsetEncoderTest.java"/>
                     <exclude name="tests/api/java/nio/charset/CharsetProviderTest.java"/>
-                    <exclude name="tests/api/java/nio/charset/CharsetTest.java"/>
                     <!-- No public constructor? -->
                     <exclude name="tests/api/java/nio/charset/ConcreteCharsetTest.java"/>
                     <exclude name="tests/api/java/nio/charset/GBCharsetEncoderTest.java"/>

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java?view=diff&rev=440602&r1=440601&r2=440602
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java
Tue Sep  5 20:50:30 2006
@@ -551,7 +551,7 @@
 	 * Test the method encode(CharBuffer) under normal condition.
 	 */
 	public void testEncode_CharBuffer_Normal() throws Exception {
-		MockCharset c1 = new MockCharset("mock", null);
+		MockCharset c1 = new MockCharset("testEncode_CharBuffer_Normal_mock", null);
 		ByteBuffer bb = c1.encode(CharBuffer.wrap("abcdefg"));
 		assertEquals(new String(bb.array(), "iso8859-1"), "abcdefg");
 		bb = c1.encode(CharBuffer.wrap(""));
@@ -599,7 +599,7 @@
 	 * Test the method encode(String) under normal condition.
 	 */
 	public void testEncode_String_Normal() throws Exception {
-		MockCharset c1 = new MockCharset("mock", null);
+		MockCharset c1 = new MockCharset("testEncode_String_Normal_mock", null);
 		ByteBuffer bb = c1.encode("abcdefg");
 		assertEquals(new String(bb.array(), "iso8859-1"), "abcdefg");
 		bb = c1.encode("");



Mime
View raw message