Home
last modified time | relevance | path

Searched refs:appendText (Results 1 – 25 of 87) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DMarkupTests.cpp21 return Paragraph().appendText(Text.str()).asMarkdown(); in escape()
156 P.appendText("One "); in TEST()
158 P.appendText(", two "); in TEST()
171 P.appendText("after "); in TEST()
179 P.appendText("bat"); in TEST()
191 P.appendText("foo\n \t baz"); in TEST()
199 P.appendText(" foo bar "); in TEST()
200 P.appendText(" baz "); in TEST()
208 P.appendText(" \n foo\nbar\n "); in TEST()
216 D.addParagraph().appendText("foo"); in TEST()
[all …]
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DSubstringMatcher.java27 mismatchDescription.appendText("was \"").appendText(item).appendText("\""); in describeMismatchSafely()
32 description.appendText("a string ") in describeTo()
33 .appendText(relationship) in describeTo()
34 .appendText(" ") in describeTo()
37 description.appendText(" ignoring case"); in describeTo()
DIsCollectionContaining.java23 mismatchDescription.appendText("was empty"); in matchesSafely()
33 mismatchDescription.appendText("mismatches were: ["); in matchesSafely()
37 mismatchDescription.appendText(", "); in matchesSafely()
42 mismatchDescription.appendText("]"); in matchesSafely()
53 .appendText("a collection containing ") in describeTo()
DIsInstanceOf.java42 mismatch.appendText("null"); in matches()
47 mismatch.appendValue(item).appendText(" is a " + item.getClass().getName()); in matches()
56 description.appendText("an instance of ").appendText(expectedClass.getName()); in describeTo()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/comparator/
DComparatorMatcherBuilder.java85 mismatchDescription.appendValue(actual).appendText(" was ")
86 .appendText(asText(comparator.compare(actual, expected)))
87 .appendText(" ").appendValue(expected);
89 mismatchDescription.appendText(" when compared by ").appendValue(comparator);
95 description.appendText("a value ").appendText(asText(minCompare));
97 description.appendText(" or ").appendText(asText(maxCompare));
99 description.appendText(" ").appendValue(expected);
101 description.appendText(" when compared by ").appendValue(comparator);
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/
DStringContainsInOrder.java32 mismatchDescription.appendText("was \"").appendText(item).appendText("\""); in describeMismatchSafely()
37 description.appendText("a string containing ") in describeTo()
39 .appendText(" in order"); in describeTo()
DIsEqualIgnoringWhiteSpace.java33 mismatchDescription.appendText("was ").appendText(stripSpace(item)); in describeMismatchSafely()
38 description.appendText("equalToIgnoringWhiteSpace(") in describeTo()
40 .appendText(")"); in describeTo()
DIsEqualIgnoringCase.java31 mismatchDescription.appendText("was ").appendValue(item); in describeMismatchSafely()
36 description.appendText("equalToIgnoringCase(") in describeTo()
38 .appendText(")"); in describeTo()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/
DIsEventFrom.java25 mismatchDescription.appendText("item type was " + item.getClass().getName()); in matchesSafely()
30 mismatchDescription.appendText("source was ").appendValue(item.getSource()); in matchesSafely()
43 description.appendText("an event of type ") in describeTo()
44 .appendText(eventClass.getName()) in describeTo()
45 .appendText(" from ") in describeTo()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsIterableContainingInAnyOrder.java35 description.appendText("iterable with items ") in describeTo()
37 .appendText(" in any order"); in describeTo()
51 mismatchDescription.appendText("no match for: ").appendValue(item); in matches()
62 .appendText("no item matches: ").appendList("", ", ", "", matchers) in isFinished()
63 .appendText(" in ").appendValueList("[", ", ", "]", items); in isFinished()
74 mismatchDescription.appendText("not matched: ").appendValue(item); in isMatched()
DIsIterableContainingInRelativeOrder.java28 …description.appendText("iterable containing ").appendList("[", ", ", "]", matchers).appendText(" i… in describeTo()
59 … mismatchDescription.appendDescriptionOf(matchers.get(nextMatchIx)).appendText(" was not found"); in isFinished()
61 mismatchDescription.appendText(" after ").appendValue(lastMatchedItem); in isFinished()
DIsMapContaining.java34 mismatchDescription.appendText("map was ").appendValueList("[", ", ", "]", map.entrySet()); in describeMismatchSafely()
39 description.appendText("map containing [") in describeTo()
41 .appendText("->") in describeTo()
43 .appendText("]"); in describeTo()
DIsIterableContainingInOrder.java35 description.appendText("iterable containing ").appendList("[", ", ", "]", matchers); in describeTo()
53 mismatchDescription.appendText("not matched: ").appendValue(item); in matches()
62 … mismatchDescription.appendText("no item was ").appendDescriptionOf(matchers.get(nextMatchIx)); in isFinished()
79 mismatchDescription.appendText("item " + nextMatchIx + ": "); in describeMismatch()
DIsArray.java34 mismatchDescription.appendText("array length was ").appendValue(actual.length); in describeMismatchSafely()
39 mismatchDescription.appendText("element ").appendValue(i).appendText(" "); in describeMismatchSafely()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DFeatureMatcher.java42 mismatch.appendText(featureName).appendText(" "); in matchesSafely()
51 description.appendText(featureDescription).appendText(" ") in describeTo()
DTypeSafeMatcher.java76 description.appendText("was a ") in describeMismatch()
77 .appendText(item.getClass().getName()) in describeMismatch()
78 .appendText(" (") in describeMismatch()
80 .appendText(")"); in describeMismatch()
DMatcherAssert.java12 description.appendText(reason) in assertThat()
13 .appendText("\nExpected: ") in assertThat()
15 .appendText("\n but: "); in assertThat()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/
DIsCloseTo.java31 .appendText(" differed by ") in describeMismatchSafely()
33 .appendText(" more than delta ") in describeMismatchSafely()
39 description.appendText("a numeric value within ") in describeTo()
41 .appendText(" of ") in describeTo()
DBigDecimalCloseTo.java28 .appendText(" differed by ") in describeMismatchSafely()
30 .appendText(" more than delta ") in describeMismatchSafely()
36 description.appendText("a numeric value within ") in describeTo()
38 .appendText(" of ") in describeTo()
DIsNaN.java22 mismatchDescription.appendText("was ").appendValue(item); in describeMismatchSafely()
27 description.appendText("a double value of NaN"); in describeTo()
/external/junit/src/main/java/org/junit/experimental/results/
DResultMatchers.java39 description.appendText("has " + count + " failures"); in failureCountIs()
59 description.appendText("has single failure containing " + string);
77 description.appendText("has failure with exception matching ");
95 description.appendText("has failure containing " + string);
/external/junit/src/main/java/org/junit/internal/
DAssumptionViolatedException.java96 description.appendText(fAssumption); in describeTo()
102 description.appendText(": "); in describeTo()
105 description.appendText("got: "); in describeTo()
109 description.appendText(", expected: "); in describeTo()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/xml/
DHasXPath.java68 description.appendText("an XML document with XPath ").appendText(xpathString); in describeTo()
70 description.appendText(" ").appendDescriptionOf(valueMatcher); in describeTo()
78 mismatch.appendText(e.getMessage()); in evaluated()
88 mismatch.appendText("xpath returned no results."); in nodeExists()
/external/dokka/core/src/main/kotlin/Formats/
DStructuredFormatService.kt69 abstract fun appendText(text: String) in <lambda>() method in org.jetbrains.dokka.StructuredOutputBuilder
73 appendText("Available since Kotlin: ") in <lambda>()
74 appendCode { appendText(version) } in <lambda>()
80 appendStrong { appendText(section.tag) } in <lambda>()
87 appendText(text) in <lambda>()
91 appendText(text) in <lambda>()
95 appendText(text) in <lambda>()
105 appendLink(link.href) { appendText(link.text) } in <lambda>()
132 is ContentText -> appendText(content.text) in <lambda>()
245 appendText(platforms.joinToString(prefix = "(", postfix = ")")) in <lambda>()
[all …]
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DisAnimating.kt14 description.appendText("is animating") in isAnimating()
24 description.appendText("is not animating") in isNotAnimating()

1234