This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90830 - SPI change - JUnit Plugin (Retouche, canCreateTests())
Summary: SPI change - JUnit Plugin (Retouche, canCreateTests())
Status: RESOLVED DUPLICATE of bug 84326
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2006-12-08 16:11 UTC by Marian Petras
Modified: 2008-11-25 20:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2006-12-08 16:11:27 UTC
I suggest a change in the existing JUnit Plugin SPI.

There are two changes requested:
  - re-establishment of the second parameter of JUnitPlugin.Location's
    constructor and the corresponding getter method
    (they were removed when the new Java Source API was integrated)
  - addition of method JUnitPlugin.canCreateTests()
    - this is requested by the Mobility Team so that they could
      disable the Create Tests action for some configurations of Mobility
      projects (see issues #84326 and #83748)

I will attach the architecture description and a modified Javadoc.
Comment 1 Jiri Prox 2007-09-17 20:36:28 UTC
Obsolete milestone, please reevaluate
Comment 2 Marian Petras 2008-11-25 20:52:54 UTC
Method JUnitPlugin.canCreateTests(...) has been added since revision 6.0 beta2 (see issue #84326).

I do not see any motivation for re-establishment of the second parameter of JUnitPlugin.Location - it would not cause
any significant improvement and it might slow things down.

*** This issue has been marked as a duplicate of 84326 ***