use of com.tvd12.properties.file.struct.PropertiesBean in project properties-file by tvd12.
the class PropertiesClassTest method notWrapperTest.
@Test
public void notWrapperTest() {
PropertiesBean map = new PropertiesBean(ClassA.class);
map.put("length", 1);
map.put("value", "zzz");
map.put("value", "yyy");
}
use of com.tvd12.properties.file.struct.PropertiesBean in project properties-file by tvd12.
the class PropertiesClassTest method wrapperTest2.
@Test
public void wrapperTest2() {
PropertiesBean map = new PropertiesBean(ClassC.class);
map.put("length", 1);
map.put("value", "zzz");
map.put("value", "yyy");
map.put("clazz", ClassA.class);
map.put("classD", new ClassD(1));
}
use of com.tvd12.properties.file.struct.PropertiesBean in project properties-file by tvd12.
the class PropertiesClassTest method transformClazzValidCaseTest.
@Test
public void transformClazzValidCaseTest() {
PropertiesBean map = new PropertiesBean(ClassE.class);
map.put("clazz", ClassA.class.toString());
}
use of com.tvd12.properties.file.struct.PropertiesBean in project properties-file by tvd12.
the class PropertiesClassTest method main.
public static void main(String[] args) {
PropertiesBean map = new PropertiesBean(ClassE.class);
map.put("clazz", ClassA.class.toString());
}
use of com.tvd12.properties.file.struct.PropertiesBean in project properties-file by tvd12.
the class PropertiesClassTest method transformClazzInvalidCaseTest.
@Test
public void transformClazzInvalidCaseTest() {
PropertiesBean map = new PropertiesBean(ClassE.class);
map.put("clazz", "classD");
}
Aggregations