Is it possible to add a new action to the test framework's ToolbarPanel?
Answered
Hello,
from what I can see the actions are hardcoded in the test console view inside ToolbarPanel:
actionGroup.addAction(new DumbAwareToggleInvertedBooleanProperty(ExecutionBundle.message("junit.run.hide.passed.action.name"), ExecutionBundle.message("junit.run.hide.passed.action.description"),
AllIcons.RunConfigurations.ShowPassed,
properties, TestConsoleProperties.HIDE_PASSED_TESTS));
actionGroup.add(new DumbAwareToggleInvertedBooleanProperty("Show Ignored", "Show Ignored", AllIcons.RunConfigurations.ShowIgnored,
properties, TestConsoleProperties.HIDE_IGNORED_TEST));
Is there any way to add my custom action to
com.intellij.execution.testframework.ToolbarPanel
?
Please sign in to leave a comment.
Sorry, there's no such a possibility.