[jbosstools-issues] [JBoss JIRA] (JBIDE-14528) Add 'quick fix' to 'warning type not in deployment'

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Fri Oct 18 16:19:01 EDT 2013


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

Aslak Knutsen commented on JBIDE-14528:
---------------------------------------

You show in the video that you have; 

{code}
@Inject Manager manager;
{code}

Then do a Quick Fix -> Generate Deployment Method. 

Would it be possible to scan the TestClass in this case for 'already' depending classes and add them to the 'Classes' list in the Deployment Generator view? And since you 'eventually' know that Manager is not enough, but you also need Resource and SuperManager, could you add those by default as well?

I can create new issues if you want..
                
> Add 'quick fix' to 'warning type not in deployment'
> ---------------------------------------------------
>
>                 Key: JBIDE-14528
>                 URL: https://issues.jboss.org/browse/JBIDE-14528
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: testing-tools
>            Reporter: Aslak Knutsen
>            Assignee: Snjezana Peco
>             Fix For: 4.2.0.Alpha1
>
>         Attachments: dependentClasses.zip
>
>
> Given a test case with a deployment method
> When there is a missing Type reference from the TestClass that is not found in the deployment
> Then the Warning should provide a 'quick fix' option to add the missing type

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list