Home
last modified time | relevance | path

Searched refs:MethodRule (Results 1 – 7 of 7) sorted by relevance

/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRule.java9 import org.junit.rules.MethodRule;
17 public class SafeJUnitRule implements MethodRule {
19 private final MethodRule testedRule;
26 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule()
DSafeJUnitRuleTest.java9 import org.junit.rules.MethodRule;
129 private static class MethodRuleStub implements MethodRule {
/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java23 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()
/external/mockito/src/main/java/org/mockito/junit/
DMockitoRule.java7 import org.junit.rules.MethodRule;
76 public interface MockitoRule extends MethodRule {
/external/junit/src/main/java/org/junit/rules/
DMethodRule.java32 public interface MethodRule { interface
DTestWatchman.java45 public class TestWatchman implements MethodRule {
/external/junit/src/main/java/org/junit/internal/runners/rules/
DRuleMemberValidator.java5 import org.junit.rules.MethodRule;
146 return MethodRule.class.isAssignableFrom(member.getType()); in isMethodRule()