Merge remote-tracking branch 'local/1.3.x'
This commit is contained in:
commit
0b2f912ca2
|
|
@ -164,6 +164,12 @@ public class PropertiesConfigurationFactoryTests {
|
|||
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 {
|
||||
setupFactory();
|
||||
return bindFoo(values);
|
||||
|
|
@ -196,6 +202,8 @@ public class PropertiesConfigurationFactoryTests {
|
|||
|
||||
private String fooBar;
|
||||
|
||||
private String fooBarURI;
|
||||
|
||||
public String getSpringFooBaz() {
|
||||
return this.spring_foo_baz;
|
||||
}
|
||||
|
|
@ -228,6 +236,14 @@ public class PropertiesConfigurationFactoryTests {
|
|||
this.fooBar = fooBar;
|
||||
}
|
||||
|
||||
public String getFooBarURI() {
|
||||
return this.fooBarURI;
|
||||
}
|
||||
|
||||
public void setFooBarURI(String fooBarURI) {
|
||||
this.fooBarURI = fooBarURI;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue