Home
last modified time | relevance | path

Searched refs:assertDescription (Results 1 – 25 of 53) sorted by relevance

123

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/comparator/
DComparatorMatcherBuilderTest.java37assertDescription("a value greater than <1>", integerComparatorMatcherBuilder.greaterThan(1)); in testDescription()
38assertDescription("a value equal to or greater than <1>", integerComparatorMatcherBuilder.greaterT… in testDescription()
39assertDescription("a value equal to <1>", integerComparatorMatcherBuilder.comparesEqualTo(1)); in testDescription()
40assertDescription("a value less than or equal to <1>", integerComparatorMatcherBuilder.lessThanOrE… in testDescription()
41 assertDescription("a value less than <1>", integerComparatorMatcherBuilder.lessThan(1)); in testDescription()
43assertDescription("a value greater than <1> when compared by <backwards integer comparator>", comp… in testDescription()
44assertDescription("a value equal to or greater than <1> when compared by <backwards integer compar… in testDescription()
45assertDescription("a value equal to <1> when compared by <backwards integer comparator>", compared… in testDescription()
46assertDescription("a value less than or equal to <1> when compared by <backwards integer comparato… in testDescription()
47assertDescription("a value less than <1> when compared by <backwards integer comparator>", compare… in testDescription()
DComparatorMatcherTest.java26 assertDescription("a value greater than <1>", greaterThan(1));
27 assertDescription("a value equal to or greater than <1>", greaterThanOrEqualTo(1));
28 assertDescription("a value equal to <1>", comparesEqualTo(1));
29 assertDescription("a value less than or equal to <1>", lessThanOrEqualTo(1));
30 assertDescription("a value less than <1>", lessThan(1));
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/
DOrderingComparisonTest.java20 assertDescription("a value greater than <1>", greaterThan(1)); in testDescription()
21 assertDescription("a value equal to or greater than <1>", greaterThanOrEqualTo(1)); in testDescription()
22 assertDescription("a value equal to <1>", comparesEqualTo(1)); in testDescription()
23 assertDescription("a value less than or equal to <1>", lessThanOrEqualTo(1)); in testDescription()
24 assertDescription("a value less than <1>", lessThan(1)); in testDescription()
DIsCloseToTest.java29 assertDescription("a numeric value within <0.5> of <1.0>", matcher); in test_is_self_describing()
DIsNanTest.java36 assertDescription("a double value of NaN", notANumber()); in describesItself()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsAnythingTest.java6 import static org.hamcrest.AbstractMatcherTest.assertDescription;
26 assertDescription("ANYTHING", matcher); in hasUsefulDefaultDescription()
32 assertDescription(description, anything(description)); in canOverrideDescription()
DIsEqualTest.java129 assertDescription("<" + argumentDescription + ">", equalTo(argument)); in includesTheResultOfCallingToStringOnItsArgumentInTheDescription()
135 assertDescription("<" + innerMatcher.toString() + ">", equalTo(innerMatcher)); in returnsAnObviousDescriptionIfCreatedWithANestedMatcherByMistake()
140 assertDescription("null", equalTo(null)); in returnsGoodDescriptionIfCreatedWithNullReference()
DIsNotTest.java39 assertDescription("not an instance of java.lang.String", not(instanceOf(String.class))); in usesDescriptionOfNegatedMatcherWithPrefix()
40 assertDescription("not \"A\"", not("A")); in usesDescriptionOfNegatedMatcherWithPrefix()
DDescribedAsTest.java25 assertDescription("my description", matcher); in overridesDescriptionOfOtherMatcherWithThatPassedToConstructor()
32 assertDescription("value 1 = <33>, value 2 = <97>", matcher); in appendsValuesToDescription()
DIsSameTest.java41 assertDescription("sameInstance(\"ARG\")", sameInstance("ARG")); in returnsReadableDescriptionFromToString()
46 assertDescription("sameInstance(null)", sameInstance(null)); in returnsReadableDescriptionFromToStringWhenInitialisedWithNull()
DStringContainsTest.java29 assertDescription("a string containing \"EXCERPT\"", stringContains); in testMatchesSubstrings()
41 assertDescription("a string containing \"ExCert\" ignoring case", ignoringCase); in testMatchesSubstringsIgnoringCase()
DStringStartsWithTest.java28 assertDescription("a string starting with \"EXCERPT\"", stringStartsWith); in testMatchesStringAtStart()
42 assertDescription("a string starting with \"EXCerPT\" ignoring case", ignoreCase); in testMatchesStringAtStartIgnoringCase()
DStringEndsWithTest.java29 assertDescription("a string ending with \"EXCERPT\"", stringEndsWith); in testMatchesSubstringAtEnd()
42 assertDescription("a string ending with \"EXCERpt\" ignoring case", ignoringCase); in testMatchesSubstringAtEndIngoringCase()
DIsTest.java31 assertDescription("is <true>", is(equalTo(true))); in generatesIsPrefixInDescription()
32 assertDescription("is \"A\"", is("A")); in generatesIsPrefixInDescription()
DCombinableTest.java39 assertDescription("(not <3> and not <4>)", NOT_3_AND_NOT_4); in bothDescribesItself()
59 assertDescription("(<3> or <4>)", EITHER_3_OR_4); in eitherDescribesItself()
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/object/
DMatchesPatternTest.java39 assertDescription("a string matching the pattern 'a[bc](d|e)'", m ); in hasAReadableDescription()
51 assertDescription("a string matching the pattern 'a[bc](d|e)'", m ); in factoryMethodAllowsCreationWithPattern()
57 assertDescription("a string matching the pattern 'a[bc](d|e)'", m ); in factoryMethodAllowsCreationWithString()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
DCustomMatcherTest.java5 import static org.hamcrest.AbstractMatcherTest.assertDescription;
18 assertDescription("I match strings", matcher); in usesStaticDescription()
DCustomTypeSafeMatcherTest.java24 assertDescription(STATIC_DESCRIPTION, customMatcher); in usesStaticDescription()
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsArrayWithSizeTest.java33 assertDescription("an array with size <3>", arrayWithSize(equalTo(3))); in testHasAReadableDescription()
34 assertDescription("an empty array", emptyArray()); in testHasAReadableDescription()
DIsArrayContainingInAnyOrderTest.java19assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(equalTo(1), equalTo(2))); in testHasAReadableDescription()
20 assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(1, 2)); in testHasAReadableDescription()
DIsArrayContainingTest.java33 assertDescription("an array containing \"a\"", hasItemInArray("a")); in testHasAReadableDescription()
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/text/
DIsEmptyStringTest.java46 assertDescription("an empty string", emptyString()); in describesItself()
47 assertDescription("(null or an empty string)", emptyOrNullString()); in describesItself()
DIsBlankStringTest.java46 assertDescription("a blank string", blankString()); in describesItself()
47 assertDescription("(null or a blank string)", blankOrNullString()); in describesItself()
DStringContainsInOrderTest.java28 assertDescription("a string containing \"a\", \"b\", \"c\" in order", m); in testHasAReadableDescription()
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/xml/
DHasXPathTest.java119 assertDescription("an XML document with XPath /some/path \"Cheddar\"", in describesItself()
122 assertDescription("an XML document with XPath /some/path", in describesItself()

123