public class JavaTestGenerator extends java.lang.Object implements TestGenerator
Constructor and Description |
---|
JavaTestGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
addTestMethods(Editor editor,
PsiClass targetClass,
PsiClass sourceClass,
TestFramework descriptor,
java.util.Collection<? extends MemberInfo> methods,
boolean generateBefore,
boolean generateAfter) |
static void |
addTestMethods(Editor editor,
PsiClass targetClass,
TestFramework descriptor,
java.util.Collection<? extends MemberInfo> methods,
boolean generateBefore,
boolean generateAfter) |
PsiElement |
generateTest(Project project,
CreateTestDialog d) |
java.lang.String |
toString()
should return text to show in dialog
|
public PsiElement generateTest(Project project, CreateTestDialog d)
generateTest
in interface TestGenerator
public static void addTestMethods(Editor editor, PsiClass targetClass, TestFramework descriptor, java.util.Collection<? extends MemberInfo> methods, boolean generateBefore, boolean generateAfter) throws IncorrectOperationException
IncorrectOperationException
public static void addTestMethods(Editor editor, PsiClass targetClass, PsiClass sourceClass, TestFramework descriptor, java.util.Collection<? extends MemberInfo> methods, boolean generateBefore, boolean generateAfter) throws IncorrectOperationException
IncorrectOperationException
public java.lang.String toString()
TestGenerator
toString
in interface TestGenerator
toString
in class java.lang.Object