Package org.apache.bval.jsr.groups
Class GroupSequenceTest
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.groups.GroupSequenceTest
-
public class GroupSequenceTest extends ValidationTestBase
Description: test of group sequence behavior
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupSequenceTest.Dummy
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description GroupSequenceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testGroups()
void
testGroupSequence()
void
testGroupSequence1()
void
testGroupSequence2()
void
testGroupSequence3()
void
testGroupSequence4()
void
testValidationStopsWhenFailuresOnGroup()
Check that when there is one constraint failure in one of the groups in a sequence, validation stops.-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-
-
-
Method Detail
-
testGroupSequence1
public void testGroupSequence1()
-
testGroupSequence2
public void testGroupSequence2()
-
testGroupSequence3
public void testGroupSequence3()
-
testGroupSequence4
public void testGroupSequence4()
-
testGroups
public void testGroups()
-
testGroupSequence
public void testGroupSequence()
-
testValidationStopsWhenFailuresOnGroup
public void testValidationStopsWhenFailuresOnGroup()
Check that when there is one constraint failure in one of the groups in a sequence, validation stops. JSR-303: 3.4.3
-
-