[weld-issues] [JBoss JIRA] Created: (CDITCK-213) Interceptor classes in TCK do not follow the Interceptor spec

Bob Nettleton (JIRA) jira-events at lists.jboss.org
Mon Jun 6 11:02:59 EDT 2011


Interceptor classes in TCK do not follow the Interceptor spec
-------------------------------------------------------------

                 Key: CDITCK-213
                 URL: https://issues.jboss.org/browse/CDITCK-213
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.4.Final
            Reporter: Bob Nettleton


There are some interceptor-related suites in the CDI TCK that are not portable in some situations.  The interceptor classes listed here:

org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.interceptorOrder.MissileInterceptor
org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.nonContextualReference.MissileInterceptor
org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.simpleInterception.MissileInterceptor


These interceptor classes do not have a public, no-args constructor, which is required by the Interceptor 1.1 specification.  This means that the tests may not be portable to all environments, since application servers may choose to treat this as an error condition.  

The following tests are affected by this issue:

org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.interceptorOrder.SessionBeanInterceptorOrderTest.testInterceptorsDeclaredUsingInterceptorsCalledBeforeInterceptorBinding

org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.nonContextualReference.SessionBeanInterceptorOnNonContextualEjbReferenceTest.testNonContextualSessionBeanReferenceIsIntercepted

org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.simpleInterception.SessionBeanInterceptorDefinitionTest.testSessionBeanIsIntercepted


I request that these tests be excluded from the 1.0.4 suite, and that the interceptors be fixed for subsequent versions of the test suite.  



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list