Home
last modified time | relevance | path

Searched refs:lastMatchers (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/invocation/
DMatchersBinder.java24 List<LocalizedMatcher> lastMatchers = argumentMatcherStorage.pullLocalizedMatchers(); in bindMatchers() local
25 validateMatchers(invocation, lastMatchers); in bindMatchers()
28 for (LocalizedMatcher m : lastMatchers) { in bindMatchers()
34 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) { in validateMatchers() argument
35 if (!lastMatchers.isEmpty()) { in validateMatchers()
36 int recordedMatchersSize = lastMatchers.size(); in validateMatchers()
39 throw invalidUseOfMatchers(expectedMatchersSize, lastMatchers); in validateMatchers()
/external/mockito/src/main/java/org/mockito/internal/progress/
DArgumentMatcherStorageImpl.java36 List<LocalizedMatcher> lastMatchers = resetStack(); in pullLocalizedMatchers() local
37 return lastMatchers; in pullLocalizedMatchers()
68 List<LocalizedMatcher> lastMatchers = resetStack(); in validateState() local
69 throw misplacedArgumentMatcher(lastMatchers); in validateState()
82 List<LocalizedMatcher> lastMatchers = resetStack(); in assertStateFor() local
83 … throw incorrectUseOfAdditionalMatchers(additionalMatcherName, subMatchersCount, lastMatchers); in assertStateFor()
92 ArrayList<LocalizedMatcher> lastMatchers = new ArrayList<LocalizedMatcher>(matcherStack); in resetStack() local
94 return lastMatchers; in resetStack()
/external/easymock/src/org/easymock/internal/
DRecordState.java75 List<IArgumentMatcher> lastMatchers = LastControl.pullMatchers(); in invoke() local
76 lastInvocation = new ExpectedInvocation(invocation, lastMatchers); in invoke()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java506 public static MockitoException misplacedArgumentMatcher(List<LocalizedMatcher> lastMatchers) { in misplacedArgumentMatcher() argument
509 locationsOf(lastMatchers), in misplacedArgumentMatcher()