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 180789 - Find Usages: Constructors and class name are missed
Summary: Find Usages: Constructors and class name are missed
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-16 07:32 UTC by soldatov
Modified: 2010-02-16 07:53 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 soldatov 2010-02-16 07:32:41 UTC
Some automatic tests from "Find Usages" suite fails

Scenario:
- Create Quote project
- Open cpu.h
- Call context menu on "Module" in "class Cpu : public Module" line
- Select "Find Usages" menu item
- Press Find button
==> 36 lines are found, but 43 are expected

For example diff in module.h:
 36 - module.h:39:7
 37 - module.h:41:5
 38 - module.h:42:5
 39   module.h:45:18
 40 - module.h:45:5
 41   module.h:46:30
 42   module.h:46:5
 43   module.h:79:45
Comment 1 Vladimir Voskresensky 2010-02-16 07:53:51 UTC
This is expected behavior. I have tried to remove from "Usages" declarations of class itself, it's constructor and so on (like in java)