| Summary: | Ant export filter: Export also JUnit tests | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Richard . <haihappen> | ||||||
| Component: | Ant | Assignee: | Kevin Barnes <cocoakevin> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | Darin_Swanson | ||||||
| Version: | 3.1 | ||||||||
| Target Milestone: | 3.1 RC1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Richard .
The commented out source is already marked with TODO in: BuildFileCreator.java Also comment in again: ExportUtil.findTestsInContainer(). The problem with the JUnit test support is the reference / use of internal classes from another component. Created attachment 21186 [details]
Fixed source.
I copied relevant methods from TestSearchEngine to ExportUtil. This avoids the
dependency, but what about the code duplicate?
Created attachment 21187 [details]
Fixed source.
Code duplication is not great...we will need to work with the JUnit support post 3.1 for them to publish (make API) the parts we are interested in. Thanks for the patches Richard. Small changes to remove using of Jdt Core internal Region class. Fixed in BuildFileCreator and ExportUtil. Please verify Kevin. verified |