extend test framework: isTestMethodOrConfig

This commit is contained in:
anna
2010-01-27 21:56:52 +03:00
parent 4f5a5bc370
commit 9a03b53248
@@ -60,4 +60,13 @@ public class TestUtil {
}
return null;
}
public static boolean isTestMethodOrConfig(PsiMethod psiMethod) {
for (TestFramework framework : Extensions.getExtensions(TEST_FRAMEWORK)) {
if (framework.isTestMethodOrConfig(psiMethod)) {
return true;
}
}
return false;
}
}