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

1 2 3 45 6 7 8 91011>>

  /external/mockito/src/org/mockito/internal/invocation/
MatchersBinder.java 8 import org.hamcrest.Matcher;
26 InvocationMatcher invocationWithMatchers = new InvocationMatcher(invocation, (List<Matcher>)(List) lastMatchers);
  /external/mockito/src/org/mockito/internal/util/
Decamelizer.java 8 import java.util.regex.Matcher;
17 return "<custom argument matcher>";
30 Matcher match = CAPS.matcher(className);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
CompoundButtonCheckedMatcher.java 6 import org.hamcrest.Matcher;
25 public static <T extends CompoundButton> Matcher<T> isChecked(boolean expectedChecked) {
HasResourceMatcher.java 6 import org.hamcrest.Matcher;
42 public static Matcher<ImageView> hasResource(int expectedResourceId) {
TextViewHasTextMatcher.java 6 import org.hamcrest.Matcher;
39 public static <T extends TextView> Matcher<T> hasText(String expectedTextViewText) {
ViewHasTextMatcher.java 6 import org.hamcrest.Matcher;
54 public static <T extends View> Matcher<T> hasText(String expectedTextViewText) {
59 public static <T extends View> Matcher<T> hasText(int expectedTextViewResourceId) {
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
MultiGroupConversionRule.java 27 import java.util.regex.Matcher;
78 * @see org.slf4j.converter.ConversionRule#replace(java.util.regex.Matcher)
80 public String replace(Matcher matcher) {
84 for (int group = 1; group <= matcher.groupCount(); group++) {
88 // + matcher.group(group) + " with " + replacementText);
91 replacementBuffer.append(matcher.group(group));
  /frameworks/support/compat/tests/java/android/support/v4/testutils/
LayoutDirectionActions.java 23 import org.hamcrest.Matcher;
25 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
34 public Matcher<View> getConstraints() {
TextViewActions.java 29 import org.hamcrest.Matcher;
31 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
40 public Matcher<View> getConstraints() {
67 public Matcher<View> getConstraints() {
94 public Matcher<View> getConstraints() {
121 public Matcher<View> getConstraints() {
150 public Matcher<View> getConstraints() {
179 public Matcher<View> getConstraints() {
209 public Matcher<View> getConstraints() {
  /frameworks/support/design/tests/src/android/support/design/testutils/
ViewPagerActions.java 31 import org.hamcrest.Matcher;
33 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
34 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
43 public Matcher<View> getConstraints() {
71 public Matcher<View> getConstraints() {
99 public Matcher<View> getConstraints() {
129 public Matcher<View> getConstraints() {
159 public Matcher<View> getConstraints() {
186 public Matcher<View> getConstraints() {
213 public Matcher<View> getConstraints()
    [all...]
TextInputLayoutActions.java 19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
28 import org.hamcrest.Matcher;
35 public Matcher<View> getConstraints() {
59 public Matcher<View> getConstraints() {
83 public Matcher<View> getConstraints() {
BottomNavigationViewActions.java 19 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
30 import org.hamcrest.Matcher;
40 public Matcher<View> getConstraints() {
68 public Matcher<View> getConstraints() {
DrawerLayoutActions.java 23 import org.hamcrest.Matcher;
25 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
34 public Matcher<View> getConstraints() {
62 public Matcher<View> getConstraints() {
  /frameworks/support/percent/tests/java/android/support/percent/
LayoutDirectionActions.java 23 import org.hamcrest.Matcher;
25 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
34 public Matcher<View> getConstraints() {
  /libcore/luni/src/test/java/libcore/java/util/regex/
OldMatcherTest.java 21 import java.util.regex.Matcher;
31 Matcher m = pat.matcher("Today is XX-XX-XX ...");
41 m = pat.matcher("one-cat-two-cats-in-the-yard");
66 Matcher mat = pat.matcher(testString1);
70 assertFalse("After reset matcher should not find pattern in given input", mat.find());
72 assertTrue("After reset matcher should find pattern in given input", mat.find());
77 Matcher m = p.matcher("one-cat-two-cats-in-the-yard")
    [all...]
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
matcher.py 17 """Regular expression based JavaScript matcher classes."""
30 class Matcher(object):
31 """A token matcher.
41 regex: The regular expression representing this matcher.
47 """Create a new matcher template.
54 line_start: Whether this matcher should only match string at the start
  /external/mockito/src/org/mockito/
ArgumentMatcher.java 10 import org.hamcrest.Matcher;
16 * ArgumentMatcher is an hamcrest {@link Matcher} with predefined describeTo() method.
18 * For example <b>StringWithStrongLanguage</b> matcher will generate 'String with strong language' description.
21 * Use {@link Matchers#argThat} method and pass an instance of hamcrest {@link Matcher}, e.g:
52 * Also, <b>sometimes {@link ArgumentCaptor} may be a better fit</b> than custom matcher.
53 * For example, if custom argument matcher is not likely to be reused
65 * Returns whether this matcher accepts the given argument.
72 * @return whether this matcher accepts the given argument.
79 * For example <b>StringWithStrongLanguage</b> matcher will generate 'String with strong language' description in case of failure.
82 * provide more specific description of the matcher (useful whe
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/reader/
ReaderStringTest.java 18 import java.util.regex.Matcher;
27 Matcher matcher = StreamReader.NON_PRINTABLE.matcher("test"); local
28 assertFalse(matcher.find());
39 Matcher matcher = StreamReader.NON_PRINTABLE.matcher("test\u0005 fail"); local
40 assertTrue(matcher.find());
60 Matcher matcher = StreamReader.NON_PRINTABLE.matcher(str) local
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/helpers/
InMatcher.java 21 import org.hamcrest.Matcher;
28 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array.
62 public static <T> Matcher<T> in(T... operand) {
67 public static <T> Matcher<T> in(Collection<T> operand) {
  /external/junit/src/org/junit/rules/
ErrorCollector.java 12 import org.hamcrest.Matcher;
51 * Adds a failure to the table if {@code matcher} does not match {@code value}.
54 public <T> void checkThat(final T value, final Matcher<T> matcher) {
55 checkThat("", value, matcher);
60 * to the table if {@code matcher} does not match {@code value}.
63 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) {
66 assertThat(reason, value, matcher);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
InMatcher.java 21 import org.hamcrest.Matcher;
28 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array.
66 public static <T> Matcher<T> in(T... operand) {
71 public static <T> Matcher<T> in(Collection<T> operand) {
  /external/llvm/utils/TableGen/
DAGISelMatcher.cpp 1 //===- DAGISelMatcher.cpp - Representation of DAG pattern matcher ---------===//
18 void Matcher::anchor() { }
20 void Matcher::dump() const {
24 void Matcher::print(raw_ostream &OS, unsigned indent) const {
30 void Matcher::printOne(raw_ostream &OS) const {
37 Matcher *Matcher::unlinkNode(Matcher *Other) {
42 Matcher *Cur = this;
52 /// canMoveBefore - Return true if this matcher is the same as Other, or i
    [all...]
  /external/mockito/src/org/mockito/internal/progress/
ArgumentMatcherStorageImpl.java 8 import org.hamcrest.Matcher;
29 * @see org.mockito.internal.progress.ArgumentMatcherStorage#reportMatcher(org.hamcrest.Matcher)
31 public HandyReturnValues reportMatcher(Matcher matcher) {
32 matcherStack.push(new LocalizedMatcher(matcher));
84 private List<Matcher> popLastArgumentMatchers(int count) {
85 List<Matcher> result = new LinkedList<Matcher>();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/matchers/
StartedMatcherTest.java 12 import org.hamcrest.Matcher;
65 private <T> Matcher<Matcher<T>> givesFailureMessage(final T actual, final String expectedFailureMessage) {
66 return new TypeSafeMatcher<Matcher<T>>() {
70 public boolean matchesSafely(Matcher<T> tMatcher) {
72 message = "matcher to fail, but it passed";
StartedServiceMatcherTest.java 10 import org.hamcrest.Matcher;
67 private <T> Matcher<Matcher<T>> givesFailureMessage(final T actual, final String expectedFailureMessage) {
68 return new TypeSafeMatcher<Matcher<T>>() {
72 public boolean matchesSafely(Matcher<T> tMatcher) {
74 message = "matcher to fail, but it passed";

Completed in 854 milliseconds

1 2 3 45 6 7 8 91011>>