|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectext.test4j.hamcrest.BaseMatcher<T>
org.test4j.hamcrest.iassert.common.impl.Assert<T,E>
org.test4j.hamcrest.iassert.common.impl.BaseAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ListHasItemsAssert<T,E>
public class ListHasItemsAssert<T,E extends IAssert>
| 嵌套类摘要 |
|---|
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的嵌套类/接口 |
|---|
Assert.AssertType |
| 字段摘要 |
|---|
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的字段 |
|---|
assertClaz, link, the, type, value, valueClaz |
| 构造方法摘要 | |
|---|---|
ListHasItemsAssert(Class<? extends IAssert> clazE)
|
|
ListHasItemsAssert(T value,
Class<? extends IAssert> clazE)
|
|
| 方法摘要 | |
|---|---|
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 item,
Object... items)
want: the collection or the array should contain all items listed by following arguments. |
E |
hasAnyItems(Object item,
Object... items)
want: the collection or the array should contain any items listed by following arguments. |
E |
hasItems(Object item)
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. |
| 从类 org.test4j.hamcrest.iassert.common.impl.BaseAssert 继承的方法 |
|---|
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same, toStringAssert |
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的方法 |
|---|
assertThat, assertThat, describeTo, equals, getValueClaz, hashCode, matches, toString, wanted, wanted |
| 从类 ext.test4j.hamcrest.BaseMatcher 继承的方法 |
|---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IAssert 继承的方法 |
|---|
wanted, wanted |
| 从接口 ext.test4j.hamcrest.Matcher 继承的方法 |
|---|
describeMismatch, matches |
| 从接口 ext.test4j.hamcrest.SelfDescribing 继承的方法 |
|---|
describeTo |
| 构造方法详细信息 |
|---|
public ListHasItemsAssert(Class<? extends IAssert> clazE)
public ListHasItemsAssert(T value,
Class<? extends IAssert> clazE)
| 方法详细信息 |
|---|
public E hasItems(Object item)
IListHasItemsAssert 复制的描述
IListHasItemsAssert<E extends IAssert> 中的 hasItems
public E hasItems(Object item,
Object... items)
IListHasItemsAssert 复制的描述
IListHasItemsAssert<E extends IAssert> 中的 hasItems
public E hasAllItems(Object item,
Object... items)
IListHasItemsAssert 复制的描述
IListHasItemsAssert<E extends IAssert> 中的 hasAllItemsitem - expected itemitems - other expected items
public E hasAnyItems(Object item,
Object... items)
IListHasItemsAssert 复制的描述
IListHasItemsAssert<E extends IAssert> 中的 hasAnyItemsitem - expected itemitems - other expected items
public E match(ItemsMode itemsMode,
MatchMode matchMode,
Matcher matcher,
Matcher... matchers)
IListHasItemsAssert 复制的描述ItemsMode) items(properties) should match
all or any(specified by MatchMode) matchers.IListHasItemsAssert.allItemsMatchAll(Matcher, Matcher...)IListHasItemsAssert.allItemsMatchAny(Matcher, Matcher...)IListHasItemsAssert.anyItemsMatchAll(Matcher, Matcher...)IListHasItemsAssert.anyItemsMatchAny(Matcher, Matcher...)
IListHasItemsAssert<E extends IAssert> 中的 match
public E allItemsMatchAll(Matcher matcher,
Matcher... matchers)
IListHasItemsAssert 复制的描述#match(ItemsMode.AllItems, MatchMode.MatchAll, Matcher, Matcher...)
IListHasItemsAssert<E extends IAssert> 中的 allItemsMatchAll
public E allItemsMatchAny(Matcher matcher,
Matcher... matchers)
IListHasItemsAssert 复制的描述#match(ItemsMode.AllItems, MatchMode.MatchAny, Matcher, Matcher...)
IListHasItemsAssert<E extends IAssert> 中的 allItemsMatchAny
public E anyItemsMatchAll(Matcher matcher,
Matcher... matchers)
IListHasItemsAssert 复制的描述#match(ItemsMode.AnyItems, MatchMode.MatchAll, Matcher, Matcher...)
IListHasItemsAssert<E extends IAssert> 中的 anyItemsMatchAll
public E anyItemsMatchAny(Matcher matcher,
Matcher... matchers)
IListHasItemsAssert 复制的描述#match(ItemsMode.AnyItems, MatchMode.MatchAny, Matcher, Matcher...)
IListHasItemsAssert<E extends IAssert> 中的 anyItemsMatchAny
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||