程序包 org.hamcrest
接口 SelfDescribing
- 所有已知子接口:
Matcher<T>
- 所有已知实现类:
AllOf,AnyOf,AssumptionViolatedException,AssumptionViolatedException,BaseMatcher,CombinableMatcher,CustomMatcher,CustomTypeSafeMatcher,DescribedAs,DiagnosingMatcher,Every,FeatureMatcher,Is,IsAnything,IsCollectionContaining,IsEqual,IsInstanceOf,IsNot,IsNull,IsSame,SelfDescribingValue,StringContains,StringEndsWith,StringStartsWith,SubstringMatcher,TypeSafeDiagnosingMatcher,TypeSafeMatcher
public interface SelfDescribing
The ability of an object to describe itself.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voiddescribeTo(Description description)Generates a description of the object.
方法详细资料
describeTo
void describeTo(Description description)
Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.- 参数:
description- The description to be built or appended to.