Package org.nuiton.validator.bean.list
Class BeanListValidatorTest
- java.lang.Object
-
- org.nuiton.validator.bean.list.BeanListValidatorTest
-
public class BeanListValidatorTest extends Object
To test theBeanListValidator
.- Since:
- 2.5.2
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected SimpleBean
bean
protected SimpleBean
bean2
protected BeanListValidator<SimpleBean>
validator
-
Constructor Summary
Constructors Constructor Description BeanListValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllBean()
void
addBean()
void
convert()
protected void
prepareValidator(String context)
void
removeAllBeans()
void
removeAllBeans2()
void
removeBean()
void
setUp()
void
tearDown()
void
testValidateWithBad()
void
validate()
-
-
-
Field Detail
-
validator
protected BeanListValidator<SimpleBean> validator
-
bean
protected SimpleBean bean
-
bean2
protected SimpleBean bean2
-
-
Method Detail
-
setUp
public void setUp()
-
prepareValidator
protected void prepareValidator(String context)
-
tearDown
public void tearDown()
-
testValidateWithBad
public void testValidateWithBad()
-
addBean
public void addBean()
-
addAllBean
public void addAllBean()
-
removeBean
public void removeBean()
-
removeAllBeans
public void removeAllBeans()
-
removeAllBeans2
public void removeAllBeans2()
-
validate
public void validate()
-
convert
public void convert()
-
-