Summary: | [plan] [itd] @Test annotation on ITD breaks the JUnit launcher | ||
---|---|---|---|
Product: | [Tools] AJDT | Reporter: | Andrew Eisenberg <andrew.eisenberg> |
Component: | Core | Assignee: | Andrew Eisenberg <andrew.eisenberg> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0.2 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Whiteboard: |
Description
Andrew Eisenberg
2010-06-18 19:08:18 EDT
I have a solution implemented in the 3.6 branch that fixes this problem using the approach described above. A few caveates, though: 1. Both the Aspect and the target type must be in the scope being searched for tests. If the aspect is, but the target class is not, then the test finder will just remove any results from the target class since it is not in the search scope. If the target class is in the region, but the aspect is not, then the ITD will not be found and so will not be added as a test. 2. If the target class already has some tests in it, then the aspect does not need to be in the search scope. Fix committed with regression tests on the 3.6 branch. fixed. |