Search in sources :

Example 16 with PropertiesBean

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");
}
Also used : PropertiesBean(com.tvd12.properties.file.struct.PropertiesBean) BaseTest(com.tvd12.test.base.BaseTest) Test(org.testng.annotations.Test)

Example 17 with PropertiesBean

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());
}
Also used : PropertiesBean(com.tvd12.properties.file.struct.PropertiesBean) BaseTest(com.tvd12.test.base.BaseTest) Test(org.testng.annotations.Test)

Aggregations

PropertiesBean (com.tvd12.properties.file.struct.PropertiesBean)17 Test (org.testng.annotations.Test)15 BaseTest (com.tvd12.test.base.BaseTest)10 Properties (java.util.Properties)3 PropertyAnnotations (com.tvd12.properties.file.annotation.PropertyAnnotations)2