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 232843 - Code completion of "org.junit.Test(expected=" doesn't provide valid CC items
Summary: Code completion of "org.junit.Test(expected=" doesn't provide valid CC items
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 22:08 UTC by markiewb
Modified: 2013-07-23 21:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (72.53 KB, image/png)
2013-07-16 22:08 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-07-16 22:08:38 UTC
Created attachment 137264 [details]
Shows the issue

ACTUAL: When completing "org.junit.Test(expected=" then the default value ("None") is shown in the completion item. Also the completion doesn't restrict the completion items to Throwable (see Byte, Boolean, true in the screenshot, which is strange)

See the screenshot.

EXPECTED: 
* no default value
* only Throwables as completion items
Comment 1 Dusan Balek 2013-07-19 12:32:19 UTC
Fixed in jet-main. FYI: showing default values of annotation attributes is as designed with a minor modification - simple names are used now for types.

http://hg.netbeans.org/jet-main/rev/a488aaa0962e
Comment 2 Quality Engineering 2013-07-21 02:17:12 UTC
Integrated into 'main-silver', will be available in build *201307202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a488aaa0962e
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #232843: Code completion of "org.junit.Test(expected=" doesn't provide valid CC items - fixed.
Comment 3 markiewb 2013-07-23 21:04:14 UTC
Verified in 201307212300