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 195174 - Problem with test dependencies while not having JUnit installed
Summary: Problem with test dependencies while not having JUnit installed
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 14:04 UTC by Tomas Danek
Modified: 2011-02-10 16:02 UTC (History)
1 user (show)

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 Tomas Danek 2011-02-08 14:04:32 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102052128)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.6.6 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/7.0beta2
-----------
- fresh install of beta2
- create standalone NBM project
- try to expand Unit test libraries node,it declares missing dependencies
- proceed with "add missing dependencies" (confirm dialog with adding JUnit4 and NBJunit)
- Could not find o.n.libs.junit4 warning appears.
Comment 1 Jesse Glick 2011-02-08 15:21:29 UTC
You need to install JUnit before trying to set up JUnit-based tests. The message could make this clear or offer to do so.
Comment 2 Tomas Danek 2011-02-08 15:25:27 UTC
yes, i am aware how to fix it, anyway this should be remembered when solving junit issue in general.
Comment 3 Jesse Glick 2011-02-08 19:25:05 UTC
core-main #ed24f57aabfa
Comment 4 Tomas Danek 2011-02-09 16:48:52 UTC
verified.
Comment 5 Jesse Glick 2011-02-09 19:54:20 UTC
Backported to release70_beta2: releases #b4152bffb4da, releases #dc4cc349a2fa
Comment 6 Quality Engineering 2011-02-10 11:29:16 UTC
Integrated into 'main-golden', will be available in build *201102100500* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ed24f57aabfa
User: Jesse Glick <jglick@netbeans.org>
Log: #195174: Problem with test dependencies while not having JUnit installed
Comment 7 Jesse Glick 2011-02-10 16:02:26 UTC
There was also the somewhat related earlier fix a6536dfe3b4b, backported to release70_beta2 as releases #d77f544bae38.