summaryrefslogtreecommitdiff
path: root/platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java')
-rw-r--r--platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java b/platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java
index 764e80453ad6..0f5ab8b3c8ae 100644
--- a/platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java
+++ b/platform/testFramework/src/com/intellij/testFramework/TestActionEvent.java
@@ -16,10 +16,7 @@
package com.intellij.testFramework;
import com.intellij.ide.DataManager;
-import com.intellij.openapi.actionSystem.ActionManager;
-import com.intellij.openapi.actionSystem.AnAction;
-import com.intellij.openapi.actionSystem.AnActionEvent;
-import com.intellij.openapi.actionSystem.DataContext;
+import com.intellij.openapi.actionSystem.*;
import org.jetbrains.annotations.NotNull;
/**
@@ -35,4 +32,8 @@ public class TestActionEvent extends AnActionEvent {
public TestActionEvent(@NotNull AnAction action) {
this(DataManager.getInstance().getDataContext(), action);
}
+
+ public TestActionEvent() {
+ super(null, DataManager.getInstance().getDataContext(), "", new Presentation(), ActionManager.getInstance(), 0);
+ }
}