org.hibernate.beanvalidation.tck.tests.integration.cdi.executable.priority
Class ValidationInterceptorPriorityTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.integration.cdi.executable.priority.ValidationInterceptorPriorityTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Test for the priority of the validation interceptor (which should be 4800). Two other interceptors with priorities 4799 and 4801 are registered as well and expected to be invoked before and after the validation interceptor, respectively.

Author:
Gunnar Morling

Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ValidationInterceptorPriorityTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testValidationInterceptorHasPriority4800()
           
 
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

ValidationInterceptorPriorityTest

public ValidationInterceptorPriorityTest()
Method Detail

createTestArchive

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

testValidationInterceptorHasPriority4800

@SpecAssertion(section="10.3.3",
               id="a")
public void testValidationInterceptorHasPriority4800()


Copyright © 2008-2013. All Rights Reserved.