Bug 552692

Summary: [call hierarchy] Filter Test Code needs view refresh
Product: [Eclipse Project] JDT Reporter: Noopur Gupta <noopur_gupta>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.14   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552268
Whiteboard:

Description Noopur Gupta CLA 2019-11-05 06:33:21 EST
I20191030-1800

- With JDT Core and UI code in workspace, open call hierarchy for org.eclipse.jdt.core.IPackageFragmentRoot.createPackageFragment(String name, boolean force, IProgressMonitor monitor).

- In Call Hierarchy view, go to view menu and check "Filter Test Code".

=> No change in the results. The results from test folders are still shown.
Comment 1 Noopur Gupta CLA 2019-11-05 06:33:50 EST
Till, can you please check?
Comment 2 Till Brychcy CLA 2019-11-05 06:36:49 EST
Before I try, have you clicked "Refresh View"? IIRC call hierarchy doesn't immediately apply filter changes
Comment 3 Noopur Gupta CLA 2019-11-05 06:41:14 EST
"Refresh View" worked.

I think we should add a message in the Filter dialog to click "Refresh View" to apply the changes.