commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r294935 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
Date Tue, 04 Oct 2005 22:23:06 GMT
Author: ggregory
Date: Tue Oct  4 15:23:01 2005
New Revision: 294935

URL: http://svn.apache.org/viewcvs?rev=294935&view=rev
Log:
More code that does not compile 1.3.1.

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java?rev=294935&r1=294934&r2=294935&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
Tue Oct  4 15:23:01 2005
@@ -111,19 +111,19 @@
         assertEquals("Code is not implemented in class java.lang.String", ex.getMessage());
     }
 
-    public void testGetMessage_Indexed() {
-        NotImplementedException ex = new NotImplementedException(new Exception("nested 1",
new Exception("nested 2")));
-        assertEquals("Code is not implemented", ex.getMessage());
-        assertEquals("Code is not implemented", ex.getMessage(0));
-        assertEquals("nested 1", ex.getMessage(1));
-        assertEquals("nested 2", ex.getMessage(2));
-        
-        String[] messages = ex.getMessages();
-        assertEquals(3, messages.length);
-        assertEquals("Code is not implemented", messages[0]);
-        assertEquals("nested 1", messages[1]);
-        assertEquals("nested 2", messages[2]);
-    }
+//    public void testGetMessage_Indexed() {
+//        NotImplementedException ex = new NotImplementedException(new Exception("nested
1", new Exception("nested 2")));
+//        assertEquals("Code is not implemented", ex.getMessage());
+//        assertEquals("Code is not implemented", ex.getMessage(0));
+//        assertEquals("nested 1", ex.getMessage(1));
+//        assertEquals("nested 2", ex.getMessage(2));
+//        
+//        String[] messages = ex.getMessages();
+//        assertEquals(3, messages.length);
+//        assertEquals("Code is not implemented", messages[0]);
+//        assertEquals("nested 1", messages[1]);
+//        assertEquals("nested 2", messages[2]);
+//    }
     
     public void testGetThrowable() {
         NotImplementedException ex = new NotImplementedException(new NestableException("nested
1", new NestableException("nested 2")));



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message