[
https://issues.jboss.org/browse/JBIDE-18460?page=com.atlassian.jira.plugi...
]
Aslak Knutsen commented on JBIDE-18460:
---------------------------------------
When complaining about missing type, detect if there is a super class with a @Deployment
method...
A test class/ hierarchy can have multiple Deployment methods (with different names), so
the scenario is not wrong. Tooling should detect super classes and suggest which scope do
you want to create the Deployment..
'Add type to deployment' quickfix doesn't work with
abstract classes
--------------------------------------------------------------------
Key: JBIDE-18460
URL:
https://issues.jboss.org/browse/JBIDE-18460
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: arquillian, upstream
Affects Versions: 4.2.0.CR1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 4.3.x
Steps to reproduce:
- create an abstract Arquillian JUnit test with a deployment method
- create an Arquillian JUnit test extending the previous created abstract class
- add a type not included in the deployment method to the test created in the step 2
The "Type is not included in any deployment" marker will be created properly
- call the "Add type to deployment" quickfix
You will get the "Cannot find a deployment method" dialog.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)