org.hibernate.beanvalidation.tck.tests.messageinterpolation
Class ExpressionLanguageMessageInterpolationTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.messageinterpolation.ExpressionLanguageMessageInterpolationTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class ExpressionLanguageMessageInterpolationTest
extends org.jboss.arquillian.testng.Arquillian

Author:
Gunnar Morling

Nested Class Summary
static interface ExpressionLanguageMessageInterpolationTest.ValidContinent
           
 
Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ExpressionLanguageMessageInterpolationTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void resetDefaultLocale()
           
 void setDefaultLocaleToEnglish()
           
 void setupValidator()
           
 void testInterpolationUsingAnnotationAttributesInElExpression()
           
 void testInterpolationUsingFormatterInElExpression()
           
 void testInterpolationUsingFormatterWithSeveralObjectsInElExpression()
           
 void testInterpolationUsingGroupsAndPayloadInElExpression()
           
 void testInterpolationUsingValidatedValueInElExpression()
           
 void testInterpolationWithElExpression()
           
 void testInterpolationWithElExpressionThrowingAnException()
           
 void testInterpolationWithFormatterUsesDefaultLocaleInElExpression()
           
 void testInterpolationWithIncompleteElExpression()
           
 void testInterpolationWithInvalidElExpression()
           
 void testInterpolationWithSeveralElExpressions()
           
 void testInterpolationWithUnknownElExpression()
           
 void testOnlyDollarSignIsSupportedForEnclosingElExpressions()
           
 
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
 

Constructor Detail

ExpressionLanguageMessageInterpolationTest

public ExpressionLanguageMessageInterpolationTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

setupValidator

public void setupValidator()

setDefaultLocaleToEnglish

public void setDefaultLocaleToEnglish()

resetDefaultLocale

public void resetDefaultLocale()

testInterpolationWithElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1",id="e"),@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="b")})
public void testInterpolationWithElExpression()

testInterpolationWithSeveralElExpressions

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="b")})
public void testInterpolationWithSeveralElExpressions()

testInterpolationWithUnknownElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="f")})
public void testInterpolationWithUnknownElExpression()

testInterpolationWithInvalidElExpression

@SpecAssertion(section="5.3.1.3",
               id="f")
public void testInterpolationWithInvalidElExpression()

testInterpolationWithElExpressionThrowingAnException

@SpecAssertion(section="5.3.1.3",
               id="f")
public void testInterpolationWithElExpressionThrowingAnException()

testInterpolationWithIncompleteElExpression

@SpecAssertion(section="5.3.1.3",
               id="a")
public void testInterpolationWithIncompleteElExpression()

testOnlyDollarSignIsSupportedForEnclosingElExpressions

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="b")})
public void testOnlyDollarSignIsSupportedForEnclosingElExpressions()

testInterpolationUsingAnnotationAttributesInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="c")})
public void testInterpolationUsingAnnotationAttributesInElExpression()

testInterpolationUsingGroupsAndPayloadInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="c")})
public void testInterpolationUsingGroupsAndPayloadInElExpression()

testInterpolationUsingValidatedValueInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="d")})
public void testInterpolationUsingValidatedValueInElExpression()

testInterpolationUsingFormatterInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="e")})
public void testInterpolationUsingFormatterInElExpression()

testInterpolationUsingFormatterWithSeveralObjectsInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="e")})
public void testInterpolationUsingFormatterWithSeveralObjectsInElExpression()

testInterpolationWithFormatterUsesDefaultLocaleInElExpression

@SpecAssertions(value={@SpecAssertion(section="5.3.1.3",id="a"),@SpecAssertion(section="5.3.1.3",id="e")})
public void testInterpolationWithFormatterUsesDefaultLocaleInElExpression()


Copyright © 2008-2013. All Rights Reserved.