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/lang/src/test/org/apache/commons/lang/exception ExceptionUtilsTestCase.java
Date Thu, 22 Aug 2002 00:00:09 GMT
dlr         2002/08/21 17:00:09

  Modified:    lang/src/test/org/apache/commons/lang/exception
                        ExceptionUtilsTestCase.java
  Log:
  testGetThrowableCount(): New method to get
  ExceptionUtils.getThrowableCount() with null argument.
  
  Revision  Changes    Path
  1.2       +5 -0      jakarta-commons/lang/src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java
  
  Index: ExceptionUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- ExceptionUtilsTestCase.java	13 Aug 2002 18:05:58 -0000	1.1
  +++ ExceptionUtilsTestCase.java	22 Aug 2002 00:00:09 -0000	1.2
  @@ -101,6 +101,11 @@
           assertTrue(ExceptionUtils.getRootCause(withCause) == withoutCause);
       }
   
  +    public void testGetThrowableCount()
  +    {
  +        assertEquals(ExceptionUtils.getThrowableCount(null), 0);
  +    }
  +
       private static class ExceptionWithCause extends Exception
       {
           private Throwable cause;
  
  
  

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


Mime
View raw message