1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

Attempt to fix 2 JUnit failures that occur on the build machine, only.

This commit is contained in:
Markus Schorn 2007-06-18 07:57:25 +00:00
parent a62fcda690
commit 0975958fca

View file

@ -69,8 +69,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
checkTreeNode(outlineTree, 0, 0, "method() : void");
// open and check call hierarchy
activateView(IPageLayout.ID_OUTLINE);
selectTreeItem(outlineTree, 0, 0);
outline.setFocus();
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
Tree chTree= checkTreeNode(ch, 0, "SomeClass::method()").getParent();
@ -112,8 +112,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
checkTreeNode(outlineTree, 2, "other() : void");
// open and check call hierarchy
activateView(IPageLayout.ID_OUTLINE);
selectTreeItem(outlineTree, 1); // select the definition
outline.setFocus();
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
ch.onSetShowReferencedBy(false);
@ -121,8 +121,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
checkTreeNode(chTree, 0, 0, "SomeClass::ref1");
// open and check call hierarchy
activateView(IPageLayout.ID_OUTLINE);
selectTreeItem(outlineTree, 2);
outline.setFocus();
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
checkTreeNode(chTree, 0, "other()");
@ -133,8 +133,8 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
checkTreeNode(outlineTree, 1, "SomeClass::ambiguous_impl() : void");
// open and check call hierarchy
activateView(IPageLayout.ID_OUTLINE);
selectTreeItem(outlineTree, 1); // select the definition
outline.setFocus();
executeCommand(outline, ICEditorActionDefinitionIds.OPEN_CALL_HIERARCHY);
ch.onSetShowReferencedBy(false);