Home
last modified time | relevance | path

Searched refs:OngoingStubbing (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/stubbing/
DBaseStubbing.java11 import org.mockito.stubbing.OngoingStubbing;
13 public abstract class BaseStubbing<T> implements OngoingStubbing<T> {
15 public OngoingStubbing<T> thenReturn(T value) { in thenReturn()
20 public OngoingStubbing<T> thenReturn(T value, T... values) { in thenReturn()
21 OngoingStubbing<T> stubbing = thenReturn(value); in thenReturn()
32 private OngoingStubbing<T> thenThrow(Throwable throwable) { in thenThrow()
36 public OngoingStubbing<T> thenThrow(Throwable... throwables) { in thenThrow()
40 OngoingStubbing<T> stubbing = null; in thenThrow()
51 public OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType) { in thenThrow()
56 …public OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwab… in thenThrow()
[all …]
DConsecutiveStubbing.java8 import org.mockito.stubbing.OngoingStubbing;
17 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
22 public OngoingStubbing<T> then(Answer<?> answer) { in then()
DOngoingStubbingImpl.java9 import org.mockito.stubbing.OngoingStubbing;
23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
32 public OngoingStubbing<T> then(Answer<?> answer) { in then()
/external/mockito/src/main/java/org/mockito/stubbing/
DOngoingStubbing.java34 public interface OngoingStubbing<T> { interface
48 OngoingStubbing<T> thenReturn(T value); in thenReturn()
67 OngoingStubbing<T> thenReturn(T value, T... values); in thenReturn()
89 OngoingStubbing<T> thenThrow(Throwable... throwables); in thenThrow()
114 OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType); in thenThrow()
149OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... … in thenThrow()
180 OngoingStubbing<T> thenCallRealMethod(); in thenCallRealMethod()
196 OngoingStubbing<T> thenAnswer(Answer<?> answer); in thenAnswer()
217 OngoingStubbing<T> then(Answer<?> answer); in then()
/external/mockito/src/main/java/org/mockito/internal/progress/
DMockingProgressImpl.java17 import org.mockito.stubbing.OngoingStubbing;
32 private OngoingStubbing<?> ongoingStubbing;
50 public void reportOngoingStubbing(OngoingStubbing iOngoingStubbing) {
54 public OngoingStubbing<?> pullOngoingStubbing() {
55 OngoingStubbing<?> temp = ongoingStubbing;
DMockingProgress.java12 import org.mockito.stubbing.OngoingStubbing;
18 void reportOngoingStubbing(OngoingStubbing<?> ongoingStubbing); in reportOngoingStubbing()
20 OngoingStubbing<?> pullOngoingStubbing(); in pullOngoingStubbing()
/external/mockito/src/test/java/org/mockitousage/bugs/
DIOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest.java9 import org.mockito.stubbing.OngoingStubbing;
27 OngoingStubbing<String> mapOngoingStubbing = when(map.get(anyString())); in second_stubbing_throws_IndexOutOfBoundsException()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java48 import org.mockito.stubbing.OngoingStubbing;
70 public <T> OngoingStubbing<T> when(T methodCall) { in when()
74 OngoingStubbing<T> stubbing = (OngoingStubbing<T>) mockingProgress.pullOngoingStubbing(); in when()
/external/mockito/src/main/java/org/mockito/
DBDDMockito.java8 import org.mockito.stubbing.OngoingStubbing;
149 private final OngoingStubbing<T> mockitoOngoingStubbing;
151 public BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing) { in BDDOngoingStubbingImpl()
DMockito.java1888 public static <T> OngoingStubbing<T> when(T methodCall) { in when()