org.hibernate.jsr303.tck.tests.messageinterpolation
Class MessageInterpolationTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.hibernate.jsr303.tck.tests.messageinterpolation.MessageInterpolationTest
- All Implemented Interfaces:
- org.testng.IHookable
@Artifact(artifactType=JSR303)
@Classes(value={TestUtil.class,TestUtil.PathImpl.class,TestUtil.NodeImpl.class})
public class MessageInterpolationTest
- extends org.jboss.testharness.AbstractTest
- Author:
- Hardy Ferentschik
Methods inherited from class org.jboss.testharness.AbstractTest |
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, getCurrentConfiguration, handleDeploymentFailure, isInContainer, isThrowablePresent, postCreate, run, setInContainer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageInterpolationTest
public MessageInterpolationTest()
testDefaultMessageInterpolatorIsNotNull
@SpecAssertion(section="4.3.1",
id="a")
public void testDefaultMessageInterpolatorIsNotNull()
testSuccessfulInterpolationOfValidationMessagesValue
@SpecAssertions(value={@SpecAssertion(section="4.3.1",id="e"),@SpecAssertion(section="4.3.1.1",id="a")})
public void testSuccessfulInterpolationOfValidationMessagesValue()
testRecursiveMessageInterpolation
@SpecAssertion(section="4.3.1.1",
id="b")
public void testRecursiveMessageInterpolation()
testMessagesCanBeOverriddenAtConstraintLevel
@SpecAssertion(section="4.3.1",
id="d")
public void testMessagesCanBeOverriddenAtConstraintLevel()
testLiteralCurlyBraces
@SpecAssertions(value={@SpecAssertion(section="4.3.1",id="f"),@SpecAssertion(section="4.3.1",id="g"),@SpecAssertion(section="4.3.1",id="h")})
public void testLiteralCurlyBraces()
testUnSuccessfulInterpolation
@SpecAssertion(section="4.3.1.1",
id="a")
public void testUnSuccessfulInterpolation()
testUnknownTokenInterpolation
@SpecAssertion(section="4.3.1.1",
id="a")
public void testUnknownTokenInterpolation()
testParametersAreExtractedFromBeanValidationProviderBundle
@SpecAssertion(section="4.3.1.1",
id="c")
public void testParametersAreExtractedFromBeanValidationProviderBundle()
testConstraintAttributeValuesAreInterpolated
@SpecAssertion(section="4.3.1.1",
id="g")
public void testConstraintAttributeValuesAreInterpolated()
testMessageInterpolationWithLocale
@SpecAssertion(section="4.3.1.1",
id="h")
public void testMessageInterpolationWithLocale()
testIfNoLocaleIsSpecifiedTheDefaultLocaleIsAssumed
@SpecAssertion(section="4.3.1.1",
id="i")
public void testIfNoLocaleIsSpecifiedTheDefaultLocaleIsAssumed()
Copyright © 2008-2011. All Rights Reserved.