Searched refs:BaseMatcher (Results 1 – 25 of 26) sorted by relevance
12
7 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()
3 import org.hamcrest.BaseMatcher;44 return new BaseMatcher<Object>() {60 return new BaseMatcher<PrintableResult>() {
8 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 {
4 import org.hamcrest.BaseMatcher;50 final BaseMatcher<String> m = new BaseMatcher<String>() { in testHasAReadableMismatchDescriptionUsingCustomMatchers()
7 import org.hamcrest.BaseMatcher;23 return genericTypeOf(matcherClass, BaseMatcher.class, Matcher.class); in genericTypeOfMatcher()
3 import org.hamcrest.BaseMatcher;11 public class IsAnything<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;11 public class IsSame<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;7 abstract class ShortcutCombination<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;12 public class IsNull<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;13 public class IsNot<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;17 public class Is<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;14 public class DescribedAs<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;14 public class IsEqual<T> extends BaseMatcher<T> {
5 import org.hamcrest.BaseMatcher;16 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
3 import org.hamcrest.BaseMatcher;10 public class IsIn<T> extends BaseMatcher<T> {
23 public abstract class CustomMatcher<T> extends BaseMatcher<T> {
8 public abstract class BaseMatcher<T> implements Matcher<T> { class
8 public abstract class DiagnosingMatcher<T> extends BaseMatcher<T> {
17 public abstract class TypeSafeDiagnosingMatcher<T> extends BaseMatcher<T> {
13 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
9 import org.hamcrest.BaseMatcher;148 private static BaseMatcher<String> containsTimes(String value, int amount) { in containsTimes()
10 import org.hamcrest.BaseMatcher;188 private static BaseMatcher<String> containsTimes(String value, int amount) { in containsTimes()
12 Matcher<Object> someMatcher = new BaseMatcher<Object>() { in describesItselfWithToStringMethod()
64 Matcher<String> matcherWithCustomMismatchDescription = new BaseMatcher<String>() { in includesMismatchDescription()
17 import org.hamcrest.BaseMatcher;207 class IntMatcher extends BaseMatcher<Integer> implements VarargMatcher {