org.hibernate.beanvalidation.tck.tests.validation
Class ValidateValueTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.hibernate.beanvalidation.tck.tests.validation.ValidateValueTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class ValidateValueTest- extends org.jboss.arquillian.testng.Arquillian
Tests for the implementation of Validator.
- Author:
- Hardy Ferentschik
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateValueTest
public ValidateValueTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testValidateValueSuccess
@SpecAssertion(section="5.1.1",
id="h")
public void testValidateValueSuccess()
testValidateValueFailure
@SpecAssertion(section="5.1.1",
id="h")
public void testValidateValueFailure()
testValidateValue
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="h"),@SpecAssertion(section="5.2",id="d"),@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 testValidateValue()
testValidateValueWithInvalidPropertyPath
@SpecAssertion(section="5.1.1",
id="i")
public void testValidateValueWithInvalidPropertyPath()
testExistingPropertyWoConstraintsNorCascaded
@SpecAssertion(section="5.1.1",
id="i")
public void testExistingPropertyWoConstraintsNorCascaded()
testValidateValuePassingNullAsGroup
@SpecAssertion(section="5.1.1",
id="i")
public void testValidateValuePassingNullAsGroup()
testValidateValueWithEmptyPropertyPath
@SpecAssertion(section="5.1.1",
id="i")
public void testValidateValueWithEmptyPropertyPath()
testValidateValueWithNullObject
@SpecAssertion(section="5.1.1",
id="i")
public void testValidateValueWithNullObject()
testValidateValueWithNullPropertyName
@SpecAssertion(section="5.1.1",
id="i")
public void testValidateValueWithNullPropertyName()
testValidIsNotHonoredValidateValue
@SpecAssertion(section="5.1.1",
id="j")
public void testValidIsNotHonoredValidateValue()
Copyright © 2008-2013. All Rights Reserved.