[jbosstools-issues] [JBoss JIRA] (JBIDE-14527) Add source option to 'generate deployment method' on abstract classes

Lucia Jelinkova (JIRA) issues at jboss.org
Thu Aug 21 04:17:30 EDT 2014


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

Lucia Jelinkova closed JBIDE-14527.
-----------------------------------



Verified JBT 4.2.0.beta3

> Add source option to 'generate deployment method' on abstract classes
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-14527
>                 URL: https://issues.jboss.org/browse/JBIDE-14527
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: testing-tools
>            Reporter: Aslak Knutsen
>            Assignee: Snjezana Peco
>              Labels: new_and_noteworthy
>             Fix For: 4.1.1.Alpha1, 4.2.0.Alpha1
>
>
> {code}
> @RunWith(Arquillian.class)
> public abstract class AbstractTest
> {
>    @Test
>    public void testa() {}
> }
> {code}
> This should show no warning on 'missing deployment method' since it's a common pattern to have @Test's in a superclass with multiple sub classes that define deployments, but it's also a common pattern to have the deployment defined in a super class and multiple sub classes with different testing scenarios. 
> Given a abstract class
> When there is no deployment method
> Then give the 'source' option to 'generate deployment method'



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list