harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r501422 - /harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java
Date Tue, 30 Jan 2007 15:43:46 GMT
Author: ayza
Date: Tue Jan 30 07:43:45 2007
New Revision: 501422

URL: http://svn.apache.org/viewvc?view=rev&rev=501422
Log:
Test case from HARMONY-2443  ([classlib][awt] java.awt.ScrollPane.printComponents((Graphics)
null) throws unexpected NPE) was added.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java?view=diff&rev=501422&r1=501421&r2=501422
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java
Tue Jan 30 07:43:45 2007
@@ -74,4 +74,12 @@
             // PASSED            
         }
     }
+
+    // regression for HARMONY-2443
+    public void testPaintComponentsImpl() {
+        ScrollPane scp = new ScrollPane();
+
+        scp.printComponents((Graphics) null);
+    }
+
 }



Mime
View raw message