[jbosstools-issues] [JBoss JIRA] (JBIDE-10086) Add to Assignable Beans dialog filter 'Eliminated @DefaultBean'

Viacheslav Kabanovich (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Wed Nov 2 19:13:45 EDT 2011


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

Viacheslav Kabanovich edited comment on JBIDE-10086 at 11/2/11 7:12 PM:
------------------------------------------------------------------------

Tests: 

EXECUTE: Create CDI project without Solder module.
EXECUTE: Create an injection point and provide several beans assignable to it.
ASSERT: Filter 'Eliminated @DefaultBean' is not available in Assignable Beans dialog.

EXECUTE: Create CDI project with Solder 3.1 module.
EXECUTE: Create an injection point and provide several beans assignable to it.
ASSERT: Filter 'Eliminated @DefaultBean' is available in Assignable Beans dialog.
EXECUTE: Create default bean that specifies type of the injection point.
EXECUTE: Make sure that all other assignable beans are not eligible to the injection point (e.g. make them unselected alternatives).
ASSERT: Filter does not eliminate the default bean.
EXECUTE: Make sure that another non-default bean is eligible to the injection point.
ASSERT: Filter eliminates the default bean.

                
      was (Author: scabanovich):
    Tests: EXECUTE: Create CDI project without Solder module. EXECUTE: Create an injection point and provide several beans assignable to it. ASSERT: Filter 'Eliminated @DefaultBean' is not available in Assignable Beans dialog. EXECUTE: Create CDI project with Solder 3.1 module. EXECUTE: Create an injection point and provide several beans assignable to it. ASSERT: Filter 'Eliminated @DefaultBean' is available in Assignable Beans dialog. EXECUTE: Create default bean that specifies type of the injection point. EXECUTE: Make sure that all other assignable beans are not eligible to the injection point (e.g. make them unselected alternatives). ASSERT: Filter does not eliminate the default bean. EXECUTE: Make sure that another non-default bean is eligible to the injection point. ASSERT: Filter eliminates the default bean.
                  
> Add to Assignable Beans dialog filter 'Eliminated @DefaultBean'
> ---------------------------------------------------------------
>
>                 Key: JBIDE-10086
>                 URL: https://issues.jboss.org/browse/JBIDE-10086
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: CDI extensions
>    Affects Versions: 3.3.0.M3
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.Beta1
>
>         Attachments: DefaultBeanFilter_checked.png, DefaultBeanFilter_unchecked.png
>
>
> This filter should appear for cdi projects that have extension 'org.jboss.solder.bean.defaultbean.DefaultBeanExtension'.
> When option is unchecked, filter should remove from the bean list assignable default beans if there exists an eligible non-default bean.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list