| Summary: | [JUnit] PDE JUnit is using internal RemoteTestRunner | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Wassim Melhem <wassim.melhem> | ||||
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | benno.baumgartner, martinae, ryanman | ||||
| Version: | 3.2 | Flags: | markus.kell.r:
review+
|
||||
| Target Milestone: | 3.4 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Wassim Melhem
Erich, is this one going to happen in 3.0? no the benefit is small and this would just cause another ripple and we want to stop the ripples now. Moving back to the JDT/UI inbox Parts of this has already been done in HEAD, but we need to clean up JUnitBaseLaunchConfiguration (and it's PDE-subclass) first to continue: - decide what attributes should really be visible/changeable for subclasses - maybe use a separate class to gather all the info that's currently in createVMRunner's arguments - rename to *Delegate; the current name is very confusing All internal dependencies except for RemoteTestRunner have been removed. Moving to 3.4 to see if or when we want to resolve this. Let's hope it's a question of when/how, not if. The number of discouraged accesses in the SDK has to go down (ultimately to 0) at some point. I agree. We just have to make sure that the new API does not expose the internal protocol between the host and the target VM not for 3.4. Since we want to be API-clean, we have no choice but to remove JUnit plug-in testing from the SDK and have it as an optional download on the PDE page. How do you like that? Created attachment 98455 [details]
patch
This patch will solve the horrible dilemma we're in.
Martin, ideally friends should not be crossing feature boundaries. I don't think PDE should get a special treatment from PDE. I would prefer to keep the bug open. It is actually kind of fun to bug you every few months :) Markus, can you review the patch in comment 10? +1. The patch solves the horrible dilemma. However, this does not solve all friendship problems between jdt.junit and pde.ui: Bug 216946 has recently added an 'unfriendly' access in org.eclipse.pde.ui.launcher.JUnitLaunchConfigurationDelegate . Released patch to HEAD. The other problem from comment 13 could eventually be handled in another bug. verifying... verified that we have a new friend in I20080516-1333 |