commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1447020 - /commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java
Date Sun, 17 Feb 2013 13:22:18 GMT
Author: britter
Date: Sun Feb 17 13:22:17 2013
New Revision: 1447020

URL: http://svn.apache.org/r1447020
Log:
Remove assertion from test - it doesn't get evaluated because the method call throws an exception

Modified:
    commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java

Modified: commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java?rev=1447020&r1=1447019&r2=1447020&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java
Sun Feb 17 13:22:17 2013
@@ -44,7 +44,7 @@ public class OnClassNameTestCase
     public void onClassNameTestBeanWithClassLoaderNull()
         throws Exception
     {
-        assertNotNull( onClassName( TestBean.class.getName() ).loadWith( null ) );
+        onClassName( TestBean.class.getName() ).loadWith( null );
     }
 
     @Test



Mime
View raw message