HomeSort by relevance Sort by last modified time
    Searched refs:Matcher (Results 26 - 50 of 604) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/hamcrest/library/src/org/hamcrest/text/
StringEndsWith.java 6 import org.hamcrest.Matcher;
25 public static Matcher<String> endsWith(String substring) {
StringStartsWith.java 6 import org.hamcrest.Matcher;
25 public static Matcher<String> startsWith(String substring) {
X.java 3 import org.hamcrest.Matcher;
15 private static void x(Matcher<String> s) {
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/regex/
Pattern.java 34 public Matcher matcher (CharSequence input) { method in class:Pattern
35 return new Matcher(this, input);
  /external/mockito/src/org/mockito/internal/matchers/
AnyVararg.java 9 import org.hamcrest.Matcher;
16 public static final Matcher ANY_VARARG = new AnyVararg();
And.java 13 import org.hamcrest.Matcher;
20 private final List<Matcher> matchers;
22 public And(List<Matcher> matchers) {
27 for (Matcher matcher : matchers) {
28 if (!matcher.matches(actual)) {
37 for (Iterator<Matcher> it = matchers.iterator(); it.hasNext();) {
Or.java 13 import org.hamcrest.Matcher;
20 private final List<Matcher> matchers;
22 public Or(List<Matcher> matchers) {
27 for (Matcher matcher : matchers) {
28 if (matcher.matches(actual)) {
37 for (Iterator<Matcher> it = matchers.iterator(); it.hasNext();) {
Not.java 11 import org.hamcrest.Matcher;
18 private final Matcher first;
20 public Not(Matcher first) {
  /external/mockito/src/org/mockito/internal/progress/
ArgumentMatcherStorage.java 7 import org.hamcrest.Matcher;
15 HandyReturnValues reportMatcher(Matcher matcher);
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
ConversionRule.java 27 import java.util.regex.Matcher;
35 * Given replacement rules, replace each capturing group in matcher's pattern
37 * @param matcher
40 public String replace(Matcher matcher);
  /external/hamcrest/src/org/hamcrest/core/
IsNull.java 7 import org.hamcrest.Matcher;
27 public static <T> Matcher<T> nullValue() {
35 public static <T> Matcher<T> notNullValue() {
43 public static <T> Matcher<T> nullValue(@SuppressWarnings("unused") Class<T> type) {
51 public static <T> Matcher<T> notNullValue(@SuppressWarnings("unused") Class<T> type) {
IsAnything.java 6 import org.hamcrest.Matcher;
12 * A matcher that always returns <code>true</code>.
35 * This matcher always evaluates to true.
38 public static <T> Matcher<T> anything() {
43 * This matcher always evaluates to true.
48 public static <T> Matcher<T> anything(String description) {
53 * This matcher always evaluates to true. With type inference.
56 public static <T> Matcher<T> any(@SuppressWarnings("unused")Class<T> type) {
DescribedAs.java 8 import org.hamcrest.Matcher;
13 * Provides a custom description to another matcher.
17 private final Matcher<T> matcher; field in class:DescribedAs
22 public DescribedAs(String descriptionTemplate, Matcher<T> matcher, Object[] values) {
24 this.matcher = matcher;
29 return matcher.matches(o);
33 java.util.regex.Matcher arg = ARG_PATTERN.matcher(descriptionTemplate);
    [all...]
  /external/junit/src/org/junit/internal/matchers/
CombinableMatcher.java 7 import org.hamcrest.Matcher;
11 private final Matcher<? extends T> fMatcher;
13 public CombinableMatcher(Matcher<? extends T> matcher) {
14 fMatcher= matcher;
26 public CombinableMatcher<T> and(Matcher<? extends T> matcher) {
27 return new CombinableMatcher<T>(allOf(matcher, fMatcher));
31 public CombinableMatcher<T> or(Matcher<? extends T> matcher) {
    [all...]
Each.java 7 import org.hamcrest.Matcher;
10 public static <T> Matcher<Iterable<T>> each(final Matcher<T> individual) {
11 final Matcher<Iterable<T>> allItemsAre = not(hasItem(not(individual)));
StringContains.java 6 import org.hamcrest.Matcher;
27 public static Matcher<String> containsString(String substring) {
  /external/guice/core/src/com/google/inject/internal/
MethodAspect.java 21 import com.google.inject.matcher.Matcher;
30 * Ties a matcher to a method interceptor.
36 private final Matcher<? super Class<?>> classMatcher;
37 private final Matcher<? super Method> methodMatcher;
47 MethodAspect(Matcher<? super Class<?>> classMatcher,
48 Matcher<? super Method> methodMatcher, List<MethodInterceptor> interceptors) {
49 this.classMatcher = checkNotNull(classMatcher, "class matcher");
50 this.methodMatcher = checkNotNull(methodMatcher, "method matcher");
54 MethodAspect(Matcher<? super Class<?>> classMatcher
    [all...]
  /external/guice/core/src/com/google/inject/spi/
InterceptorBinding.java 23 import com.google.inject.matcher.Matcher;
33 * Matcher, Matcher, MethodInterceptor[]) bindInterceptor()} statements:
39 * or from an injectable type listener using {@link TypeEncounter#bindInterceptor(Matcher,
47 private final Matcher<? super Class<?>> classMatcher;
48 private final Matcher<? super Method> methodMatcher;
53 Matcher<? super Class<?>> classMatcher,
54 Matcher<? super Method> methodMatcher,
66 public Matcher<? super Class<?>> getClassMatcher()
    [all...]
TypeListenerBinding.java 21 import com.google.inject.matcher.Matcher;
24 * Binds types (picked using a Matcher) to an type listener. Registrations are created explicitly in
25 * a module using {@link com.google.inject.Binder#bindListener(Matcher, TypeListener)} statements:
36 private final Matcher<? super TypeLiteral<?>> typeMatcher;
40 Matcher<? super TypeLiteral<?>> typeMatcher) {
51 /** Returns the type matcher which chooses which types the listener should be notified of. */
52 public Matcher<? super TypeLiteral<?>> getTypeMatcher() {
  /external/hamcrest/src/org/hamcrest/
CoreMatchers.java 7 * Decorates another Matcher, retaining the behavior but allowing tests
13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) {
14 return org.hamcrest.core.Is.is(matcher);
23 public static <T> org.hamcrest.Matcher<T> is(T value) {
33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) {
40 public static <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher) {
    [all...]
  /external/hamcrest/library/src/org/hamcrest/collection/
IsArray.java 6 import org.hamcrest.Matcher;
10 private final Matcher<T>[] elementMatchers;
12 public IsArray(Matcher<T>[] elementMatchers) {
34 * Can be overridden in subclasses to customise how the matcher is
44 * Can be overridden in subclasses to customise how the matcher is
54 * Can be overridden in subclasses to customise how the matcher is
61 public static <T> IsArray<T> array(Matcher<T>... elementMatchers) {
  /frameworks/opt/chips/src/com/android/ex/chips/
PhoneUtil.java 22 import java.util.regex.Matcher;
49 Matcher match = PHONE_PATTERN.matcher(number);
  /external/google-breakpad/src/testing/test/
gmock-matchers_test.cc 98 using testing::Matcher;
168 Matcher<int> GreaterThan(int n) {
180 // Returns the description of the given matcher.
182 string Describe(const Matcher<T>& m) {
188 // Returns the description of the negation of the given matcher.
190 string DescribeNegation(const Matcher<T>& m) {
252 // Tests implementing a monomorphic matcher using MatchAndExplain().
274 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl);
281 // Tests default-constructing a matcher.
283 Matcher<double> m
3339 Matcher<int> matcher = ResultOf(&IntToStringFunction, Eq(string("foo"))); local
3347 Matcher<int> matcher = ResultOf(&IntToStringFunction, StrEq("foo")); local
3359 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); local
3371 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); local
3388 Matcher<double&> matcher = ResultOf(&DoubleFunction, Ref(x)); local
3410 Matcher<const string&> matcher = ResultOf(&StringFunction, Ref(s)); local
3420 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85))); local
3437 Matcher<int> matcher = ResultOf(IntToStringFunction, StrEq("foo")); local
3451 Matcher<int> matcher = ResultOf(Functor(), Eq(string("foo"))); local
    [all...]
  /external/gmock/include/gmock/internal/
gmock-generated-internal-utils.h 49 class Matcher;
66 // MatcherTuple<T>::type is a tuple type where each field is a Matcher
78 typedef ::std::tr1::tuple<Matcher<A1> > type;
83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type;
88 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
93 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>
    [all...]
  /external/google-breakpad/src/testing/include/gmock/internal/
gmock-generated-internal-utils.h 49 class Matcher;
66 // MatcherTuple<T>::type is a tuple type where each field is a Matcher
78 typedef ::std::tr1::tuple<Matcher<A1> > type;
83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type;
88 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
93 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>
    [all...]

Completed in 880 milliseconds

12 3 4 5 6 7 8 91011>>