commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fred...@apache.org
Subject cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang ArrayUtilsTest.java
Date Thu, 08 Jan 2004 17:54:28 GMT
fredrik     2004/01/08 09:54:28

  Modified:    lang/src/test/org/apache/commons/lang ArrayUtilsTest.java
  Log:
  Added nullhandling tests for isEquals.
  
  Revision  Changes    Path
  1.19      +4 -1      jakarta-commons/lang/src/test/org/apache/commons/lang/ArrayUtilsTest.java
  
  Index: ArrayUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/ArrayUtilsTest.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ArrayUtilsTest.java	5 Dec 2003 23:37:18 -0000	1.18
  +++ ArrayUtilsTest.java	8 Jan 2004 17:54:28 -0000	1.19
  @@ -148,6 +148,9 @@
           Object[] array4 = new Object[] {"AB"};
           assertEquals(true, ArrayUtils.isEquals(array3, array3));
           assertEquals(true, ArrayUtils.isEquals(array3, array4));
  +
  +        assertEquals(true, ArrayUtils.isEquals(null, null));
  +        assertEquals(false, ArrayUtils.isEquals(null, array4));
       }
       
       //-----------------------------------------------------------------------
  
  
  

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