HomeSort by relevance Sort by last modified time
    Searched defs:mismatchDescription (Results 1 - 22 of 22) sorted by null

  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
IsArrayContaining.java 32 public void describeMismatchSafely(T[] item, Description mismatchDescription) {
33 super.describeMismatch(Arrays.asList(item), mismatchDescription);
IsArrayContainingInAnyOrder.java 29 public void describeMismatchSafely(E[] item, Description mismatchDescription) {
30 iterableMatcher.describeMismatch(Arrays.asList(item), mismatchDescription);
IsArrayContainingInOrder.java 30 public void describeMismatchSafely(E[] item, Description mismatchDescription) {
31 iterableMatcher.describeMismatch(asList(item), mismatchDescription);
IsIterableContainingInAnyOrder.java 22 protected boolean matchesSafely(Iterable<? extends T> items, Description mismatchDescription) {
23 final Matching<T> matching = new Matching<T>(matchers, mismatchDescription);
42 private final Description mismatchDescription;
44 public Matching(Collection<Matcher<? super S>> matchers, Description mismatchDescription) {
46 this.mismatchDescription = mismatchDescription;
51 mismatchDescription.appendText("no match for: ").appendValue(item);
61 mismatchDescription
74 mismatchDescription.appendText("not matched: ").appendValue(item);
IsIterableContainingInRelativeOrder.java 21 protected boolean matchesSafely(Iterable<? extends E> iterable, Description mismatchDescription) {
22 MatchSeriesInRelativeOrder<E> matchSeriesInRelativeOrder = new MatchSeriesInRelativeOrder<E>(matchers, mismatchDescription);
33 private final Description mismatchDescription;
37 public MatchSeriesInRelativeOrder(List<Matcher<? super F>> matchers, Description mismatchDescription) {
38 this.mismatchDescription = mismatchDescription;
59 mismatchDescription.appendDescriptionOf(matchers.get(nextMatchIx)).appendText(" was not found");
61 mismatchDescription.appendText(" after ").appendValue(lastMatchedItem);
IsIterableContainingInOrder.java 22 protected boolean matchesSafely(Iterable<? extends E> iterable, Description mismatchDescription) {
23 final MatchSeries<E> matchSeries = new MatchSeries<E>(matchers, mismatchDescription);
40 private final Description mismatchDescription;
43 public MatchSeries(List<Matcher<? super F>> matchers, Description mismatchDescription) {
44 this.mismatchDescription = mismatchDescription;
53 mismatchDescription.appendText("not matched: ").appendValue(item);
62 mismatchDescription.appendText("no item was ").appendDescriptionOf(matchers.get(nextMatchIx));
79 mismatchDescription.appendText("item " + nextMatchIx + ": ");
80 matcher.describeMismatch(item, mismatchDescription);
    [all...]
  /external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
FeatureMatcherTest.java 31 StringDescription mismatchDescription = new StringDescription();
32 resultMatcher.describeMismatch(new ShouldNotMatch(), mismatchDescription);
33 assertEquals("was <ShouldNotMatch>", mismatchDescription.toString());
AbstractMatcherTest.java 19 Assert.fail(message + " because: '" + mismatchDescription(matcher, arg) + "'");
39 Assert.assertEquals("Expected mismatch description", expected, mismatchDescription(matcher, arg));
60 public static <T> String mismatchDescription(Matcher<? super T> matcher, T arg) {
  /frameworks/support/compat/tests/java/android/support/v4/testutils/
TestUtils.java 76 String mismatchDescription = failMessagePrefix
85 throw new RuntimeException(mismatchDescription);
87 Assert.fail(mismatchDescription);
  /frameworks/support/core-ui/tests/java/android/support/v4/testutils/
TestUtils.java 75 String mismatchDescription = failMessagePrefix
84 throw new RuntimeException(mismatchDescription);
86 Assert.fail(mismatchDescription);
  /cts/tests/tests/view/src/android/view/cts/util/
DrawingUtils.java 80 String mismatchDescription = failMessagePrefix
91 Assert.fail(mismatchDescription);
  /frameworks/support/design/tests/src/android/support/design/testutils/
TestUtils.java 96 String mismatchDescription = failMessagePrefix
104 throw new RuntimeException(mismatchDescription);
106 Assert.fail(mismatchDescription);
  /prebuilts/misc/common/robolectric/lib/
hamcrest-library-1.3.jar 
hamcrest-core-1.3.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/
hamcrest-library-1.3.jar 
  /cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java 229 String mismatchDescription = failMessagePrefix
237 throw new RuntimeException(mismatchDescription);
239 Assert.fail(mismatchDescription);
262 String mismatchDescription = failMessagePrefix
269 throw new RuntimeException(mismatchDescription);
271 Assert.fail(mismatchDescription);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
TestUtils.java 159 String mismatchDescription = failMessagePrefix
166 throw new RuntimeException(mismatchDescription);
168 Assert.fail(mismatchDescription);
220 String mismatchDescription = failMessagePrefix
227 throw new RuntimeException(mismatchDescription);
229 Assert.fail(mismatchDescription);
  /prebuilts/devtools/tools/lib/
hamcrest-core-1.3.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-core/1.3/
hamcrest-core-1.3.jar 
  /prebuilts/misc/common/android-support-test/rules/
rules-0.6-beta-2-release.jar 
  /prebuilts/misc/common/android-support-test/runner/
runner-0.6-beta-2-release.jar 
  /prebuilts/misc/common/ub-janktesthelper/
ub-janktesthelper.jar 

Completed in 1046 milliseconds