程序包 org.hamcrest
The stable API defining Matcher and its associated interfaces and classes. Hamcrest sub-projects define their convenience classes in the org.hamcrest package.
接口概要 接口 说明 Condition.Step<I,O> Description A description of a Matcher.Matcher<T> A matcher over acceptable values.SelfDescribing The ability of an object to describe itself.类概要 类 说明 BaseDescription ADescription
that is stored as a string.BaseMatcher<T> BaseClass for all Matcher implementations.Condition<T> A Condition implements part of a multi-step match.CoreMatchers CustomMatcher<T> Utility class for writing one off matchers.CustomTypeSafeMatcher<T> Utility class for writing one off matchers.Description.NullDescription DiagnosingMatcher<T> TODO(ngd): Document.FeatureMatcher<T,U> Supporting class for matching a feature of an object.MatcherAssert StringDescription ADescription
that is stored as a string.TypeSafeDiagnosingMatcher<T> Convenient base class for Matchers that require a non-null value of a specific type and that will report why the received value has been rejected.TypeSafeMatcher<T> Convenient base class for Matchers that require a non-null value of a specific type.注释类型概要 注释类型 说明 Factory Marks a Hamcrest static factory method so tools recognise them.