use of com.intellij.ide.actions.GotoRelatedSymbolAction in project android by JetBrains.
the class AndroidGotoRelatedTest method doGotoRelatedFile.
private List<GotoRelatedItem> doGotoRelatedFile(VirtualFile file) {
myFixture.configureFromExistingVirtualFile(file);
final GotoRelatedSymbolAction action = new GotoRelatedSymbolAction();
final TestActionEvent e = new TestActionEvent(action);
action.beforeActionPerformedUpdate(e);
final Presentation presentation = e.getPresentation();
assertTrue(presentation.isEnabled() && presentation.isVisible());
return GotoRelatedSymbolAction.getItems(myFixture.getFile(), myFixture.getEditor(), null);
}
Aggregations