Home
last modified time | relevance | path

Searched refs:SafeJUnitRule (Results 1 – 6 of 6) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/junitrule/
DStubbingWarningsJUnitRuleTest.java10 import org.mockitoutil.SafeJUnitRule;
20 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
26 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_unused_stubs_reported_on_failure()
41 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in stubbing_arg_mismatch_on_failure()
60 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_stubbing_arg_mismatch_when_no_mismatch_on_fail()
90 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in multiple_stubbing_arg_mismatch_on_failure()
118 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in reports_only_mismatching_stubs()
142 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_mismatch_when_stub_was_used()
DStrictJUnitRuleTest.java13 import org.mockitoutil.SafeJUnitRule;
23 …@Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRI…
77 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in fails_fast_when_stubbing_invoked_with_different_argument()
131 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in unused_stubs_with_multiple_mocks()
DStubbingWarningsMultiThreadingTest.java11 import org.mockitoutil.SafeJUnitRule;
21 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRuleTest.java15 SafeJUnitRule rule = new SafeJUnitRule(delegate);
65 } catch (SafeJUnitRule.ExpectedThrowableNotReported t) { in expected_exception_but_no_exception()
106 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in expected_exception_assert_did_not_match()
DSafeJUnitRule.java13 public class SafeJUnitRule implements MethodRule { class
22 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule() method in SafeJUnitRule
/external/mockito/src/test/java/org/mockito/internal/junit/
DJUnitRuleTest.java10 import org.mockitoutil.SafeJUnitRule;
18 @Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule());