/external/mockito/src/main/java/org/mockito/internal/listeners/ |
D | StubbingLookupNotifier.java | 10 import org.mockito.stubbing.Stubbing; 17 public static void notifyStubbedAnswerLookup(Invocation invocation, Stubbing stubbingFound, in notifyStubbedAnswerLookup() 18 … Collection<Stubbing> allStubbings, CreationSettings creationSettings) { in notifyStubbedAnswerLookup() 31 final private Stubbing stubbing; 32 final private Collection<Stubbing> allStubbings; 36 Stubbing stubbing, in Event() 37 Collection<Stubbing> allStubbings, in Event() 51 public Stubbing getStubbingFound() { in getStubbingFound() 56 public Collection<Stubbing> getAllStubbings() { in getAllStubbings()
|
D | StubbingLookupEvent.java | 9 import org.mockito.stubbing.Stubbing; 25 Stubbing getStubbingFound(); in getStubbingFound() 30 Collection<Stubbing> getAllStubbings(); in getAllStubbings()
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | UnusedStubbingsFinder.java | 11 import org.mockito.stubbing.Stubbing; 32 Set<Stubbing> stubbings = AllInvocationsFinder.findStubbings(mocks); in getUnusedStubbings() 34 List<Stubbing> unused = filter(stubbings, new Filter<Stubbing>() { in getUnusedStubbings() 35 public boolean isOut(Stubbing s) { in getUnusedStubbings() 54 Set<Stubbing> stubbings = AllInvocationsFinder.findStubbings(mocks); in getUnusedStubbingsByLocation() 59 for (Stubbing s : stubbings) { in getUnusedStubbingsByLocation() 71 for (Stubbing s : stubbings) { in getUnusedStubbingsByLocation()
|
D | UnusedStubbings.java | 10 import org.mockito.stubbing.Stubbing; 21 private final Collection<? extends Stubbing> unused; 23 UnusedStubbings(Collection<? extends Stubbing> unused) { in UnusedStubbings() 34 for (Stubbing candidate : unused) { in format() 56 for (Stubbing stubbing : unused) { in reportUnused()
|
D | DefaultStubbingLookupListener.java | 13 import org.mockito.stubbing.Stubbing; 56 …ic List<Invocation> potentialArgMismatches(Invocation invocation, Collection<Stubbing> stubbings) { in potentialArgMismatches() 58 for (Stubbing s : stubbings) { in potentialArgMismatches()
|
D | ArgMismatchFinder.java | 9 import org.mockito.stubbing.Stubbing; 22 for (Stubbing stubbing : AllInvocationsFinder.findStubbings(mocks)) { in getStubbingArgMismatches()
|
/external/mockito/src/main/java/org/mockito/internal/debugging/ |
D | InvocationsPrinter.java | 10 import org.mockito.stubbing.Stubbing; 22 Collection<Stubbing> stubbings = Mockito.mockingDetails(mock).getStubbings(); in printInvocations() 40 LinkedList<Stubbing> unused = ListUtil.filter(stubbings, new ListUtil.Filter<Stubbing>() { in printInvocations() 41 public boolean isOut(Stubbing s) { in printInvocations() 52 for(Stubbing s:stubbings) { in printInvocations()
|
/external/mockito/src/main/java/org/mockito/internal/invocation/finder/ |
D | AllInvocationsFinder.java | 9 import org.mockito.stubbing.Stubbing; 42 public static Set<Stubbing> findStubbings(Iterable<?> mocks) { in findStubbings() 43 Set<Stubbing> stubbings = new TreeSet<Stubbing>(new StubbingComparator()); in findStubbings() 45 … Collection<? extends Stubbing> fromSingleMock = new DefaultMockingDetails(mock).getStubbings(); in findStubbings()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StubbingComparator.java | 8 import org.mockito.stubbing.Stubbing; 15 public class StubbingComparator implements Comparator<Stubbing> { 19 public int compare(Stubbing o1, Stubbing o2) { in compare()
|
D | InvocationContainerImpl.java | 17 import org.mockito.stubbing.Stubbing; 143 public List<Stubbing> getStubbingsDescending() { in getStubbingsDescending() 150 public Collection<Stubbing> getStubbingsAscending() { in getStubbingsAscending() 151 List<Stubbing> result = new LinkedList<Stubbing>(stubbed); in getStubbingsAscending()
|
D | UnusedStubbingReporting.java | 8 import org.mockito.stubbing.Stubbing; 19 public static boolean shouldBeReported(Stubbing stubbing) { in shouldBeReported()
|
D | StrictnessSelector.java | 9 import org.mockito.stubbing.Stubbing; 28 …public static Strictness determineStrictness(Stubbing stubbing, MockCreationSettings mockSettings,… in determineStrictness()
|
D | StubbedInvocationMatcher.java | 13 import org.mockito.stubbing.Stubbing; 20 public class StubbedInvocationMatcher extends InvocationMatcher implements Serializable, Stubbing {
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | UnusedStubsFinder.java | 10 import org.mockito.stubbing.Stubbing; 26 … List<Stubbing> fromSingleMock = MockUtil.getInvocationContainer(mock).getStubbingsDescending(); in find() 27 for(Stubbing s : fromSingleMock) { in find()
|
/external/mockito/src/test/java/org/mockito/internal/listeners/ |
D | StubbingLookupNotifierTest.java | 12 import org.mockito.stubbing.Stubbing; 28 Stubbing stubbingFound = mock(Stubbing.class); 29 Collection<Stubbing> allStubbings = mock(Collection.class);
|
/external/mockito/src/main/java/org/mockito/ |
D | MockingDetails.java | 11 import org.mockito.stubbing.Stubbing; 91 Collection<Stubbing> getStubbings(); in getStubbings()
|
D | Mockito.java | 36 import org.mockito.stubbing.Stubbing;
|
/external/mockito/src/test/java/org/mockito/internal/ |
D | AllInvocationsFinderTest.java | 10 import org.mockito.stubbing.Stubbing; 82 …List<Stubbing> stubbings = new ArrayList<Stubbing>(findStubbings(asList(mockOne, mockOne, mockTwo)… in provides_stubbings_in_order()
|
/external/mockito/subprojects/inline/src/test/java/org/mockitoinline/ |
D | StubbingLocationTest.java | 11 import org.mockito.stubbing.Stubbing; 26 Set<Stubbing> stubbings = AllInvocationsFinder.findStubbings(Collections.singleton(mock)); in stubbing_location_should_be_the_correct_point()
|
/external/mockito/src/test/java/org/mockito/internal/junit/ |
D | UnusedStubbingsTest.java | 11 import org.mockito.stubbing.Stubbing; 28 UnusedStubbings stubbings = new UnusedStubbings(Collections.<Stubbing>emptyList()); in no_unused_stubbings()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | DefaultMockingDetails.java | 14 import org.mockito.stubbing.Stubbing; 56 public Collection<Stubbing> getStubbings() { in getStubbings()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsDeepStubs.java | 18 import org.mockito.stubbing.Stubbing; 64 for (Stubbing stubbing : container.getStubbingsDescending()) { in deepStub()
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | Stubbing.java | 25 public interface Stubbing extends Answer { interface
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | DefaultMockingDetailsTest.java | 14 import org.mockito.stubbing.Stubbing; 162 Collection<Stubbing> stubbings = mockingDetails(mock).getStubbings(); in provides_stubbings_of_mock_in_declaration_order()
|
/external/dexmaker/ |
D | Android.bp | 236 // Stubbing static methods is not an official mockito API.
|