org.hibernate.beanvalidation.tck.tests.constraints.invalidconstraintdefinitions
Class InvalidConstraintDefinitionsTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.hibernate.beanvalidation.tck.tests.constraints.invalidconstraintdefinitions.InvalidConstraintDefinitionsTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class InvalidConstraintDefinitionsTest- extends org.jboss.arquillian.testng.Arquillian
- 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 |
InvalidConstraintDefinitionsTest
public InvalidConstraintDefinitionsTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testConstraintDefinitionWithParameterStartingWithValid
@SpecAssertions(value={@SpecAssertion(section="2.1",id="d"),@SpecAssertion(section="2.1.1",id="b"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithParameterStartingWithValid()
testConstraintDefinitionWithoutMessageParameter
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="c"),@SpecAssertion(section="4.3.1",id="b"),@SpecAssertion(section="4.3.1",id="c"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithoutMessageParameter()
testConstraintDefinitionWithoutGroupParameter
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="d"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithoutGroupParameter()
testConstraintDefinitionWithoutPayloadParameter
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="h"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithoutPayloadParameter()
testConstraintDefinitionWithWrongDefaultGroupValue
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="e"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithWrongDefaultGroupValue()
testConstraintDefinitionWithWrongDefaultPayloadValue
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="i"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithWrongDefaultPayloadValue()
testConstraintDefinitionWithWrongPayloadClass
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="j"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithWrongPayloadClass()
testConstraintDefinitionWithWrongMessageType
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="c"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithWrongMessageType()
testConstraintDefinitionWithWrongGroupType
@SpecAssertions(value={@SpecAssertion(section="2.1",id="c"),@SpecAssertion(section="2.1.1",id="g"),@SpecAssertion(section="8.2",id="a")})
public void testConstraintDefinitionWithWrongGroupType()
Copyright © 2008-2012. All Rights Reserved.