mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 07:47:25 +07:00
IDEA-189709: fix JavaGotoSuperTest#testLambdaMarker
This commit is contained in:
@@ -64,7 +64,7 @@ public final class GutterTooltipHelper {
|
||||
@NotNull Function<E, String> function,
|
||||
@NotNull Predicate<E> predicate,
|
||||
@Nullable String actionId) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
StringBuilder sb = new StringBuilder("<html><body>");
|
||||
if (prefix != null) sb.append(prefix);
|
||||
for (E element : elements) {
|
||||
String elementPrefix = function.apply(element);
|
||||
@@ -72,6 +72,7 @@ public final class GutterTooltipHelper {
|
||||
appendElement(sb, element, predicate.test(element));
|
||||
}
|
||||
appendContextHelp(sb, actionId);
|
||||
sb.append("</body></html>");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ public class JavaGotoSuperTest extends LightDaemonAnalyzerTestCase {
|
||||
if (CodeInsightTestFixtureImpl.processGuttersAtCaret(getEditor(), getProject(), mark -> {
|
||||
Shortcut shortcut = ActionManager.getInstance().getAction(IdeActions.ACTION_GOTO_SUPER).getShortcutSet().getShortcuts()[0];
|
||||
assertEquals(
|
||||
"<html><body>Overrides method in <a href=\"#javaClass/I\">I</a><br><div style='margin-top: 5px'><font size='2'>Click or press " +
|
||||
"<html><body>Overrides method in <a href=\"#element/I#run\"><code>I</code></a><br><div style='margin-top: 5px'><font size='2' color='787878'>Press " +
|
||||
KeymapUtil.getShortcutText(shortcut) +
|
||||
" to navigate</font></div></body></html>",
|
||||
mark.getTooltipText());
|
||||
|
||||
Reference in New Issue
Block a user