Package ejava.jpa.example.validation
Class XMLTest
- java.lang.Object
-
- ejava.jpa.example.validation.XMLTest
-
public class XMLTest extends Object
This test case demonstrates the use of deployment descriptors to define validation for beans.
-
-
Constructor Summary
Constructors Constructor Description XMLTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestValidationDescriptorBad()This test verifies the XML-based definitions will be used to detect a validation error with the bean.voidtestValidationDescriptorGood()This test verifies the XML-based definitions will successfully validate and pass a valid bean.
-
-
-
Method Detail
-
testValidationDescriptorBad
public void testValidationDescriptorBad()
This test verifies the XML-based definitions will be used to detect a validation error with the bean.
-
testValidationDescriptorGood
public void testValidationDescriptorGood()
This test verifies the XML-based definitions will successfully validate and pass a valid bean.
-
-