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

Lucia Jelinkova (JIRA) issues at jboss.org
Tue Feb 17 07:58:49 EST 2015


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

Lucia Jelinkova closed JBIDE-18825.
-----------------------------------


Verified JBT 4.3.alpha1

> CLONED: Add marker/quick fix if test contains non static deployment method
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-18825
>                 URL: https://issues.jboss.org/browse/JBIDE-18825
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.1.1.Final
>            Reporter: Lucia Jelinkova
>            Assignee: Snjezana Peco
>             Fix For: 4.3.0.Alpha1
>
>
> 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.3.11#6341)


More information about the jbosstools-issues mailing list