[jbosstools-issues] [JBoss JIRA] (JBIDE-16695) Add marker/quick fix if test contains non static deployment method

Snjezana Peco (JIRA) issues at jboss.org
Wed May 21 18:10:56 EDT 2014


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

Snjezana Peco updated JBIDE-16695:
----------------------------------

    Fix Version/s: 4.2.0.Beta3
                       (was: 4.2.0.Beta2)


> Add marker/quick fix if test contains non static deployment method
> ------------------------------------------------------------------
>
>                 Key: JBIDE-16695
>                 URL: https://issues.jboss.org/browse/JBIDE-16695
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.1.1.Final
>            Reporter: Rich DiCroce
>            Assignee: Snjezana Peco
>             Fix For: 4.2.0.Beta3
>
>
> In an Arquillian test class, any method marked @Deployment that returns something other than Archive is not being detected. For example, this method is not detected by the tooling, despite the fact that WebArchive extends Archive:
> {code}
> @Deployment
> public static WebArchive createDeployment() {
> ...code to create deployment here...
> }
> {code}
> As a result, the deployment validation features do not work, and the Arquillian Cruiser view does not allow the archive to be browsed. Curiously, however, there is no warning about a missing @Deployment method.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list