/external/junit/src/main/java/org/junit/rules/ |
D | RuleChain.java | 58 public class RuleChain implements TestRule { 60 Collections.<TestRule>emptyList()); 62 private List<TestRule> rulesStartingWithInnerMost; 81 public static RuleChain outerRule(TestRule outerRule) { in outerRule() 85 private RuleChain(List<TestRule> rules) { in RuleChain() 97 public RuleChain around(TestRule enclosedRule) { in around() 101 List<TestRule> rulesOfNewChain = new ArrayList<TestRule>(); in around()
|
D | RunRules.java | 14 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/ |
D | RetryRule.java | 8 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/ |
D | RunnerParams.java | 19 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()
|
D | ApplyGlobalRulesBlockJUnit4ClassRunner.java | 20 import org.junit.rules.TestRule; 33 private final TestRule testRule; 35 public ApplyGlobalRulesBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ApplyGlobalRulesBlockJUnit4ClassRunner()
|
D | ValidateTestMethodWhenRunBlockJUnit4ClassRunner.java | 21 import org.junit.rules.TestRule; 37 protected ValidateTestMethodWhenRunBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ValidateTestMethodWhenRunBlockJUnit4ClassRunner()
|
D | ParentStatementRunner.java | 20 import org.junit.rules.TestRule; 41 private final TestRule testRule;
|
D | StatementRunner.java | 19 import org.junit.rules.TestRule; 39 private final TestRule testRule;
|
/external/junit/src/main/java/org/junit/runners/ |
D | RuleContainer.java | 11 import org.junit.rules.TestRule; 23 private final List<TestRule> testRules = new ArrayList<TestRule>(); 37 public void add(TestRule testRule) { in add() 61 for (TestRule rule : testRules) { in getSortedEntries() 79 result = ((TestRule) ruleEntry.rule).apply(result, description); in apply()
|
D | ParentRunner.java | 30 import org.junit.rules.TestRule; 268 List<TestRule> classRules = classRules(); in withClassRules() 277 protected List<TestRule> classRules() { in classRules() 279 testClass.collectAnnotatedMethodValues(null, ClassRule.class, TestRule.class, collector); in classRules() 280 testClass.collectAnnotatedFieldValues(null, ClassRule.class, TestRule.class, collector); in classRules() 564 private static class ClassRuleCollector implements MemberValueConsumer<TestRule> { 567 public void accept(FrameworkMember<?> member, TestRule value) { 573 public List<TestRule> getOrderedRules() { 575 List<TestRule> result = new ArrayList<TestRule>(entries.size()); 577 result.add((TestRule) entry.rule);
|
D | BlockJUnit4ClassRunner.java | 26 import org.junit.rules.TestRule; 400 List<TestRule> testRules = getTestRules(target); in withRules() 402 if (!(each instanceof TestRule && testRules.contains(each))) { in withRules() 406 for (TestRule rule : testRules) { in withRules() 434 protected List<TestRule> getTestRules(Object target) { in getTestRules() 435 RuleCollector<TestRule> collector = new RuleCollector<TestRule>(); in getTestRules() 436 getTestClass().collectAnnotatedMethodValues(target, Rule.class, TestRule.class, collector); in getTestRules() 437 getTestClass().collectAnnotatedFieldValues(target, Rule.class, TestRule.class, collector); in getTestRules()
|
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/ |
D | SetUpStatementTest.java | 10 import org.junit.rules.TestRule; 24 private SetUpTestRule<TestRule> mRule; 36 mRule = new SetUpTestRule<TestRule>() { in setUp() 43 public TestRule shouldSetUp(boolean toSetUp) { in setUp()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/ |
D | SetUpStatement.java | 7 import org.junit.rules.TestRule; 18 private final SetUpTestRule<? extends TestRule> mSetUpTestRule; 22 final Statement base, SetUpTestRule<? extends TestRule> callback, boolean shouldSetUp) { in SetUpStatement()
|
D | BaseJUnit4ClassRunner.java | 16 import org.junit.rules.TestRule; 176 protected List<TestRule> getDefaultTestRules() { in getDefaultTestRules() 196 protected final List<TestRule> getTestRules(Object target) { in getTestRules() 197 List<TestRule> declaredRules = super.getTestRules(target); in getTestRules() 198 List<TestRule> defaultRules = getDefaultTestRules(); in getTestRules()
|
D | SetUpTestRule.java | 7 import org.junit.rules.TestRule; 18 public interface SetUpTestRule<T extends TestRule> {
|
/external/mockito/src/main/java/org/mockito/junit/ |
D | VerificationCollector.java | 7 import org.junit.rules.TestRule; 41 public interface VerificationCollector extends TestRule {
|
/external/vogar/test/vogar/android/ |
D | VogarArgsRule.java | 20 import org.junit.rules.TestRule; 30 public class VogarArgsRule implements TestRule {
|
/external/dagger2/java/dagger/hilt/android/testing/ |
D | HiltAndroidRule.java | 22 import org.junit.rules.TestRule; 31 public final class HiltAndroidRule implements TestRule {
|
/external/dagger2/javatests/dagger/grpc/functional/server/ |
D | VerifyInterceptor.java | 25 import org.junit.rules.TestRule; 29 final class VerifyInterceptor implements TestRule {
|
/external/junit-params/src/test/java/junitparams/ |
D | RulesTest.java | 9 import org.junit.rules.TestRule; 53 TestRule testRule;
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | AlgorithmParametersTestDESede.java | 29 import org.junit.rules.TestRule; 44 public static TestRule enableDeprecatedBCAlgorithmsRule =
|
D | AlgorithmParametersTestAES.java | 29 import org.junit.rules.TestRule; 43 public static TestRule enableDeprecatedBCAlgorithmsRule =
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | AlgorithmParametersTestAES.java | 28 import org.junit.rules.TestRule; 40 public static TestRule enableDeprecatedBCAlgorithmsRule =
|
D | AlgorithmParametersTestDESede.java | 28 import org.junit.rules.TestRule; 40 public static TestRule enableDeprecatedBCAlgorithmsRule =
|
D | KeyFactoryTestEC.java | 29 import org.junit.rules.TestRule; 41 public static TestRule enableDeprecatedBCAlgorithmsRule =
|