Class RedefiningDefaultGroupTest
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.groups.redefining.RedefiningDefaultGroupTest
-
public class RedefiningDefaultGroupTest extends ValidationTestBase
Description: test Redefining the Default group for a class (spec. chapter 3.4.3)
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description RedefiningDefaultGroupTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testRaiseGroupDefinitionException()
void
testValidateDefaultGroup()
when an address object is validated for the group Default, all constraints belonging to the group Default and hosted on Address are evaluatedvoid
testValidateProperty()
void
testValidateValue()
-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-
-
-
Method Detail
-
testValidateDefaultGroup
public void testValidateDefaultGroup()
when an address object is validated for the group Default, all constraints belonging to the group Default and hosted on Address are evaluated
-
testValidateProperty
public void testValidateProperty()
-
testValidateValue
public void testValidateValue()
-
testRaiseGroupDefinitionException
public void testRaiseGroupDefinitionException()
-
-