org.hamcrest.Matchers 类的方法签名
方法名 | 返回类型 |
---|---|
startsWith | org.hamcrest.Matcher<kotlin.String!>! |
endsWith | org.hamcrest.Matcher<kotlin.String!>! |
contains | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<E!>!>! |
array | org.hamcrest.collection.IsArray<T!>! |
empty | org.hamcrest.Matcher<(kotlin.collections.MutableCollection<out E!>..kotlin.collections.Collection<E!>?)>! |
allOf | org.hamcrest.Matcher<T!>! |
hasSize | org.hamcrest.Matcher<(kotlin.collections.MutableCollection<out E!>..kotlin.collections.Collection<E!>?)>! |
containsString | org.hamcrest.Matcher<kotlin.String!>! |
equalTo | org.hamcrest.Matcher<T!>! |
hasProperty | org.hamcrest.Matcher<T!>! |
hasValue | org.hamcrest.Matcher<(kotlin.collections.MutableMap<, out V!>..kotlin.collections.Map<, V!>?)>! |
theInstance | org.hamcrest.Matcher<T!>! |
is | org.hamcrest.Matcher<T!>! |
not | org.hamcrest.Matcher<T!>! |
emptyArray | org.hamcrest.Matcher<kotlin.Array<(out) E!>!>! |
any | org.hamcrest.Matcher<T!>! |
nullValue | org.hamcrest.Matcher<kotlin.Any!>! |
greaterThan | org.hamcrest.Matcher<T!>! |
lessThan | org.hamcrest.Matcher<T!>! |
both | org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS!>! |
greaterThanOrEqualTo | org.hamcrest.Matcher<T!>! |
lessThanOrEqualTo | org.hamcrest.Matcher<T!>! |
anything | org.hamcrest.Matcher<kotlin.Any!>! |
anyOf | org.hamcrest.core.AnyOf<T!>! |
isOneOf | org.hamcrest.Matcher<T!>! |
isA | org.hamcrest.Matcher<T!>! |
hasKey | org.hamcrest.Matcher<kotlin.collections.(Mutable)Map<out K!, *>!>! |
hasItem | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<*>!>! |
hasItems | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<T!>!>! |
either | org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher<LHS!>! |
hasEntry | org.hamcrest.Matcher<(kotlin.collections.MutableMap<out K!, out V!>..kotlin.collections.Map<out K!, V!>?)>! |
describedAs | org.hamcrest.Matcher<T!>! |
everyItem | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<U!>!>! |
instanceOf | org.hamcrest.Matcher<T!>! |
notNullValue | org.hamcrest.Matcher<kotlin.Any!>! |
sameInstance | org.hamcrest.Matcher<T!>! |
hasItemInArray | org.hamcrest.Matcher<kotlin.Array<(out) T!>!>! |
arrayContaining | org.hamcrest.Matcher<kotlin.Array<(out) E!>!>! |
arrayContainingInAnyOrder | org.hamcrest.Matcher<kotlin.Array<(out) E!>!>! |
arrayWithSize | org.hamcrest.Matcher<kotlin.Array<(out) E!>!>! |
emptyCollectionOf | org.hamcrest.Matcher<kotlin.collections.(Mutable)Collection<E!>!>! |
emptyIterable | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<E!>!>! |
emptyIterableOf | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<E!>!>! |
containsInAnyOrder | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<T!>!>! |
iterableWithSize | org.hamcrest.Matcher<kotlin.collections.(Mutable)Iterable<E!>!>! |
isIn | org.hamcrest.Matcher<T!>! |
closeTo | org.hamcrest.Matcher<kotlin.Double!>! |
comparesEqualTo | org.hamcrest.Matcher<T!>! |
equalToIgnoringCase | org.hamcrest.Matcher<kotlin.String!>! |
equalToIgnoringWhiteSpace | org.hamcrest.Matcher<kotlin.String!>! |
isEmptyString | org.hamcrest.Matcher<kotlin.String!>! |
isEmptyOrNullString | org.hamcrest.Matcher<kotlin.String!>! |
stringContainsInOrder | org.hamcrest.Matcher<kotlin.String!>! |
hasToString | org.hamcrest.Matcher<T!>! |
typeCompatibleWith | org.hamcrest.Matcher<java.lang.Class<*>!>! |
eventFrom | org.hamcrest.Matcher<java.util.EventObject!>! |
samePropertyValuesAs | org.hamcrest.Matcher<T!>! |
hasXPath | org.hamcrest.Matcher<org.w3c.dom.Node!>! |