Search in sources :

Example 1 with GradleRerunFailedTestsAction

use of org.jetbrains.plugins.gradle.action.GradleRerunFailedTestsAction in project intellij-community by JetBrains.

the class GradleTestsExecutionConsoleManager method getRestartActions.

@Override
public AnAction[] getRestartActions(@NotNull final GradleTestsExecutionConsole consoleView) {
    JavaRerunFailedTestsAction rerunFailedTestsAction = new GradleRerunFailedTestsAction(consoleView);
    rerunFailedTestsAction.setModelProvider(() -> consoleView.getResultsViewer());
    return new AnAction[] { rerunFailedTestsAction };
}
Also used : GradleRerunFailedTestsAction(org.jetbrains.plugins.gradle.action.GradleRerunFailedTestsAction) JavaRerunFailedTestsAction(com.intellij.execution.actions.JavaRerunFailedTestsAction) AnAction(com.intellij.openapi.actionSystem.AnAction)

Aggregations

JavaRerunFailedTestsAction (com.intellij.execution.actions.JavaRerunFailedTestsAction)1 AnAction (com.intellij.openapi.actionSystem.AnAction)1 GradleRerunFailedTestsAction (org.jetbrains.plugins.gradle.action.GradleRerunFailedTestsAction)1