Home
last modified time | relevance | path

Searched refs:matcherStack (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/progress/
DArgumentMatcherStorageImpl.java25 private final Stack<LocalizedMatcher> matcherStack = new Stack<LocalizedMatcher>(); field in ArgumentMatcherStorageImpl
28 matcherStack.push(new LocalizedMatcher(matcher)); in reportMatcher()
32 if (matcherStack.isEmpty()) { in pullLocalizedMatchers()
67 if (!matcherStack.isEmpty()) { in validateState()
74 matcherStack.clear(); in reset()
78 if (matcherStack.isEmpty()) { in assertStateFor()
81 if (matcherStack.size() < subMatchersCount) { in assertStateFor()
88 return matcherStack.pop().getMatcher(); in popMatcher()
92 ArrayList<LocalizedMatcher> lastMatchers = new ArrayList<LocalizedMatcher>(matcherStack); in resetStack()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java259 …g additionalMatcherName, int expectedSubMatchersCount, Collection<LocalizedMatcher> matcherStack) { in incorrectUseOfAdditionalMatchers() argument
264 … expectedSubMatchersCount + " sub matchers expected, " + matcherStack.size() + " recorded:", in incorrectUseOfAdditionalMatchers()
265 locationsOf(matcherStack), in incorrectUseOfAdditionalMatchers()