HomeSort by relevance Sort by last modified time
    Searched refs:TestRule (Results 1 - 11 of 11) sorted by null

  /external/junit/src/org/junit/rules/
RuleChain.java 15 * {@code RuleChain} with {@link #outerRule(TestRule)} and subsequent calls of
16 * {@link #around(TestRule)}:
21 * public TestRule chain= RuleChain
44 public class RuleChain implements TestRule {
46 Collections.<TestRule> emptyList());
48 private List<TestRule> rulesStartingWithInnerMost;
51 * Returns a {@code RuleChain} without a {@link TestRule}. This method may
54 * @return a {@code RuleChain} without a {@link TestRule}.
61 * Returns a {@code RuleChain} with a single {@link TestRule}. This method
66 * @return a {@code RuleChain} with a single {@link TestRule}
    [all...]
RunRules.java 12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) {
21 private static Statement applyAll(Statement result, Iterable<TestRule> rules,
23 for (TestRule each : rules)
TestRule.java 7 * A TestRule is an alteration in how a test method, or set of test methods,
8 * is run and reported. A {@link TestRule} may add additional checks that cause
11 * {@link TestRule}s can do everything that could be done previously with
19 * individual test cases recognize {@link TestRule}s introduced in two different
21 * {@link TestRule}s, and {@link org.junit.ClassRule}
22 * annotates class-level {@link TestRule}s. See Javadoc for those annotations
25 * Multiple {@link TestRule}s can be applied to a test or suite execution. The
43 public interface TestRule {
Verifier.java 28 public class Verifier implements TestRule {
ExternalResource.java 35 public abstract class ExternalResource implements TestRule {
Timeout.java 36 public class Timeout implements TestRule {
TestWatcher.java 40 public abstract class TestWatcher implements TestRule {
ExpectedException.java 44 public class ExpectedException implements TestRule {
  /external/junit/src/org/junit/internal/runners/rules/
RuleFieldValidator.java 8 import org.junit.rules.TestRule;
73 addError(errors, field, "must implement MethodRule or TestRule.");
77 return TestRule.class.isAssignableFrom(target.getType());
  /external/junit/src/org/junit/runners/
BlockJUnit4ClassRunner.java 21 import org.junit.rules.TestRule;
224 * For more information, see {@link TestRule}
338 List<TestRule> testRules= getTestRules(target);
356 * {@link TestRule} and
375 List<TestRule> testRules= getTestRules(target);
386 protected List<TestRule> getTestRules(Object target) {
388 Rule.class, TestRule.class);
ParentRunner.java 22 import org.junit.rules.TestRule;
191 * static fields assignable to {@link TestRule}
200 List<TestRule> classRules= classRules();
209 protected List<TestRule> classRules() {
210 return fTestClass.getAnnotatedFieldValues(null, ClassRule.class, TestRule.class);

Completed in 164 milliseconds