commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/src/test/org/apache/commons/jelly/core TestInvokeStaticTag.java TestInvokeTag.java
Date Mon, 16 Aug 2004 01:59:32 GMT
dion        2004/08/15 18:59:32

  Modified:    jelly/src/test/org/apache/commons/jelly/core
                        TestInvokeStaticTag.java TestInvokeTag.java
  Log:
  Add commented out tests for the target exception, as they rely on a JDK 1.4 and above method
  
  Revision  Changes    Path
  1.6       +3 -1      jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestInvokeStaticTag.java
  
  Index: TestInvokeStaticTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestInvokeStaticTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestInvokeStaticTag.java	12 Aug 2004 04:25:42 -0000	1.5
  +++ TestInvokeStaticTag.java	16 Aug 2004 01:59:32 -0000	1.6
  @@ -126,6 +126,8 @@
           assertTrue( "messages are the same", ! exceptionMessage.equals(jellyException.getMessage())
);
           assertTrue( "exception '" + jellyException.getMessage() + "' does not ends with
'" +
           		exceptionMessage+"'", jellyException.getMessage().endsWith(exceptionMessage)
);
  +//        assertNotNull( jellyException.getCause() );
  +//        assertEquals( exceptionMessage, jellyException.getCause().getMessage() );
       }
       
   }
  
  
  
  1.6       +3 -1      jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestInvokeTag.java
  
  Index: TestInvokeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/test/org/apache/commons/jelly/core/TestInvokeTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestInvokeTag.java	12 Aug 2004 04:25:42 -0000	1.5
  +++ TestInvokeTag.java	16 Aug 2004 01:59:32 -0000	1.6
  @@ -122,6 +122,8 @@
           assertTrue( "messages are the same", ! exceptionMessage.equals(jellyException.getMessage())
);
           assertTrue( "exception '" + jellyException.getMessage() + "' does not ends with
'" +
           		exceptionMessage+"'", jellyException.getMessage().endsWith(exceptionMessage)
);
  +//        assertNotNull( jellyException.getCause() );
  +//        assertEquals( exceptionMessage, jellyException.getCause().getMessage() );
       }
       
   
  
  
  

---------------------------------------------------------------------
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