Class CreateTestMeAction
java.lang.Object
com.intellij.codeInsight.intention.impl.BaseIntentionAction
com.intellij.codeInsight.intention.PsiElementBaseIntentionAction
com.intellij.testIntegration.createTest.CreateTestAction
com.weirddev.testme.intellij.action.CreateTestMeAction
- All Implemented Interfaces:
com.intellij.codeInsight.intention.CommonIntentionAction
,com.intellij.codeInsight.intention.FileModifier
,com.intellij.codeInsight.intention.IntentionAction
,com.intellij.openapi.application.WriteActionAware
public class CreateTestMeAction
extends com.intellij.testIntegration.createTest.CreateTestAction
Date: 10/18/2016
- Author:
- Yaron Yamin
- See Also:
-
CreateTestAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.intellij.codeInsight.intention.FileModifier
com.intellij.codeInsight.intention.FileModifier.SafeFieldForPreview, com.intellij.codeInsight.intention.FileModifier.SafeTypeForPreview
-
Field Summary
Fields inherited from interface com.intellij.codeInsight.intention.IntentionAction
EMPTY_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeSuitableTestRootUrls
(com.intellij.openapi.module.Module module) static List<com.intellij.openapi.vfs.VirtualFile>
computeTestRoots
(@NotNull com.intellij.openapi.module.Module mainModule) static @Nullable com.intellij.psi.PsiClass
getContainingClass
(com.intellij.psi.PsiElement element) @NotNull String
@NotNull String
getText()
void
invoke
(@NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiElement element) Methods inherited from class com.intellij.testIntegration.createTest.CreateTestAction
isAvailable, isAvailableForElement, startInWriteAction, suggestModuleForTests
Methods inherited from class com.intellij.codeInsight.intention.PsiElementBaseIntentionAction
checkFile, invoke, isAvailable
Methods inherited from class com.intellij.codeInsight.intention.impl.BaseIntentionAction
canModify, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.intellij.codeInsight.intention.FileModifier
getElementToMakeWritable, getFileModifierForPreview
Methods inherited from interface com.intellij.codeInsight.intention.IntentionAction
generatePreview
-
Constructor Details
-
CreateTestMeAction
-
-
Method Details
-
getText
- Specified by:
getText
in interfacecom.intellij.codeInsight.intention.IntentionAction
- Overrides:
getText
in classcom.intellij.testIntegration.createTest.CreateTestAction
-
getFamilyName
- Specified by:
getFamilyName
in interfacecom.intellij.codeInsight.intention.CommonIntentionAction
- Overrides:
getFamilyName
in classcom.intellij.testIntegration.createTest.CreateTestAction
-
invoke
public void invoke(@NotNull @NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, @NotNull @NotNull com.intellij.psi.PsiElement element) throws com.intellij.util.IncorrectOperationException - Overrides:
invoke
in classcom.intellij.testIntegration.createTest.CreateTestAction
- Throws:
com.intellij.util.IncorrectOperationException
-
computeSuitableTestRootUrls
- See Also:
-
CreateTestAction#computeSuitableTestRootUrls
-
computeTestRoots
public static List<com.intellij.openapi.vfs.VirtualFile> computeTestRoots(@NotNull @NotNull com.intellij.openapi.module.Module mainModule) - See Also:
-
CreateTestAction#computeTestRoots
-
getContainingClass
@Nullable public static @Nullable com.intellij.psi.PsiClass getContainingClass(com.intellij.psi.PsiElement element) - See Also:
-
base method used to be private in IJ 14
-