commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1763649 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestPropertiesBuilderParametersImpl.java
Date Thu, 06 Oct 2016 19:52:15 GMT
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");



Mime
View raw message