make it public: protected in the same package is not accessible from another class loader: EA-24373 - IAE: JUnit4Framework.findOrCreateSetUpMethod

This commit is contained in:
anna
2010-12-06 12:48:39 +03:00
parent 921c4571c9
commit 1d44fcca15
@@ -211,7 +211,7 @@ public class JUnitUtil {
}
@Nullable
protected static PsiMethod findFirstTestMethod(PsiClass clazz) {
public static PsiMethod findFirstTestMethod(PsiClass clazz) {
PsiMethod testMethod = null;
for (PsiMethod method : clazz.getMethods()) {
if (isTestMethod(MethodLocation.elementInClass(method, clazz)) || isSuiteMethod(method)) {