/external/junit/src/main/java/org/junit/rules/ |
D | RuleChain.java | 43 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()
|
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()
|
D | TestRule.java | 45 public interface TestRule { interface
|
D | Verifier.java | 30 public abstract class Verifier implements TestRule {
|
D | ExternalResource.java | 37 public abstract class ExternalResource implements TestRule {
|
/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;
|
D | TimeoutAndAbortRunRule.java | 27 import org.junit.rules.TestRule; 35 public class TimeoutAndAbortRunRule implements TestRule {
|
/external/junit/src/main/java/org/junit/runners/ |
D | BlockJUnit4ClassRunner.java | 25 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()
|
D | ParentRunner.java | 26 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/ |
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/junit-params/src/test/java/junitparams/ |
D | RulesTest.java | 9 import org.junit.rules.TestRule; 53 TestRule testRule;
|
/external/vogar/test/vogar/target/ |
D | TestRunnerRule.java | 21 import org.junit.rules.TestRule; 34 public class TestRunnerRule implements TestRule {
|
/external/vogar/test/vogar/testing/ |
D | InterceptOutputStreams.java | 26 import org.junit.rules.TestRule; 34 public class InterceptOutputStreams implements TestRule {
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/junit/rules/ |
D | ExpectedLogMessagesRule.java | 8 import org.junit.rules.TestRule; 18 public final class ExpectedLogMessagesRule implements TestRule {
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypesEclipseTest.java | 40 import org.junit.rules.TestRule; 60 public static final class CompilationRule implements TestRule {
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriterTest.java | 28 import org.junit.rules.TestRule; 48 @Rule public final TestRule noDataLeftBehind = new TestRule() {
|
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/internal/io/ |
D | InMemoryFileSystem.java | 32 import org.junit.rules.TestRule; 37 public final class InMemoryFileSystem implements FileSystem, TestRule {
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | GrpcCleanupRule.java | 34 import org.junit.rules.TestRule; 48 public final class GrpcCleanupRule implements TestRule {
|
/external/junit/src/main/java/org/junit/internal/runners/rules/ |
D | RuleMemberValidator.java | 6 import org.junit.rules.TestRule; 142 return TestRule.class.isAssignableFrom(member.getType()); in isTestRule()
|