Home
last modified time | relevance | path

Searched defs:matchers (Results 1 – 25 of 46) sorted by relevance

12

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DAllOf.java16 private final Iterable<Matcher<? super T>> matchers; field in AllOf
18 public AllOf(Iterable<Matcher<? super T>> matchers) { in AllOf()
44 public static <T> Matcher<T> allOf(Iterable<Matcher<? super T>> matchers) { in allOf()
54 public static <T> Matcher<T> allOf(Matcher<? super T>... matchers) { in allOf()
DAnyOf.java15 public AnyOf(Iterable<Matcher<? super T>> matchers) { in AnyOf()
34 public static <T> AnyOf<T> anyOf(Iterable<Matcher<? super T>> matchers) { in anyOf()
44 public static <T> AnyOf<T> anyOf(Matcher<? super T>... matchers) { in anyOf()
DShortcutCombination.java9 private final Iterable<Matcher<? super T>> matchers; field in ShortcutCombination
11 public ShortcutCombination(Iterable<Matcher<? super T>> matchers) { in ShortcutCombination()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DMatcherApplicationStrategy.java22 private final List<ArgumentMatcher<?>> matchers; field in MatcherApplicationStrategy
27 …private MatcherApplicationStrategy(Invocation invocation, List<ArgumentMatcher<?>> matchers, Match… in MatcherApplicationStrategy()
51 …rategy getMatcherApplicationStrategyFor(Invocation invocation, List<ArgumentMatcher<?>> matchers) { in getMatcherApplicationStrategyFor()
89 …plicationType getMatcherApplicationType(Invocation invocation, List<ArgumentMatcher<?>> matchers) { in getMatcherApplicationType()
105 private static boolean isLastMatcherVargargMatcher(final List<ArgumentMatcher<?>> matchers) { in isLastMatcherVargargMatcher()
109 …ate static List<ArgumentMatcher<?>> appendLastMatcherNTimes(List<ArgumentMatcher<?>> matchers, int… in appendLastMatcherNTimes()
125 private static ArgumentMatcher<?> lastMatcher(List<ArgumentMatcher<?>> matchers) { in lastMatcher()
DInvocationMatcher.java33 private final List<ArgumentMatcher<?>> matchers; field in InvocationMatcher
36 public InvocationMatcher(Invocation invocation, List<ArgumentMatcher> matchers) { in InvocationMatcher()
DMatchersBinder.java27 List<ArgumentMatcher> matchers = new LinkedList<ArgumentMatcher>(); in bindMatchers() local
DArgumentsProcessor.java55 List<ArgumentMatcher> matchers = new ArrayList<ArgumentMatcher>(arguments.length); in argumentsToMatchers() local
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsIterableContainingInAnyOrder.java15 private final Collection<Matcher<? super T>> matchers; field in IsIterableContainingInAnyOrder
17 public IsIterableContainingInAnyOrder(Collection<Matcher<? super T>> matchers) { in IsIterableContainingInAnyOrder()
41 private final Collection<Matcher<? super S>> matchers; field in IsIterableContainingInAnyOrder.Matching
44 public Matching(Collection<Matcher<? super S>> matchers, Description mismatchDescription) { in Matching()
124 List<Matcher<? super T>> matchers = new ArrayList<Matcher<? super T>>(); in containsInAnyOrder() local
DIsIterableContainingInRelativeOrder.java14 private final List<Matcher<? super E>> matchers; field in IsIterableContainingInRelativeOrder
16 public IsIterableContainingInRelativeOrder(List<Matcher<? super E>> matchers) { in IsIterableContainingInRelativeOrder()
32 public final List<Matcher<? super F>> matchers; field in IsIterableContainingInRelativeOrder.MatchSeriesInRelativeOrder
37 …public MatchSeriesInRelativeOrder(List<Matcher<? super F>> matchers, Description mismatchDescripti… in MatchSeriesInRelativeOrder()
81 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in containsInRelativeOrder() local
DIsIterableContainingInOrder.java15 private final List<Matcher<? super E>> matchers; field in IsIterableContainingInOrder
17 public IsIterableContainingInOrder(List<Matcher<? super E>> matchers) { in IsIterableContainingInOrder()
39 private final List<Matcher<? super F>> matchers; field in IsIterableContainingInOrder.MatchSeries
43 public MatchSeries(List<Matcher<? super F>> matchers, Description mismatchDescription) { in MatchSeries()
96 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in contains() local
DIsArrayContainingInAnyOrder.java16 private final Collection<Matcher<? super E>> matchers; field in IsArrayContainingInAnyOrder
18 public IsArrayContainingInAnyOrder(Collection<Matcher<? super E>> matchers) { in IsArrayContainingInAnyOrder()
106 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in arrayContainingInAnyOrder() local
DIsArrayContainingInOrder.java16 private final Collection<Matcher<? super E>> matchers; field in IsArrayContainingInOrder
19 public IsArrayContainingInOrder(List<Matcher<? super E>> matchers) { in IsArrayContainingInOrder()
50 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in arrayContaining() local
/external/proguard/src/proguard/util/
DListMatcher.java33 private final StringMatcher[] matchers; field in ListMatcher
37 public ListMatcher(StringMatcher[] matchers) in ListMatcher()
43 public ListMatcher(StringMatcher[] matchers, boolean[] negate) in ListMatcher()
/external/mockito/src/main/java/org/mockito/internal/matchers/text/
DMatchersPrinter.java18 public String getArgumentsLine(List<ArgumentMatcher> matchers, PrintSettings printSettings) { in getArgumentsLine()
23 public String getArgumentsBlock(List<ArgumentMatcher> matchers, PrintSettings printSettings) { in getArgumentsBlock()
28 …private Iterator<FormattedText> applyPrintSettings(List<ArgumentMatcher> matchers, PrintSettings p… in applyPrintSettings()
/external/mockito/src/test/java/org/mockito/internal/verification/argumentmatching/
DArgumentMatchingToolTest.java25 List<ArgumentMatcher> matchers = (List) Arrays.asList(new Equals(1)); in shouldNotFindAnySuspiciousMatchersWhenNumberOfArgumentsDoesntMatch() local
37 List<ArgumentMatcher> matchers = (List) Arrays.asList(new Equals(10), new Equals(20)); in shouldNotFindAnySuspiciousMatchersWhenArgumentsMatch() local
53 List<ArgumentMatcher> matchers = (List) Arrays.asList(new Equals(10), matcherInt20); in shouldFindSuspiciousMatchers() local
111 List<ArgumentMatcher> matchers = (List) singletonList(new StringMatcher()); in shouldUseMatchersSafely() local
/external/easymock/src/org/easymock/internal/
DExpectedInvocation.java36 private final List<IArgumentMatcher> matchers; field in ExpectedInvocation
39 List<IArgumentMatcher> matchers) { in ExpectedInvocation()
44 List<IArgumentMatcher> matchers, @SuppressWarnings("deprecation") in ExpectedInvocation()
53 List<IArgumentMatcher> matchers) { in createMissingMatchers()
/external/easymock/src/org/easymock/internal/matchers/
DAnd.java28 private final List<IArgumentMatcher> matchers; field in And
30 public And(List<IArgumentMatcher> matchers) { in And()
DOr.java28 private final List<IArgumentMatcher> matchers; field in Or
30 public Or(List<IArgumentMatcher> matchers) { in Or()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DMatcherApplicationStrategyTest.java34 private List matchers; field in MatcherApplicationStrategyTest
200 private List<ArgumentMatcher<?>> matchers = new ArrayList<ArgumentMatcher<?>>(); field in MatcherApplicationStrategyTest.RecordingAction
212 public void assertContainsExactly(ArgumentMatcher<?>... matchers) { in assertContainsExactly()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java11 …blic static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> … in allOf()
21 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf()
31 …c static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> … in anyOf()
41 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
DNullSafety.java12 … final List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(itemMatchers.length); in nullSafe() local
/external/autotest/site_utils/stats/
Dlog_daemon_common.py12 def RunMatchers(stream, matchers): argument
/external/junit/src/main/java/org/junit/rules/
DExpectedExceptionMatcherBuilder.java16 private final List<Matcher<?>> matchers = new ArrayList<Matcher<?>>(); field in ExpectedExceptionMatcherBuilder
/external/mockito/src/main/java/org/mockito/internal/verification/argumentmatching/
DArgumentMatchingTool.java20 …public static Integer[] getSuspiciouslyNotMatchingArgsIndexes(List<ArgumentMatcher> matchers, Obje… in getSuspiciouslyNotMatchingArgsIndexes()
/external/testng/src/test/java/test/failures/
DBaseFailuresTest.java39 Pattern[] matchers = new Pattern[strRegexps.length]; in containsRegularExpressions() local

12