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.java14 import org.mockitoutil.SafeJUnitRule;
24 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
30 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_unused_stubs_reported_on_failure()
45 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in stubbing_arg_mismatch_on_failure()
64 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_stubbing_arg_mismatch_when_no_mismatch_on_fail()
94 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in multiple_stubbing_arg_mismatch_on_failure()
122 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in reports_only_mismatching_stubs()
146 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_mismatch_when_stub_was_used()
DStrictJUnitRuleTest.java17 import org.mockitoutil.SafeJUnitRule;
29 …@Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRI…
83 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in fails_fast_when_stubbing_invoked_with_different_argument()
137 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in unused_stubs_with_multiple_mocks()
DStubbingWarningsMultiThreadingTest.java15 import org.mockitoutil.SafeJUnitRule;
25 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRuleTest.java19 SafeJUnitRule rule = new SafeJUnitRule(delegate);
69 } catch (SafeJUnitRule.ExpectedThrowableNotReported t) { in expected_exception_but_no_exception()
110 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in expected_exception_assert_did_not_match()
DSafeJUnitRule.java17 public class SafeJUnitRule implements MethodRule { class
26 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule() method in SafeJUnitRule
/external/mockito/src/test/java/org/mockito/internal/junit/
DJUnitRuleTest.java14 import org.mockitoutil.SafeJUnitRule;
22 @Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule());