|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
E - public interface IListHasItemsAssert<E extends IAssert>
数组或collection类型的对象容器断言
| 方法摘要 | |
|---|---|
E |
allItemsMatchAll(Matcher matcher,
Matcher... matchers)
all of items in collection(array) should match all of matchers specified by following arguments. |
E |
allItemsMatchAny(Matcher matcher,
Matcher... matchers)
all of items in collection(array) should match any of matchers specified by following arguments. |
E |
anyItemsMatchAll(Matcher matcher,
Matcher... matchers)
any of items in collection(array) should match all of matchers specified by following arguments. |
E |
anyItemsMatchAny(Matcher matcher,
Matcher... matchers)
any of items in collection(array) should match any of matchers specified by following arguments. |
E |
hasAllItems(Object value,
Object... values)
want: the collection or the array should contain all items listed by following arguments. |
E |
hasAnyItems(Object value,
Object... values)
want: the collection or the array should contain any items listed by following arguments. |
E |
hasItems(Object value)
want: the collection or the array should contain item specified by argument. |
E |
hasItems(Object item,
Object... items)
want: the collection or the array should contain item specified by argument. |
E |
match(ItemsMode itemsMode,
MatchMode matchMode,
Matcher matcher,
Matcher... matchers)
all of any(specified by ItemsMode) items(properties) should match
all or any(specified by MatchMode) matchers. |
| 方法详细信息 |
|---|
E hasAllItems(Object value,
Object... values)
value - expected itemvalues - other expected items
E hasItems(Object value)
value -
E hasItems(Object item,
Object... items)
item - items -
E hasAnyItems(Object value,
Object... values)
value - expected itemvalues - other expected items
E allItemsMatchAll(Matcher matcher,
Matcher... matchers)
#match(ItemsMode.AllItems, MatchMode.MatchAll, Matcher, Matcher...)
matcher - matchers -
E allItemsMatchAny(Matcher matcher,
Matcher... matchers)
#match(ItemsMode.AllItems, MatchMode.MatchAny, Matcher, Matcher...)
matcher - matchers -
E anyItemsMatchAll(Matcher matcher,
Matcher... matchers)
#match(ItemsMode.AnyItems, MatchMode.MatchAll, Matcher, Matcher...)
matcher - matchers -
E anyItemsMatchAny(Matcher matcher,
Matcher... matchers)
#match(ItemsMode.AnyItems, MatchMode.MatchAny, Matcher, Matcher...)
matcher - matchers -
E match(ItemsMode itemsMode,
MatchMode matchMode,
Matcher matcher,
Matcher... matchers)
ItemsMode) items(properties) should match
all or any(specified by MatchMode) matchers.allItemsMatchAll(Matcher, Matcher...)allItemsMatchAny(Matcher, Matcher...)anyItemsMatchAll(Matcher, Matcher...)anyItemsMatchAny(Matcher, Matcher...)
itemsMode - matchMode - matcher - matchers -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||