use of jp.ossc.nimbus.beans.Property in project nimbus by nimbus-org.
the class PropertyFactoryTest method testNestMap5_2.
public void testNestMap5_2() throws Exception {
Property prop = PropertyFactory.createProperty("test.map.hogelist[5][1][1]");
Test test = new Test(new Test());
assertEquals("hoge622", prop.getProperty(test));
prop.setProperty(test, "hoge");
assertEquals("hoge", prop.getProperty(test));
}
use of jp.ossc.nimbus.beans.Property in project nimbus by nimbus-org.
the class PropertyFactoryTest method testNestMap7_1.
public void testNestMap7_1() throws Exception {
Property prop = PropertyFactory.createProperty("test.map.hogeString1.[0]");
Test test = new Test(new Test());
assertEquals("fuga51", prop.getProperty(test));
prop.setProperty(test, "hoge");
assertEquals("hoge", prop.getProperty(test));
}
use of jp.ossc.nimbus.beans.Property in project nimbus by nimbus-org.
the class PropertyFactoryTest method testNestMap3_2.
public void testNestMap3_2() throws Exception {
Property prop = PropertyFactory.createProperty("test.map(hogelist)[3][0]");
Test test = new Test(new Test());
assertEquals("hoge41", prop.getProperty(test));
prop.setProperty(test, "hoge");
assertEquals("hoge", prop.getProperty(test));
}
use of jp.ossc.nimbus.beans.Property in project nimbus by nimbus-org.
the class PropertyFactoryTest method testNestMap6_2.
public void testNestMap6_2() throws Exception {
Property prop = PropertyFactory.createProperty("test.map(hogelist)[6].hoge72");
Test test = new Test(new Test());
assertEquals("fuga72", prop.getProperty(test));
prop.setProperty(test, "hoge");
assertEquals("hoge", prop.getProperty(test));
}
use of jp.ossc.nimbus.beans.Property in project nimbus by nimbus-org.
the class PropertyFactoryTest method testNestList1.
public void testNestList1() throws Exception {
Property prop = PropertyFactory.createProperty("test.list[0]");
Test test = new Test(new Test());
assertEquals("hoge1", prop.getProperty(test));
prop.setProperty(test, "hoge");
assertEquals("hoge", prop.getProperty(test));
}
Aggregations