GoTo Test: do not show 'Create Test' action if not applicable.
[idea/community.git] / platform / lang-api / src / com / intellij / testIntegration / TestCreator.java
index bb426123e500d2009bf604914ed27e51db65541b..8cb85c1ed3aa35a5d7829ebc2fde7e0ee75ea1e9 100644 (file)
@@ -21,5 +21,6 @@ import com.intellij.openapi.project.Project;
 import com.intellij.psi.PsiFile;
 
 public interface TestCreator {
+  boolean isAvailable(Project project, Editor editor, PsiFile file);
   void createTest(Project project, Editor editor, PsiFile file);
 }