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 SimpleBeanbeanprotected SimpleBeanbean2protected BeanListValidator<SimpleBean>validator
-
Constructor Summary
Constructors Constructor Description BeanListValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllBean()voidaddBean()voidconvert()protected voidprepareValidator(String context)voidremoveAllBeans()voidremoveAllBeans2()voidremoveBean()voidsetUp()voidtearDown()voidtestValidateWithBad()voidvalidate()
-
-
-
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()
-
-