前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >org.hamcrest.Matchers 类的方法签名

org.hamcrest.Matchers 类的方法签名

作者头像
一个会写诗的程序员
发布2018-08-17 11:13:43
5480
发布2018-08-17 11:13:43
举报
文章被收录于专栏:一个会写诗的程序员的博客

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!>!

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2018.02.08 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档