Home
last modified time | relevance | path

Searched refs:BaseMatcher (Results 1 – 25 of 26) sorted by relevance

12

/external/mockito/src/test/java/org/mockito/internal/hamcrest/
DMatcherGenericTypeExtractorTest.java7 import org.hamcrest.BaseMatcher;
22 private class IntMatcher extends BaseMatcher<Integer> {
30 private static class StaticIntMatcher extends BaseMatcher<Integer> {
47 private static class NonGenericMatcher extends BaseMatcher {
55 private class IntMatcherFromInterface extends BaseMatcher<Integer> {
64 private static class StaticIntMatcherFromInterface extends BaseMatcher<Integer> {
74 private static class NonGenericMatcherFromInterface extends BaseMatcher {
85 …private static class SubclassGenericMatcherFromInterface extends BaseMatcher<Integer> implements S…
107 assertEquals(Integer.class, genericTypeOfMatcher(new BaseMatcher<Integer>() { in findsGenericType()
115 assertEquals(Integer.class, genericTypeOfMatcher(new BaseMatcher<Integer>() { in findsGenericType()
/external/junit/src/main/java/org/junit/experimental/results/
DResultMatchers.java3 import org.hamcrest.BaseMatcher;
44 return new BaseMatcher<Object>() {
60 return new BaseMatcher<PrintableResult>() {
/external/mockito/src/test/java/org/mockitousage/matchers/
DHamcrestMatchersTest.java8 import org.hamcrest.BaseMatcher;
27 private final class ContainsX extends BaseMatcher<String> {
59 private class IntMatcher extends BaseMatcher<Integer> {
92 private class NonGenericMatcher extends BaseMatcher {
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsArrayTest.java4 import org.hamcrest.BaseMatcher;
50 final BaseMatcher<String> m = new BaseMatcher<String>() { in testHasAReadableMismatchDescriptionUsingCustomMatchers()
/external/mockito/src/main/java/org/mockito/internal/hamcrest/
DMatcherGenericTypeExtractor.java7 import org.hamcrest.BaseMatcher;
23 return genericTypeOf(matcherClass, BaseMatcher.class, Matcher.class); in genericTypeOfMatcher()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsAnything.java3 import org.hamcrest.BaseMatcher;
11 public class IsAnything<T> extends BaseMatcher<T> {
DIsSame.java3 import org.hamcrest.BaseMatcher;
11 public class IsSame<T> extends BaseMatcher<T> {
DShortcutCombination.java3 import org.hamcrest.BaseMatcher;
7 abstract class ShortcutCombination<T> extends BaseMatcher<T> {
DIsNull.java3 import org.hamcrest.BaseMatcher;
12 public class IsNull<T> extends BaseMatcher<T> {
DIsNot.java3 import org.hamcrest.BaseMatcher;
13 public class IsNot<T> extends BaseMatcher<T> {
DIs.java3 import org.hamcrest.BaseMatcher;
17 public class Is<T> extends BaseMatcher<T> {
DDescribedAs.java3 import org.hamcrest.BaseMatcher;
14 public class DescribedAs<T> extends BaseMatcher<T> {
DIsEqual.java3 import org.hamcrest.BaseMatcher;
14 public class IsEqual<T> extends BaseMatcher<T> {
/external/junit/src/main/java/org/junit/internal/matchers/
DTypeSafeMatcher.java5 import org.hamcrest.BaseMatcher;
16 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsIn.java3 import org.hamcrest.BaseMatcher;
10 public class IsIn<T> extends BaseMatcher<T> {
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCustomMatcher.java23 public abstract class CustomMatcher<T> extends BaseMatcher<T> {
DBaseMatcher.java8 public abstract class BaseMatcher<T> implements Matcher<T> { class
DDiagnosingMatcher.java8 public abstract class DiagnosingMatcher<T> extends BaseMatcher<T> {
DTypeSafeDiagnosingMatcher.java17 public abstract class TypeSafeDiagnosingMatcher<T> extends BaseMatcher<T> {
DTypeSafeMatcher.java13 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DNumberOfInvocationsCheckerTest.java9 import org.hamcrest.BaseMatcher;
148 private static BaseMatcher<String> containsTimes(String value, int amount) { in containsTimes()
DNumberOfInvocationsInOrderCheckerTest.java10 import org.hamcrest.BaseMatcher;
188 private static BaseMatcher<String> containsTimes(String value, int amount) { in containsTimes()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
DBaseMatcherTest.java12 Matcher<Object> someMatcher = new BaseMatcher<Object>() { in describesItselfWithToStringMethod()
DMatcherAssertTest.java64 Matcher<String> matcherWithCustomMismatchDescription = new BaseMatcher<String>() { in includesMismatchDescription()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DMatcherApplicationStrategyTest.java17 import org.hamcrest.BaseMatcher;
207 class IntMatcher extends BaseMatcher<Integer> implements VarargMatcher {

12