/external/hamcrest/src/org/hamcrest/core/ |
package.html | 5 <p>Fundamental matchers of objects and values, and composite matchers.</p>
|
AllOf.java | 11 * Calculates the logical conjunction of two matchers. Evaluation is 16 private final Iterable<Matcher<? extends T>> matchers; field in class:AllOf 18 public AllOf(Iterable<Matcher<? extends T>> matchers) { 19 this.matchers = matchers; 23 for (Matcher<? extends T> matcher : matchers) { 32 description.appendList("(", " and ", ")", matchers); 36 * Evaluates to true only if ALL of the passed in matchers evaluate to true. 39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) { 40 return allOf(Arrays.asList(matchers)); [all...] |
AnyOf.java | 11 * Calculates the logical disjunction of two matchers. Evaluation is 17 private final Iterable<Matcher<? extends T>> matchers; field in class:AnyOf 19 public AnyOf(Iterable<Matcher<? extends T>> matchers) { 20 this.matchers = matchers; 24 for (Matcher<? extends T> matcher : matchers) { 33 description.appendList("(", " or ", ")", matchers); 37 * Evaluates to true if ANY of the passed in matchers evaluate to true. 40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) { 41 return anyOf(Arrays.asList(matchers)); [all...] |
/external/mockito/src/org/mockito/internal/matchers/ |
And.java | 6 package org.mockito.internal.matchers; 20 private final List<Matcher> matchers; field in class:And 22 public And(List<Matcher> matchers) { 23 this.matchers = matchers; 27 for (Matcher matcher : matchers) { 37 for (Iterator<Matcher> it = matchers.iterator(); it.hasNext();) {
|
Or.java | 6 package org.mockito.internal.matchers; 20 private final List<Matcher> matchers; field in class:Or 22 public Or(List<Matcher> matchers) { 23 this.matchers = matchers; 27 for (Matcher matcher : matchers) { 37 for (Iterator<Matcher> it = matchers.iterator(); it.hasNext();) {
|
MatchersPrinter.java | 5 package org.mockito.internal.matchers;
19 public String getArgumentsLine(List<Matcher> matchers, PrintSettings printSettings) {
21 result.appendList("(", ", ", ");", applyPrintSettings(matchers, printSettings));
25 public String getArgumentsBlock(List<Matcher> matchers, PrintSettings printSettings) {
27 result.appendList("(\n ", ",\n ", "\n);", applyPrintSettings(matchers, printSettings));
31 private List<SelfDescribing> applyPrintSettings(List<Matcher> matchers, PrintSettings printSettings) {
34 for (final Matcher matcher : matchers) {
|
CapturesArguments.java | 5 package org.mockito.internal.matchers;
|
VarargMatcher.java | 5 package org.mockito.internal.matchers;
|
package.html | 7 Argument matchers for verification and stubbing.
|
ContainsExtraTypeInformation.java | 5 package org.mockito.internal.matchers;
|
MatcherDecorator.java | 5 package org.mockito.internal.matchers;
|
/prebuilts/tools/common/easymock-tools/ |
easymock-3.1-javadoc.jar | |
easymock-3.1-sources.jar | |
/prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/ |
easymock-3.1-sources.jar | |
/external/easymock/src/org/easymock/internal/ |
ExpectedInvocation.java | 25 import org.easymock.internal.matchers.Equals;
36 private final List<IArgumentMatcher> matchers;
field in class:ExpectedInvocation 39 List<IArgumentMatcher> matchers) {
40 this(invocation, matchers, null);
44 List<IArgumentMatcher> matchers, @SuppressWarnings("deprecation")
48 this.matchers = (matcher == null) ? createMissingMatchers(invocation,
49 matchers) : null;
53 List<IArgumentMatcher> matchers) {
54 if (matchers != null) {
55 if (matchers.size() != invocation.getArguments().length) { [all...] |
LegacyMatcherProvider.java | 36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
field in class:LegacyMatcherProvider 39 if (!matchers.containsKey(method)) {
43 matchers.put(method, defaultMatcher);
45 return matchers.get(method);
59 if (matchers.containsKey(method) && matchers.get(method) != matcher) {
68 matchers.put(method, matcher);
77 matchers = new HashMap<Method, ArgumentsMatcher>(map.size());
82 matchers.put(method, entry.getValue());
95 matchers.size()); [all...] |
/external/junit/src/org/junit/matchers/ |
package-info.java | 7 * @see org.junit.matchers.JUnitMatchers 9 package org.junit.matchers
|
JUnitMatchers.java | 1 package org.junit.matchers; 4 import org.junit.internal.matchers.CombinableMatcher; 5 import org.junit.internal.matchers.Each; 6 import org.junit.internal.matchers.IsCollectionContaining; 7 import org.junit.internal.matchers.StringContains; 10 * Convenience import class: these are useful matchers for use with the assertThat method, but they are 41 * each matcher in elementMatcher (this may be one element matching all matchers, 65 * This is useful for fluently combining matchers that must both pass. For example: 75 * This is useful for fluently combining matchers where either may pass, for example:
|
/external/easymock/src/org/easymock/internal/matchers/ |
And.java | 16 package org.easymock.internal.matchers;
28 private final List<IArgumentMatcher> matchers;
field in class:And 30 public And(List<IArgumentMatcher> matchers) {
31 this.matchers = matchers;
35 for (IArgumentMatcher matcher : matchers) {
45 for (Iterator<IArgumentMatcher> it = matchers.iterator(); it.hasNext();) {
|
Or.java | 16 package org.easymock.internal.matchers;
28 private final List<IArgumentMatcher> matchers;
field in class:Or 30 public Or(List<IArgumentMatcher> matchers) {
31 this.matchers = matchers;
35 for (IArgumentMatcher matcher : matchers) {
45 for (Iterator<IArgumentMatcher> it = matchers.iterator(); it.hasNext();) {
|
/external/proguard/src/proguard/util/ |
ListMatcher.java | 33 private final StringMatcher[] matchers; field in class:ListMatcher 37 public ListMatcher(StringMatcher[] matchers) 39 this(matchers, null); 43 public ListMatcher(StringMatcher[] matchers, boolean[] negate) 45 this.matchers = matchers; 54 // Check the list of matchers. 55 for (int index = 0; index < matchers.length; index++) 57 StringMatcher matcher = matchers[index];
|
/external/mockito/src/org/mockito/internal/matchers/apachecommons/ |
package.html | 7 Argument matchers that use Apache Commons Lang reflection-equality.
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationMatcher.java | 15 import org.mockito.internal.matchers.CapturesArguments; 16 import org.mockito.internal.matchers.MatcherDecorator; 17 import org.mockito.internal.matchers.VarargMatcher; 28 private final List<Matcher> matchers; field in class:InvocationMatcher 30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) { 32 if (matchers.isEmpty()) { 33 this.matchers = ArgumentsProcessor.argumentsToMatchers(invocation.getArguments()); 35 this.matchers = matchers; 52 return this.matchers; [all...] |
ArgumentsProcessor.java | 8 import org.mockito.internal.matchers.ArrayEquals; 9 import org.mockito.internal.matchers.Equals; 42 List<Matcher> matchers = new ArrayList<Matcher>(arguments.length); local 45 matchers.add(new ArrayEquals(arg)); 47 matchers.add(new Equals(arg)); 50 return matchers;
|
/external/junit/src/org/junit/internal/matchers/ |
Each.java | 1 package org.junit.internal.matchers; 4 import static org.junit.internal.matchers.IsCollectionContaining.hasItem;
|