[weld-issues] [JBoss JIRA] Closed: (CDITCK-199) ProcessObserverMethod Type parameters and CDITCK-174

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Dec 15 07:29:18 EST 2010


     [ https://issues.jboss.org/browse/CDITCK-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed CDITCK-199.
----------------------------

         Assignee: Pete Muir
    Fix Version/s: 1.0.3.Final
       Resolution: Done


Resolved with https://fisheye.jboss.org/changelog/weld/?cs=7145 - Gurkan would appreciate your review of the fix!

> ProcessObserverMethod Type parameters and CDITCK-174
> ----------------------------------------------------
>
>                 Key: CDITCK-199
>                 URL: https://issues.jboss.org/browse/CDITCK-199
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>            Reporter: Gurkan Erdogdu
>            Assignee: Pete Muir
>             Fix For: 1.0.3.Final
>
>
> Hi;
> Recently TCK 1.0.2 SP1 contains some tests that must be excluded. Those tests are located in org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest
>   testGetAnnotatedMethod(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest)
>   testProcessObserverMethodEventsSent(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest)
>   testGetObserverMethod(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest) 
> Those tests uses uses wrong type arguments according to the JavaDoc (public interface ProcessObserverMethod<T,X>).  For example, http://fisheye.jboss.org/browse/weld/cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/definitionError/ProcessObserverMethodObserver.java?hb=true
> contains 
>         public void observeObserverMethodForEventB(@Observes ProcessObserverMethod<?, EventB> event) {}
> It must be 
>         public void observeObserverMethodForEventB(@Observes ProcessObserverMethod<EventB, ?> event) {}
> Because JavaDoc is higher importancy than spec, those test must be excluded or changed.
> Also this issue was disccussed on mailing list,  http://markmail.org/message/g6c4zsuuzckeai26
> Please exclude those tests from TCK 1.0.2 SP1. Otherwise OWB failes to pass TCK.
> Thanks;

-- 
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