commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1097487 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
Date Thu, 28 Apr 2011 14:49:45 GMT
Author: ggregory
Date: Thu Apr 28 14:49:45 2011
New Revision: 1097487

URL: http://svn.apache.org/viewvc?rev=1097487&view=rev
Log:
Add test that omits arg to invoke constructor.

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java?rev=1097487&r1=1097486&r2=1097487&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
Thu Apr 28 14:49:45 2011
@@ -92,6 +92,7 @@ public class ConstructorUtilsTest extend
                 (Object[]) ArrayUtils.EMPTY_CLASS_ARRAY).toString());
         assertEquals("()", ConstructorUtils.invokeConstructor(TestBean.class,
                 (Object[]) null).toString());
+        assertEquals("()", ConstructorUtils.invokeConstructor(TestBean.class).toString());
         assertEquals("(String)", ConstructorUtils.invokeConstructor(
                 TestBean.class, "").toString());
         assertEquals("(Object)", ConstructorUtils.invokeConstructor(



Mime
View raw message