net.jqwik.engine.discovery.predicates.IsDiscoverableTestMethod Maven / Gradle / Ivy
package net.jqwik.engine.discovery.predicates;
import java.lang.reflect.*;
import java.util.function.*;
import static org.junit.platform.commons.support.ModifierSupport.*;
public class IsDiscoverableTestMethod implements Predicate {
@Override
public boolean test(Method candidate) {
return (!isAbstract(candidate) && !isPrivate(candidate));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy