harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405473 - /incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java
Date Tue, 09 May 2006 17:11:18 GMT
Author: tellison
Date: Tue May  9 10:11:16 2006
New Revision: 405473

URL: http://svn.apache.org/viewcvs?rev=405473&view=rev
Log:
Remove NIO_CHAR type check test that is now compile-time errors

Modified:
    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/src/test/java/tests/api/java/nio/charset/CharsetTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio_char/src/test/java/tests/api/java/nio/charset/CharsetTest.java?rev=405473&r1=405472&r2=405473&view=diff
==============================================================================
--- 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 May  9 10:11:16 2006
@@ -484,19 +484,6 @@
 	}
 
 	/*
-	 * Test the method compareTo(Object) with non-charset param.
-	 */
-	public void testCompareTo_NonCharsetObject() {
-		MockCharset c1 = new MockCharset("mock", null);
-		try {
-			c1.compareTo("test");
-			fail("Should throw ClassCastException!");
-		} catch (ClassCastException e) {
-			// expected
-		}
-	}
-
-	/*
 	 * Test the method compareTo(Object) with another kind of charset object.
 	 */
 	public void testCompareTo_DiffCharsetClass() {



Mime
View raw message