Searched refs:MethodRule (Results 1 – 7 of 7) sorted by relevance
9 import org.junit.rules.MethodRule;17 public class SafeJUnitRule implements MethodRule {19 private final MethodRule testedRule;26 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule()
9 import org.junit.rules.MethodRule;129 private static class MethodRuleStub implements MethodRule {
23 import org.junit.rules.MethodRule;363 for (org.junit.rules.MethodRule each : getMethodRules(target)) { in withMethodRules()371 private List<org.junit.rules.MethodRule> getMethodRules(Object target) { in getMethodRules()380 protected List<MethodRule> rules(Object target) { in rules()381 List<MethodRule> rules = getTestClass().getAnnotatedMethodValues(target, in rules()382 Rule.class, MethodRule.class); in rules()385 Rule.class, MethodRule.class)); in rules()
7 import org.junit.rules.MethodRule;76 public interface MockitoRule extends MethodRule {
32 public interface MethodRule { interface
45 public class TestWatchman implements MethodRule {
5 import org.junit.rules.MethodRule;146 return MethodRule.class.isAssignableFrom(member.getType()); in isMethodRule()