You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2016/10/06 19:52:15 UTC

svn commit: r1763649 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java

Author: oheger
Date: Thu Oct  6 19:52:14 2016
New Revision: 1763649

URL: http://svn.apache.org/viewvc?rev=1763649&view=rev
Log:
[CONFIGURATION-627] Fixed a failing test case.

FluentBeanIntrospector in BeanUtils 1.9.3 uses a slightly different
algorithm to handle property names. This affects properties starting
with multiple uppercase letters. This test class is affected as it
tries to set the IOFactory property.

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java?rev=1763649&r1=1763648&r2=1763649&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java (original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java Thu Oct  6 19:52:14 2016
@@ -92,7 +92,7 @@ public class TestPropertiesBuilderParame
         PropertiesConfiguration.IOFactory factory =
                 EasyMock.createMock(PropertiesConfiguration.IOFactory.class);
         EasyMock.replay(factory);
-        BeanHelper.setProperty(params, "iOFactory", factory);
+        BeanHelper.setProperty(params, "IOFactory", factory);
         BeanHelper.setProperty(params, "throwExceptionOnMissing",
                 Boolean.TRUE);
         BeanHelper.setProperty(params, "fileName", "test.properties");