Skip to content

Commit 20e2330

Browse files
authored
[CQ] migrate from slated-for-removal RunLineMarkerContributor.Info APIs (#8014)
Migrate to supported `RunLineMarkerContributor.Info` constructor uses. ![image](https://github.com/user-attachments/assets/7d802b0e-8ebd-4e80-876d-6040d67d1c56) See: #7718.
1 parent 0920a53 commit 20e2330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: flutter-idea/src/io/flutter/run/common/TestLineMarkerContributor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Info getInfo(@NotNull PsiElement element) {
6565
final Icon icon = getTestStateIcon(element, testCall.getIcon());
6666
final Function<PsiElement, String> tooltipProvider =
6767
psiElement -> testCall.getTooltip(psiElement, testConfigUtils);
68-
return new RunLineMarkerContributor.Info(icon, tooltipProvider, ExecutorAction.getActions());
68+
return new RunLineMarkerContributor.Info(icon, ExecutorAction.getActions(), tooltipProvider);
6969
}
7070
}
7171
else if (dartId.getParent().getParent() instanceof DartFunctionDeclarationWithBodyOrNative) {
@@ -83,7 +83,7 @@ else if (dartId.getParent().getParent() instanceof DartFunctionDeclarationWithBo
8383
final Icon icon = getTestStateIcon(element, testCall.getIcon());
8484
final Function<PsiElement, String> tooltipProvider =
8585
psiElement -> testCall.getTooltip(psiElement, testConfigUtils);
86-
return new RunLineMarkerContributor.Info(icon, tooltipProvider, ExecutorAction.getActions());
86+
return new RunLineMarkerContributor.Info(icon, ExecutorAction.getActions(), tooltipProvider);
8787
}
8888
}
8989
}

0 commit comments

Comments
 (0)