mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fix CallHierarchy tests that were failing due to test order (Junit4)
This commit is contained in:
parent
3812b9ebbc
commit
2f8589b53d
1 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,13 @@ public class CallHierarchyBaseTest extends BaseUITestCase {
|
|||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
// Set ShowReferencedBy back to its default value
|
||||
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
|
||||
CHViewPart ch= (CHViewPart)page.findView(CUIPlugin.ID_CALL_HIERARCHY);
|
||||
if (ch != null) {
|
||||
ch.onSetShowReferencedBy(true);
|
||||
}
|
||||
|
||||
closeAllEditors();
|
||||
if (fCProject != null) {
|
||||
CProjectHelper.delete(fCProject);
|
||||
|
|
Loading…
Add table
Reference in a new issue