/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/comparator/ |
D | ComparatorMatcherBuilderTest.java | 37 … assertDescription("a value greater than <1>", integerComparatorMatcherBuilder.greaterThan(1)); in testDescription() 38 …assertDescription("a value equal to or greater than <1>", integerComparatorMatcherBuilder.greaterT… in testDescription() 39 … assertDescription("a value equal to <1>", integerComparatorMatcherBuilder.comparesEqualTo(1)); in testDescription() 40 …assertDescription("a value less than or equal to <1>", integerComparatorMatcherBuilder.lessThanOrE… in testDescription() 41 assertDescription("a value less than <1>", integerComparatorMatcherBuilder.lessThan(1)); in testDescription() 43 …assertDescription("a value greater than <1> when compared by <backwards integer comparator>", comp… in testDescription() 44 …assertDescription("a value equal to or greater than <1> when compared by <backwards integer compar… in testDescription() 45 …assertDescription("a value equal to <1> when compared by <backwards integer comparator>", compared… in testDescription() 46 …assertDescription("a value less than or equal to <1> when compared by <backwards integer comparato… in testDescription() 47 …assertDescription("a value less than <1> when compared by <backwards integer comparator>", compare… in testDescription()
|
D | ComparatorMatcherTest.java | 26 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/ |
D | OrderingComparisonTest.java | 20 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()
|
D | IsCloseToTest.java | 29 assertDescription("a numeric value within <0.5> of <1.0>", matcher); in test_is_self_describing()
|
D | IsNanTest.java | 36 assertDescription("a double value of NaN", notANumber()); in describesItself()
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
D | IsAnythingTest.java | 6 import static org.hamcrest.AbstractMatcherTest.assertDescription; 26 assertDescription("ANYTHING", matcher); in hasUsefulDefaultDescription() 32 assertDescription(description, anything(description)); in canOverrideDescription()
|
D | IsEqualTest.java | 129 assertDescription("<" + argumentDescription + ">", equalTo(argument)); in includesTheResultOfCallingToStringOnItsArgumentInTheDescription() 135 assertDescription("<" + innerMatcher.toString() + ">", equalTo(innerMatcher)); in returnsAnObviousDescriptionIfCreatedWithANestedMatcherByMistake() 140 assertDescription("null", equalTo(null)); in returnsGoodDescriptionIfCreatedWithNullReference()
|
D | IsNotTest.java | 39 assertDescription("not an instance of java.lang.String", not(instanceOf(String.class))); in usesDescriptionOfNegatedMatcherWithPrefix() 40 assertDescription("not \"A\"", not("A")); in usesDescriptionOfNegatedMatcherWithPrefix()
|
D | DescribedAsTest.java | 25 assertDescription("my description", matcher); in overridesDescriptionOfOtherMatcherWithThatPassedToConstructor() 32 assertDescription("value 1 = <33>, value 2 = <97>", matcher); in appendsValuesToDescription()
|
D | IsSameTest.java | 41 assertDescription("sameInstance(\"ARG\")", sameInstance("ARG")); in returnsReadableDescriptionFromToString() 46 assertDescription("sameInstance(null)", sameInstance(null)); in returnsReadableDescriptionFromToStringWhenInitialisedWithNull()
|
D | StringContainsTest.java | 29 assertDescription("a string containing \"EXCERPT\"", stringContains); in testMatchesSubstrings() 41 assertDescription("a string containing \"ExCert\" ignoring case", ignoringCase); in testMatchesSubstringsIgnoringCase()
|
D | StringStartsWithTest.java | 28 assertDescription("a string starting with \"EXCERPT\"", stringStartsWith); in testMatchesStringAtStart() 42 assertDescription("a string starting with \"EXCerPT\" ignoring case", ignoreCase); in testMatchesStringAtStartIgnoringCase()
|
D | StringEndsWithTest.java | 29 assertDescription("a string ending with \"EXCERPT\"", stringEndsWith); in testMatchesSubstringAtEnd() 42 assertDescription("a string ending with \"EXCERpt\" ignoring case", ignoringCase); in testMatchesSubstringAtEndIngoringCase()
|
D | IsTest.java | 31 assertDescription("is <true>", is(equalTo(true))); in generatesIsPrefixInDescription() 32 assertDescription("is \"A\"", is("A")); in generatesIsPrefixInDescription()
|
D | CombinableTest.java | 39 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/ |
D | MatchesPatternTest.java | 39 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/ |
D | CustomMatcherTest.java | 5 import static org.hamcrest.AbstractMatcherTest.assertDescription; 18 assertDescription("I match strings", matcher); in usesStaticDescription()
|
D | CustomTypeSafeMatcherTest.java | 24 assertDescription(STATIC_DESCRIPTION, customMatcher); in usesStaticDescription()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsArrayWithSizeTest.java | 33 assertDescription("an array with size <3>", arrayWithSize(equalTo(3))); in testHasAReadableDescription() 34 assertDescription("an empty array", emptyArray()); in testHasAReadableDescription()
|
D | IsArrayContainingInAnyOrderTest.java | 19 … assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(equalTo(1), equalTo(2))); in testHasAReadableDescription() 20 assertDescription("[<1>, <2>] in any order", arrayContainingInAnyOrder(1, 2)); in testHasAReadableDescription()
|
D | IsArrayContainingTest.java | 33 assertDescription("an array containing \"a\"", hasItemInArray("a")); in testHasAReadableDescription()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/text/ |
D | IsEmptyStringTest.java | 46 assertDescription("an empty string", emptyString()); in describesItself() 47 assertDescription("(null or an empty string)", emptyOrNullString()); in describesItself()
|
D | IsBlankStringTest.java | 46 assertDescription("a blank string", blankString()); in describesItself() 47 assertDescription("(null or a blank string)", blankOrNullString()); in describesItself()
|
D | StringContainsInOrderTest.java | 28 assertDescription("a string containing \"a\", \"b\", \"c\" in order", m); in testHasAReadableDescription()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/xml/ |
D | HasXPathTest.java | 119 assertDescription("an XML document with XPath /some/path \"Cheddar\"", in describesItself() 122 assertDescription("an XML document with XPath /some/path", in describesItself()
|