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 18:19:07 UTC
svn commit: r1447046 -
/commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java
Author: britter
Date: Sun Feb 17 17:19:07 2013
New Revision: 1447046
URL: http://svn.apache.org/r1447046
Log:
Remove call to BeanAccessor.get() in test case - it won't be executed because an (expected) exception will be thrown.
Modified:
commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java
Modified: commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java?rev=1447046&r1=1447045&r2=1447046&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java (original)
+++ commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java Sun Feb 17 17:19:07 2013
@@ -66,7 +66,7 @@ public final class GetPropertyTestCase
public void getWirteOnlyProperty()
throws Exception
{
- on( bean ).get( "writeOnlyProperty" ).get();
+ on( bean ).get( "writeOnlyProperty" );
}
@Test( expected = NoSuchPropertyException.class )