Package org.apache.bval.jsr
Class CustomValidatorFactoryTest
- java.lang.Object
-
- org.apache.bval.jsr.CustomValidatorFactoryTest
-
public class CustomValidatorFactoryTest extends Object
Test the ability to force a particularValidatorFactory
implementation class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomValidatorFactoryTest.CustomValidatorFactory
static class
CustomValidatorFactoryTest.IncompatibleValidatorFactory
static class
CustomValidatorFactoryTest.NotAValidatorFactory
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
thrown
-
Constructor Summary
Constructors Constructor Description CustomValidatorFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCustomValidatorFactory()
void
testDefaultValidatorFactory()
void
testInvalidType()
void
testNoSuchType()
void
testUnsupportedValidatorFactoryType()
-
-
-
Method Detail
-
testDefaultValidatorFactory
public void testDefaultValidatorFactory()
-
testNoSuchType
public void testNoSuchType()
-
testCustomValidatorFactory
public void testCustomValidatorFactory()
-
testInvalidType
public void testInvalidType()
-
testUnsupportedValidatorFactoryType
public void testUnsupportedValidatorFactoryType()
-
-