public class TestIntegrationUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TestIntegrationUtils.MethodKind |
Modifier and Type | Method and Description |
---|---|
static PsiMethod |
createDummyMethod(PsiElement context) |
static Template |
createTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind,
TestFramework descriptor,
PsiClass targetClass,
PsiClass sourceClass,
java.lang.String name,
boolean automatic,
java.util.Set<? super java.lang.String> existingNames) |
static Template |
createTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind,
TestFramework descriptor,
PsiClass targetClass,
java.lang.String name,
boolean automatic,
java.util.Set<? super java.lang.String> existingNames) |
static java.util.List<MemberInfo> |
extractClassMethods(PsiClass clazz,
boolean includeInherited) |
static PsiClass |
findOuterClass(PsiElement element) |
static java.util.List<TestFramework> |
findSuitableFrameworks(PsiClass targetClass) |
static boolean |
isTest(PsiElement element) |
static void |
runTestMethodTemplate(Editor editor,
PsiClass targetClass,
PsiMethod method,
boolean automatic,
Template template) |
static void |
runTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind,
TestFramework framework,
Editor editor,
PsiClass targetClass,
PsiClass sourceClass,
PsiMethod method,
java.lang.String name,
boolean automatic,
java.util.Set<? super java.lang.String> existingNames) |
static void |
runTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind,
TestFramework framework,
Editor editor,
PsiClass targetClass,
PsiMethod method,
java.lang.String name,
boolean automatic,
java.util.Set<? super java.lang.String> existingNames) |
public static boolean isTest(PsiElement element)
public static PsiClass findOuterClass(PsiElement element)
public static java.util.List<MemberInfo> extractClassMethods(PsiClass clazz, boolean includeInherited)
public static void runTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind, TestFramework framework, Editor editor, PsiClass targetClass, PsiMethod method, java.lang.String name, boolean automatic, java.util.Set<? super java.lang.String> existingNames)
public static void runTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind, TestFramework framework, Editor editor, PsiClass targetClass, PsiClass sourceClass, PsiMethod method, java.lang.String name, boolean automatic, java.util.Set<? super java.lang.String> existingNames)
public static void runTestMethodTemplate(Editor editor, PsiClass targetClass, PsiMethod method, boolean automatic, Template template)
public static Template createTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind, TestFramework descriptor, PsiClass targetClass, java.lang.String name, boolean automatic, java.util.Set<? super java.lang.String> existingNames)
public static Template createTestMethodTemplate(TestIntegrationUtils.MethodKind methodKind, TestFramework descriptor, PsiClass targetClass, PsiClass sourceClass, java.lang.String name, boolean automatic, java.util.Set<? super java.lang.String> existingNames)
public static PsiMethod createDummyMethod(PsiElement context)
public static java.util.List<TestFramework> findSuitableFrameworks(PsiClass targetClass)