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

Bob Nettleton (JIRA) jira-events at lists.jboss.org
Thu Jun 9 22:00:59 EDT 2011


    [ https://issues.jboss.org/browse/CDITCK-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607689#comment-12607689 ] 

Bob Nettleton commented on CDITCK-213:
--------------------------------------

Thanks for excluding these tests.  

I just tried updating to the latest exclude list at:

http://source.jboss.org/browse/Weld/cdi-tck/branches/1.0/impl/src/main/resources/tck-tests-released.xml?r=7244

and ran into two small problems. 

1. There appears to be some kind of typo on line 126, with a "." after the test case name.  This appears to cause a ClassNotFound error when I try to launch the suite with this list.  

2. If I fix the typo manually, the suite runs fine, but it looks like one of the tests listed above is not actually excluded yet.   I think this also may be a typo, since the "methods" tag on line 128 does not include a method name.  So, this method is not excluded yet when the suite is run.  


> 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
>             Fix For: 1.0.5.CR1
>
>
> 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