Class FieldExpressionWithParamsValidatorTest
- java.lang.Object
-
- org.junit.Assert
-
- org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest<FieldExpressionBean>
-
- org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidatorTest
-
public class FieldExpressionWithParamsValidatorTest extends AbstractFieldValidatorTest<FieldExpressionBean>
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
MESSAGE
static String
MESSAGE2
-
Fields inherited from class org.nuiton.validator.xwork2.field.AbstractFieldValidatorTest
basedir, bean, cacheValidator, type, validator
-
-
Constructor Summary
Constructors Constructor Description FieldExpressionWithParamsValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
testBooleanType()
protected void
testDoubleType()
protected void
testIntType()
protected void
testLongType()
protected void
testShortType()
protected void
testStringType()
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
-
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
-
MESSAGE2
public static final String MESSAGE2
- See Also:
- Constant Field Values
-
-
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<FieldExpressionBean>
- Throws:
Exception
- if any error ?
-
testBooleanType
protected void testBooleanType()
-
testShortType
protected void testShortType()
-
testIntType
protected void testIntType()
-
testLongType
protected void testLongType()
-
testDoubleType
protected void testDoubleType()
-
testStringType
protected void testStringType()
-
-