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 106982 - Junit 4.x problem for NetBeans modules.
Summary: Junit 4.x problem for NetBeans modules.
Status: CLOSED DUPLICATE of bug 108686
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 13:40 UTC by Peter Pis
Modified: 2007-07-31 12:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-06-18 13:40:36 UTC
Product Version: NetBeans IDE Dev (Build 200706180000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\ide\60daily\user

Steps:
1. Create new NetBeans Plug-in Module.
2. Create new java class in it. Add some method for the class.
3. Select this class and invoke "Tools | Create JUnit Tests" action from popup menu. Choose "4.x" junit. Proceed ahead.

Test class is generated and opened but it's not compilable. Seems that annotations are incorrect.
...
@org.junit.BeforeClass    (package junit.org doesn't exist)
...
Comment 1 Marian Petras 2007-07-18 17:01:58 UTC
Accepted.
Comment 2 Marian Petras 2007-07-26 19:16:53 UTC
This is a duplicate of issue #108686 - "JUnit 3 & 4 not found in module project tests (in editor, and during build)".

*** This issue has been marked as a duplicate of 108686 ***
Comment 3 Peter Pis 2007-07-31 12:52:29 UTC
Verified as a Dup.