mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Attempt to fix 2 JUnit failures that occur on the build machine, only.
This commit is contained in:
parent
a62fcda690
commit
0975958fca
1 changed files with 4 additions and 4 deletions
|
@ -69,8 +69,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
|
||||||
checkTreeNode(outlineTree, 0, 0, "method() : void");
|
checkTreeNode(outlineTree, 0, 0, "method() : void");
|
||||||
|
|
||||||
// open and check call hierarchy
|
// open and check call hierarchy
|
||||||
activateView(IPageLayout.ID_OUTLINE);
|
|
||||||
selectTreeItem(outlineTree, 0, 0);
|
selectTreeItem(outlineTree, 0, 0);
|
||||||
|
outline.setFocus();
|
||||||
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
||||||
|
|
||||||
Tree chTree= checkTreeNode(ch, 0, "SomeClass::method()").getParent();
|
Tree chTree= checkTreeNode(ch, 0, "SomeClass::method()").getParent();
|
||||||
|
@ -112,8 +112,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
|
||||||
checkTreeNode(outlineTree, 2, "other() : void");
|
checkTreeNode(outlineTree, 2, "other() : void");
|
||||||
|
|
||||||
// open and check call hierarchy
|
// open and check call hierarchy
|
||||||
activateView(IPageLayout.ID_OUTLINE);
|
|
||||||
selectTreeItem(outlineTree, 1); // select the definition
|
selectTreeItem(outlineTree, 1); // select the definition
|
||||||
|
outline.setFocus();
|
||||||
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
||||||
|
|
||||||
ch.onSetShowReferencedBy(false);
|
ch.onSetShowReferencedBy(false);
|
||||||
|
@ -121,8 +121,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
|
||||||
checkTreeNode(chTree, 0, 0, "SomeClass::ref1");
|
checkTreeNode(chTree, 0, 0, "SomeClass::ref1");
|
||||||
|
|
||||||
// open and check call hierarchy
|
// open and check call hierarchy
|
||||||
activateView(IPageLayout.ID_OUTLINE);
|
|
||||||
selectTreeItem(outlineTree, 2);
|
selectTreeItem(outlineTree, 2);
|
||||||
|
outline.setFocus();
|
||||||
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
||||||
checkTreeNode(chTree, 0, "other()");
|
checkTreeNode(chTree, 0, "other()");
|
||||||
|
|
||||||
|
@ -133,8 +133,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
|
||||||
checkTreeNode(outlineTree, 1, "SomeClass::ambiguous_impl() : void");
|
checkTreeNode(outlineTree, 1, "SomeClass::ambiguous_impl() : void");
|
||||||
|
|
||||||
// open and check call hierarchy
|
// open and check call hierarchy
|
||||||
activateView(IPageLayout.ID_OUTLINE);
|
|
||||||
selectTreeItem(outlineTree, 1); // select the definition
|
selectTreeItem(outlineTree, 1); // select the definition
|
||||||
|
outline.setFocus();
|
||||||
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
|
||||||
|
|
||||||
ch.onSetShowReferencedBy(false);
|
ch.onSetShowReferencedBy(false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue