Home
last modified time | relevance | path

Searched refs:TestRule (Results 1 – 25 of 79) sorted by relevance

1234

/external/junit/src/main/java/org/junit/rules/
DRuleChain.java43 public class RuleChain implements TestRule {
45 Collections.<TestRule>emptyList());
47 private List<TestRule> rulesStartingWithInnerMost;
66 public static RuleChain outerRule(TestRule outerRule) { in outerRule()
70 private RuleChain(List<TestRule> rules) { in RuleChain()
81 public RuleChain around(TestRule enclosedRule) { in around()
82 List<TestRule> rulesOfNewChain = new ArrayList<TestRule>(); in around()
92 for (TestRule each : rulesStartingWithInnerMost) { in apply()
DRunRules.java14 public RunRules(Statement base, Iterable<TestRule> rules, Description description) { in RunRules()
23 private static Statement applyAll(Statement result, Iterable<TestRule> rules, in applyAll()
25 for (TestRule each : rules) { in applyAll()
/external/mockito/src/test/java/org/mockitoutil/
DRetryRule.java8 import org.junit.rules.TestRule;
14 public class RetryRule implements TestRule {
15 private final TestRule innerRule;
21 private RetryRule(TestRule innerRule) { in RetryRule()
29 private static class NumberedAttempts implements TestRule {
/external/vogar/src/vogar/target/junit/
DRunnerParams.java19 import org.junit.rules.TestRule;
34 private final TestRule testRule;
36 public RunnerParams(String qualification, String[] args, TestRule testRule) { in RunnerParams()
50 public TestRule getTestRule() { in getTestRule()
DApplyGlobalRulesBlockJUnit4ClassRunner.java20 import org.junit.rules.TestRule;
33 private final TestRule testRule;
35 public ApplyGlobalRulesBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ApplyGlobalRulesBlockJUnit4ClassRunner()
DValidateTestMethodWhenRunBlockJUnit4ClassRunner.java21 import org.junit.rules.TestRule;
37 protected ValidateTestMethodWhenRunBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ValidateTestMethodWhenRunBlockJUnit4ClassRunner()
DParentStatementRunner.java20 import org.junit.rules.TestRule;
41 private final TestRule testRule;
DStatementRunner.java19 import org.junit.rules.TestRule;
39 private final TestRule testRule;
DTimeoutAndAbortRunRule.java27 import org.junit.rules.TestRule;
35 public class TimeoutAndAbortRunRule implements TestRule {
/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java25 import org.junit.rules.TestRule;
353 List<TestRule> testRules = getTestRules(target); in withRules()
361 private Statement withMethodRules(FrameworkMethod method, List<TestRule> testRules, in withMethodRules()
398 private Statement withTestRules(FrameworkMethod method, List<TestRule> testRules, in withTestRules()
409 protected List<TestRule> getTestRules(Object target) { in getTestRules()
410 List<TestRule> result = getTestClass().getAnnotatedMethodValues(target, in getTestRules()
411 Rule.class, TestRule.class); in getTestRules()
414 Rule.class, TestRule.class)); in getTestRules()
DParentRunner.java26 import org.junit.rules.TestRule;
244 List<TestRule> classRules = classRules(); in withClassRules()
253 protected List<TestRule> classRules() { in classRules()
254 … List<TestRule> result = testClass.getAnnotatedMethodValues(null, ClassRule.class, TestRule.class); in classRules()
255 result.addAll(testClass.getAnnotatedFieldValues(null, ClassRule.class, TestRule.class)); in classRules()
/external/mockito/src/main/java/org/mockito/junit/
DVerificationCollector.java7 import org.junit.rules.TestRule;
41 public interface VerificationCollector extends TestRule {
/external/vogar/test/vogar/android/
DVogarArgsRule.java20 import org.junit.rules.TestRule;
30 public class VogarArgsRule implements TestRule {
/external/dagger2/javatests/dagger/grpc/functional/server/
DVerifyInterceptor.java25 import org.junit.rules.TestRule;
29 final class VerifyInterceptor implements TestRule {
/external/junit-params/src/test/java/junitparams/
DRulesTest.java9 import org.junit.rules.TestRule;
53 TestRule testRule;
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DAlgorithmParametersTestDESede.java28 import org.junit.rules.TestRule;
40 public static TestRule enableDeprecatedBCAlgorithmsRule =
DKeyFactoryTestEC.java29 import org.junit.rules.TestRule;
42 public static TestRule enableDeprecatedBCAlgorithmsRule =
DAlgorithmParametersTestAES.java28 import org.junit.rules.TestRule;
40 public static TestRule enableDeprecatedBCAlgorithmsRule =
DAlgorithmParametersTestGCM.java29 import org.junit.rules.TestRule;
41 public static TestRule enableDeprecatedBCAlgorithmsRule =
DKeyFactoryTestRSA.java38 import org.junit.rules.TestRule;
50 public static TestRule enableDeprecatedBCAlgorithmsRule =
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DAlgorithmParametersTestDESede.java29 import org.junit.rules.TestRule;
44 public static TestRule enableDeprecatedBCAlgorithmsRule =
DAlgorithmParametersTestAES.java29 import org.junit.rules.TestRule;
43 public static TestRule enableDeprecatedBCAlgorithmsRule =
DKeyFactoryTestEC.java30 import org.junit.rules.TestRule;
46 public static TestRule enableDeprecatedBCAlgorithmsRule =
DAlgorithmParametersTestGCM.java30 import org.junit.rules.TestRule;
45 public static TestRule enableDeprecatedBCAlgorithmsRule =
/external/vogar/test/vogar/target/
DTestRunnerRule.java21 import org.junit.rules.TestRule;
34 public class TestRunnerRule implements TestRule {

1234