Home
last modified time | relevance | path

Searched refs:MockitoSession (Results 1 – 24 of 24) sorted by relevance

/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DMockStatic.java47 import org.mockito.MockitoSession;
96 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in spyStatic()
122 MockitoSession session = mockitoSession().spyStatic(NoDefaultConstructorClass.class) in spyStaticOnObjectWithNoDefaultConstructor()
140 MockitoSession session = mockitoSession().mockStatic(Settings.Global.class).startMocking(); in mockStatic()
160 MockitoSession session = mockitoSession().mockStatic(SubClass.class).startMocking(); in mockOverriddenStaticMethod()
191 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in mockSuperMethod()
227 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in resetMock()
243 MockitoSession session = mockitoSession().spyStatic(SuperClass.class).startMocking(); in resetSpy()
262 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in staticMockingIsSeparateFromNonStaticMocking()
292 MockitoSession session = mockitoSession().mockStatic(SuperClass.class) in mockWithTwoClasses()
[all …]
DVerifyStatic.java23 import org.mockito.MockitoSession;
44 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyMockedStringMethod()
60 MockitoSession session = mockitoSession().mockStatic(ConsumeClass.class).startMocking(); in verifyMockedVoidMethod()
75 MockitoSession session = mockitoSession().mockStatic(EchoClass.class) in verifyWithTwoMocks()
96 MockitoSession session = mockitoSession().spyStatic(EchoClass.class).startMocking(); in verifySpiedStringMethod()
112 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).mockStatic in verifyInOrder()
144 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyBadOrder()
159 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyBadMatcher()
180 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in zeroInvocationsThrowsIfThereWasAnInvocation()
192 MockitoSession session = mockitoSession().spyStatic(EchoClass.class).startMocking(); in verifyWithIgnoreStubs()
DStaticMockitoSession.java23 import org.mockito.MockitoSession;
38 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in strictUnnecessaryStubbing()
55 MockitoSession session = mockitoSession().strictness(Strictness.LENIENT) in lenientUnnecessaryStubbing()
DStress.java22 import org.mockito.MockitoSession;
47 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in stressFinalStaticMethod()
69 MockitoSession session = mockitoSession().mockStatic(SuperClass.class).startMocking(); in stressStaticMethod()
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java13 import org.mockito.MockitoSession;
105 MockitoSession mockito = Mockito.mockitoSession().startMocking();
120MockitoSession mockito = Mockito.mockitoSession().strictness(Strictness.LENIENT).startMocking();
134 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
148 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
163 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
180 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
194MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
213 MockitoSession mockito = Mockito.mockitoSession().initMocks(this).startMocking();
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticMockitoSession.java20 import org.mockito.MockitoSession;
32 public class StaticMockitoSession implements MockitoSession {
38 private final MockitoSession instanceSession;
41 StaticMockitoSession(MockitoSession instanceSession) { in StaticMockitoSession()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStrictStubbingEndToEndTest.java13 import org.mockito.MockitoSession;
83MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
97MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
111MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
151MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
DStrictStubbingTest.java11 import org.mockito.MockitoSession;
27MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
DStubbingWarningsTest.java10 import org.mockito.MockitoSession;
31MockitoSession mockito = new DefaultMockitoSession(singletonList((Object) this), TEST_NAME, Strict…
/external/mockito/src/main/java/org/mockito/session/
DMockitoSessionBuilder.java9 import org.mockito.MockitoSession;
138 MockitoSession startMocking() throws UnfinishedMockingSessionException; in startMocking()
DMockitoSessionLogger.java8 import org.mockito.MockitoSession;
/external/mockito/src/main/java/org/mockito/internal/junit/
DJUnitRule.java10 import org.mockito.MockitoSession;
23 private MockitoSession session;
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoSession.java9 import org.mockito.MockitoSession;
19 public class DefaultMockitoSession implements MockitoSession {
/external/mockito/src/main/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilder.java7 import org.mockito.MockitoSession;
64 public MockitoSession startMocking() { in startMocking()
/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessPerMockTest.java15 import org.mockito.MockitoSession;
35 MockitoSession mockito;
DStrictnessPerStubbingTest.java15 import org.mockito.MockitoSession;
33 MockitoSession mockito;
/external/mockito/src/test/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilderTest.java10 import org.mockito.MockitoSession;
72 MockitoSession session = new DefaultMockitoSessionBuilder() in uses_logger_and_strictness()
/external/mockito/src/main/java/org/mockito/quality/
DMockitoHint.java7 import org.mockito.MockitoSession;
DStrictness.java8 import org.mockito.MockitoSession;
/external/mockito/src/main/java/org/mockito/exceptions/misusing/
DUnnecessaryStubbingException.java8 import org.mockito.MockitoSession;
DUnfinishedMockingSessionException.java7 import org.mockito.MockitoSession;
/external/mockito/src/main/java/org/mockito/junit/
DMockitoRule.java12 import org.mockito.MockitoSession;
DMockitoJUnitRunner.java16 import org.mockito.MockitoSession;
/external/mockito/src/main/java/org/mockito/
DMockitoSession.java91 public interface MockitoSession { interface