Class CollectionFieldExpressionValidatorTest
- java.lang.Object
-
- org.junit.Assert
-
- org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest<ValidatorBean>
-
- org.nuiton.validator.xwork2.field.AbstractValidatorBeanFieldValidatorTest
-
- org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidatorTest
-
public class CollectionFieldExpressionValidatorTest extends AbstractValidatorBeanFieldValidatorTest
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected static ValidatorBean.ValidatorBeanEntry
beanEntry0
protected static ValidatorBean.ValidatorBeanEntry
beanEntry0Bis
protected static ValidatorBean.ValidatorBeanEntry
beanEntry1
protected static ValidatorBean.ValidatorBeanEntry
beanEntry3
protected static ValidatorBean.ValidatorBeanEntry
beanEntry5
protected static String
PROPERTY
-
Fields inherited from class org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest
basedir, bean, cacheValidator, type, validator
-
-
Constructor Summary
Constructors Constructor Description CollectionFieldExpressionValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testValidator()
the method to test the given validator on the given bean.void
testValidatorWithContext()
void
testValidatorWithContextAndFirst()
void
testValidatorWithContextAndFirstAndLast()
void
testValidatorWithContextAndLast()
-
Methods inherited from class org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest
afterclass, assertFieldInError, initValidator, setUp, tearDown
-
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertThrows, assertThrows, assertTrue, assertTrue, fail, fail
-
-
-
-
Field Detail
-
PROPERTY
protected static final String PROPERTY
- See Also:
- Constant Field Values
-
beanEntry0
protected static ValidatorBean.ValidatorBeanEntry beanEntry0
-
beanEntry0Bis
protected static ValidatorBean.ValidatorBeanEntry beanEntry0Bis
-
beanEntry1
protected static ValidatorBean.ValidatorBeanEntry beanEntry1
-
beanEntry3
protected static ValidatorBean.ValidatorBeanEntry beanEntry3
-
beanEntry5
protected static ValidatorBean.ValidatorBeanEntry beanEntry5
-
-
Method Detail
-
testValidator
public void testValidator() throws Exception
Description copied from class:AbstractFieldValidatorTest
the method to test the given validator on the given bean. When coming here a validator and bean were instanciated and the bean was setted into validator via setBean method.- Specified by:
testValidator
in classAbstractFieldValidatorTest<ValidatorBean>
- Throws:
Exception
- if any error ?
-
testValidatorWithContextAndFirst
public void testValidatorWithContextAndFirst() throws Exception
- Throws:
Exception
-
testValidatorWithContextAndLast
public void testValidatorWithContextAndLast() throws Exception
- Throws:
Exception
-
-