Commit 0b2f912c authored by Andy Wilkinson's avatar Andy Wilkinson

Merge remote-tracking branch 'local/1.3.x'

parents fa32ce35 9d194c2d
...@@ -164,6 +164,12 @@ public class PropertiesConfigurationFactoryTests { ...@@ -164,6 +164,12 @@ public class PropertiesConfigurationFactoryTests {
assertThat(foo.name).isEqualTo("blah"); assertThat(foo.name).isEqualTo("blah");
} }
@Test
public void propertyWithAllUpperCaseSuffixCanBeBound() throws Exception {
Foo foo = createFoo("foo-bar-u-r-i:baz");
assertEquals("baz", foo.fooBarURI);
}
private Foo createFoo(final String values) throws Exception { private Foo createFoo(final String values) throws Exception {
setupFactory(); setupFactory();
return bindFoo(values); return bindFoo(values);
...@@ -196,6 +202,8 @@ public class PropertiesConfigurationFactoryTests { ...@@ -196,6 +202,8 @@ public class PropertiesConfigurationFactoryTests {
private String fooBar; private String fooBar;
private String fooBarURI;
public String getSpringFooBaz() { public String getSpringFooBaz() {
return this.spring_foo_baz; return this.spring_foo_baz;
} }
...@@ -228,6 +236,14 @@ public class PropertiesConfigurationFactoryTests { ...@@ -228,6 +236,14 @@ public class PropertiesConfigurationFactoryTests {
this.fooBar = fooBar; this.fooBar = fooBar;
} }
public String getFooBarURI() {
return this.fooBarURI;
}
public void setFooBarURI(String fooBarURI) {
this.fooBarURI = fooBarURI;
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment