public class HasDescription extends TypesafeFeatureMatcher<org.hamcrest.SelfDescribing,String>
NestedMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>>, NestedMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>>, NestedMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>>P_AND, P_ATOMIC, P_COMPLEX, P_NONE, P_OR, P_UNARY, P_UNARY_NO_PAREN| Constructor and Description |
|---|
HasDescription(org.hamcrest.Matcher<? super String> featureMatcher) |
HasDescription(org.hamcrest.Matcher<? super String> featureMatcher,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static HasDescription |
description(org.hamcrest.Matcher<? super String> stringMatcher) |
static HasDescription |
description(String string) |
protected String |
getFeature(org.hamcrest.SelfDescribing value) |
static HasDescription |
message(org.hamcrest.Matcher<? super String> stringMatcher) |
static HasDescription |
message(String string) |
describeExpectedFeature, describeFeature, describeFeatureMatcher, describeMatchedFeature, describeMismatchedFeature, describeTo, getDescriptionPrecedence, matchesSafely, matchResultSafelydescribeMismatchSafely, matchesSafelydescribeMismatch, matches, matches, matchResultnestedDescribe, nestedDescribeTo, nestedMatch, nestedMatchquickMatch, quickMatch, quickMatchResult_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic HasDescription(org.hamcrest.Matcher<? super String> featureMatcher)
public static HasDescription description(org.hamcrest.Matcher<? super String> stringMatcher)
public static HasDescription description(String string)
public static HasDescription message(org.hamcrest.Matcher<? super String> stringMatcher)
public static HasDescription message(String string)
protected String getFeature(org.hamcrest.SelfDescribing value)
getFeature in class TypesafeFeatureMatcher<org.hamcrest.SelfDescribing,String>Copyright © 2015. All rights reserved.