@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class ValidatePropertyTest
extends org.jboss.arquillian.testng.Arquillian
Validator.| Constructor and Description |
|---|
ValidatePropertyTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
setupValidator() |
void |
testIllegalArgumentExceptionIsThrownForNullValue() |
void |
testPassingNullAsGroup() |
void |
testUnexpectedExceptionsInValidatePropertyGetWrappedInValidationExceptions() |
void |
testValidateProperty() |
void |
testValidatePropertyWithEmptyProperty() |
void |
testValidatePropertyWithInvalidPropertyPath() |
void |
testValidatePropertyWithNullProperty() |
void |
testValidIsNotHonoredValidateProperty() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
public void setupValidator()
@SpecAssertion(section="5.1.1",
id="e")
public void testPassingNullAsGroup()
@SpecAssertion(section="5.1.1",
id="e")
public void testIllegalArgumentExceptionIsThrownForNullValue()
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="e"),@SpecAssertion(section="5.1.1",id="f")})
public void testValidatePropertyWithInvalidPropertyPath()
@SpecAssertion(section="5.1.1",
id="e")
public void testValidatePropertyWithNullProperty()
@SpecAssertion(section="5.1.1",
id="e")
public void testValidatePropertyWithEmptyProperty()
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="c"),@SpecAssertion(section="5.1.1",id="d"),@SpecAssertion(section="5.1.1",id="f"),@SpecAssertion(section="5.2",id="e"),@SpecAssertion(section="5.2",id="f"),@SpecAssertion(section="5.2",id="g"),@SpecAssertion(section="5.2",id="h"),@SpecAssertion(section="5.2",id="i")})
public void testValidateProperty()
@SpecAssertion(section="5.1.1",
id="g")
public void testValidIsNotHonoredValidateProperty()
@SpecAssertion(section="5.1.1",
id="k")
public void testUnexpectedExceptionsInValidatePropertyGetWrappedInValidationExceptions()
Copyright © 2008–2014. All rights reserved.