Bug 105924 - Search All Declaration/Referece: using existing working set name on context menu will retune wrong number of matches
Summary: Search All Declaration/Referece: using existing working set name on context m...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 11:06 EDT by James Tan CLA
Modified: 2020-09-04 15:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Tan CLA 2005-08-03 11:06:48 EDT
1. Import Sort project in a clean empty workspace. Use full indexer
2. Create a working set: SortWorkingSet, contains the project Sort.
3. Open SD_02.h file in editor.
4. From outline view, select method f_SD_02 and select All Reference-> working 
set..., select SortWorkingSet from dialog, and do the search
5. repeat step 4, but choose SortWorkingSet provided on the context menu 
instead of Working set..., 
6. Compare the number of matches from two searches, the 2nd search only 
returns 1.

The sort project I am using can be get from:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-
home/testingDocs/testPlans/R3.0/Sanity_Supplementary.zip?cvsroot=Tools_Project

unzip 4projects4sanity.zip and import Sort as existing project into your 
workspace.