/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | UnusedStubbingsFinder.java | 7 import org.mockito.stubbing.Stubbing; 25 Set<Stubbing> stubbings = AllInvocationsFinder.findStubbings(mocks); in getUnusedStubbings() 27 List<Stubbing> unused = filter(stubbings, new Filter<Stubbing>() { in getUnusedStubbings() 28 public boolean isOut(Stubbing s) { in getUnusedStubbings() 47 Set<Stubbing> stubbings = AllInvocationsFinder.findStubbings(mocks); in getUnusedStubbingsByLocation() 52 for (Stubbing s : stubbings) { in getUnusedStubbingsByLocation() 64 for (Stubbing s : stubbings) { in getUnusedStubbingsByLocation()
|
D | UnusedStubbings.java | 11 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() 52 …ns = ListUtil.convert(unused, (ListUtil.Converter) new ListUtil.Converter<Stubbing, Invocation>() { in reportUnused() 53 public Invocation convert(Stubbing s) { in reportUnused()
|
D | DefaultStubbingLookupListener.java | 12 import org.mockito.stubbing.Stubbing; 55 Collection<Stubbing> stubbings = mockingDetails(invocation.getMock()).getStubbings(); in potentialArgMismatches() 56 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 | StubbedInvocationMatcher.java | 9 import org.mockito.stubbing.Stubbing; 19 public class StubbedInvocationMatcher extends InvocationMatcher implements Serializable, Stubbing {
|
D | InvocationContainerImpl.java | 16 import org.mockito.stubbing.Stubbing; 130 public List<Stubbing> getStubbedInvocations() { in getStubbedInvocations()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | DefaultMockingDetails.java | 15 import org.mockito.stubbing.Stubbing; 59 public Collection<Stubbing> getStubbings() { in getStubbings() 60 List<? extends Stubbing> stubbings = getInvocationContainer().getStubbedInvocations(); in getStubbings() 61 TreeSet<Stubbing> out = new TreeSet<Stubbing>(new StubbingComparator()); in getStubbings()
|
/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).getStubbedInvocations(); in find() 27 for(Stubbing s : fromSingleMock) { in find()
|
/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/src/main/java/org/mockito/ |
D | MockingDetails.java | 11 import org.mockito.stubbing.Stubbing; 91 Collection<Stubbing> getStubbings(); in getStubbings()
|
D | Mockito.java | 33 import org.mockito.stubbing.Stubbing;
|
/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 | 14 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/stubbing/defaultanswers/ |
D | ReturnsDeepStubs.java | 18 import org.mockito.stubbing.Stubbing; 64 for (Stubbing stubbing : container.getStubbedInvocations()) { in deepStub()
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | Stubbing.java | 22 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()
|