mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +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
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
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();
|
closeAllEditors();
|
||||||
if (fCProject != null) {
|
if (fCProject != null) {
|
||||||
CProjectHelper.delete(fCProject);
|
CProjectHelper.delete(fCProject);
|
||||||
|
|
Loading…
Add table
Reference in a new issue