Home
last modified time | relevance | path

Searched refs:STRICT_STUBS (Results 1 – 15 of 15) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/stubbing/
DStrictStubbingEndToEndTest.java83 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();
97 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();
111 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();
151 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();
DStrictStubbingTest.java27 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();
/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessWhenRuleStrictnessIsUpdatedTest.java32 rule.strictness(Strictness.STRICT_STUBS); in strictness_per_mock()
52 rule.strictness(Strictness.STRICT_STUBS); in strictness_per_stubbing()
DStrictnessWithRulesTest.java25 @Rule public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
DStrictnessPerMockTest.java41 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
DStrictnessPerStubbingTest.java38 …mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMockin… in before()
/external/mockito/src/test/java/org/mockitousage/junitrule/
DMutableStrictJUnitRuleTest.java54 mockito.strictness(Strictness.STRICT_STUBS); in unused_stub_with_strictness()
61 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
DStrictJUnitRuleTest.java29 …ic SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS));
/external/mockito/src/main/java/org/mockito/internal/junit/
DStrictStubsRunnerTestListener.java16 …LookupListener stubbingLookupListener = new DefaultStubbingLookupListener(Strictness.STRICT_STUBS);
DDefaultStubbingLookupListener.java37 if (actualStrictness != Strictness.STRICT_STUBS) { in onStubbingLookup()
DUniversalTestListener.java48 case STRICT_STUBS: reportUnusedStubs(event, createdMocks); break; in testFinished()
/external/mockito/src/main/java/org/mockito/quality/
DStrictness.java92 STRICT_STUBS; enumConstant
/external/mockito/src/main/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilder.java76 …Strictness effectiveStrictness = this.strictness == null ? Strictness.STRICT_STUBS : this.strictne… in startMocking()
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginLoaderTest.java24 @Rule public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS);
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java194 …kito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STUBS).startMocking();