You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/02/17 14:22:18 UTC

svn commit: r1447020 - /commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java

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