Package org.apache.bval.jsr.groups
Class GroupValidationTest
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.groups.GroupValidationTest
-
public class GroupValidationTest extends ValidationTestBase
Description: test features from spec chapter 3.4 group and group sequence
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description GroupValidationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testValidateDefaultCreditCardInBillableAndByInOneClickGroup()
void
testValidateDefaultCreditCardInBillableGroup()
test spec: @NotNull is checked on defaultCreditCard when either the Billable or BuyInOneClick group is validated.void
testValidateFirstNameLastNameWithDefaultGroup()
test spec: @NotNull on firstname and on lastname are validated when the Default group is validated.-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-
-
-
Method Detail
-
testValidateFirstNameLastNameWithDefaultGroup
public void testValidateFirstNameLastNameWithDefaultGroup()
test spec: @NotNull on firstname and on lastname are validated when the Default group is validated.
-
testValidateDefaultCreditCardInBillableGroup
public void testValidateDefaultCreditCardInBillableGroup()
test spec: @NotNull is checked on defaultCreditCard when either the Billable or BuyInOneClick group is validated.
-
testValidateDefaultCreditCardInBillableAndByInOneClickGroup
public void testValidateDefaultCreditCardInBillableAndByInOneClickGroup()
-
-