Class CollectionUniqueKeyValidatorTest
- java.lang.Object
-
- org.junit.Assert
-
- org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest<ValidatorBean>
-
- org.nuiton.validator.xwork2.field.AbstractValidatorBeanFieldValidatorTest
-
- org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidatorTest
-
public class CollectionUniqueKeyValidatorTest extends AbstractValidatorBeanFieldValidatorTest
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected static ValidatorBean.ValidatorBeanEntry
beanEntry
protected static ValidatorBean.ValidatorBeanEntry
beanEntry2
protected static ValidatorBean.ValidatorBeanEntry
beanEntry3
-
Fields inherited from class org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest
basedir, bean, cacheValidator, type, validator
-
-
Constructor Summary
Constructors Constructor Description CollectionUniqueKeyValidatorTest()
-
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.-
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
-
beanEntry
protected static ValidatorBean.ValidatorBeanEntry beanEntry
-
beanEntry2
protected static ValidatorBean.ValidatorBeanEntry beanEntry2
-
beanEntry3
protected static ValidatorBean.ValidatorBeanEntry beanEntry3
-
-
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 ?
-
-