/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | MockStatic.java | 47 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 …]
|
D | VerifyStatic.java | 23 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()
|
D | StaticMockitoSession.java | 23 import org.mockito.MockitoSession; 38 MockitoSession session = mockitoSession().spyStatic(Settings.Global.class).startMocking(); in strictUnnecessaryStubbing() 55 MockitoSession session = mockitoSession().strictness(Strictness.LENIENT) in lenientUnnecessaryStubbing()
|
D | Stress.java | 22 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/ |
D | MockitoSessionTest.java | 13 import org.mockito.MockitoSession; 105 MockitoSession mockito = Mockito.mockitoSession().startMocking(); 120 … MockitoSession 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(); 194 …MockitoSession 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/ |
D | StaticMockitoSession.java | 20 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/ |
D | StrictStubbingEndToEndTest.java | 13 import org.mockito.MockitoSession; 83 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 97 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 111 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU… 151 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
|
D | StrictStubbingTest.java | 11 import org.mockito.MockitoSession; 27 …MockitoSession mockito = Mockito.mockitoSession().initMocks(this).strictness(Strictness.STRICT_STU…
|
D | StubbingWarningsTest.java | 10 import org.mockito.MockitoSession; 31 …MockitoSession mockito = new DefaultMockitoSession(singletonList((Object) this), TEST_NAME, Strict…
|
/external/mockito/src/main/java/org/mockito/session/ |
D | MockitoSessionBuilder.java | 9 import org.mockito.MockitoSession; 138 MockitoSession startMocking() throws UnfinishedMockingSessionException; in startMocking()
|
D | MockitoSessionLogger.java | 8 import org.mockito.MockitoSession;
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | JUnitRule.java | 10 import org.mockito.MockitoSession; 23 private MockitoSession session;
|
/external/mockito/src/main/java/org/mockito/internal/framework/ |
D | DefaultMockitoSession.java | 9 import org.mockito.MockitoSession; 19 public class DefaultMockitoSession implements MockitoSession {
|
/external/mockito/src/main/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilder.java | 7 import org.mockito.MockitoSession; 64 public MockitoSession startMocking() { in startMocking()
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessPerMockTest.java | 15 import org.mockito.MockitoSession; 35 MockitoSession mockito;
|
D | StrictnessPerStubbingTest.java | 15 import org.mockito.MockitoSession; 33 MockitoSession mockito;
|
/external/mockito/src/test/java/org/mockito/internal/session/ |
D | DefaultMockitoSessionBuilderTest.java | 10 import org.mockito.MockitoSession; 72 MockitoSession session = new DefaultMockitoSessionBuilder() in uses_logger_and_strictness()
|
/external/mockito/src/main/java/org/mockito/quality/ |
D | MockitoHint.java | 7 import org.mockito.MockitoSession;
|
D | Strictness.java | 8 import org.mockito.MockitoSession;
|
/external/mockito/src/main/java/org/mockito/exceptions/misusing/ |
D | UnnecessaryStubbingException.java | 8 import org.mockito.MockitoSession;
|
D | UnfinishedMockingSessionException.java | 7 import org.mockito.MockitoSession;
|
/external/mockito/src/main/java/org/mockito/junit/ |
D | MockitoRule.java | 12 import org.mockito.MockitoSession;
|
D | MockitoJUnitRunner.java | 16 import org.mockito.MockitoSession;
|
/external/mockito/src/main/java/org/mockito/ |
D | MockitoSession.java | 91 public interface MockitoSession { interface
|