harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r701875 - /harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java
Date Sun, 05 Oct 2008 19:54:46 GMT
Author: ndbeyer
Date: Sun Oct  5 12:54:45 2008
New Revision: 701875

URL: http://svn.apache.org/viewvc?rev=701875&view=rev
Log:
add test to verify null return from toString

Modified:
    harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java

Modified: harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java?rev=701875&r1=701874&r2=701875&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/accessibility/src/test/api/java/common/javax/accessibility/AccessibleStateSetTest.java
Sun Oct  5 12:54:45 2008
@@ -125,6 +125,8 @@
         } catch (NullPointerException e) {
             // expected
         }
+        
+        assertNull(new AccessibleStateSet(new AccessibleState[0]).toString());
     }
 
     public void testToArray() throws Exception {



Mime
View raw message